Class ShippingOption
This object contains information about an incoming pre-checkout query.
Inheritance
System.Object
ShippingOption
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TelegramBotApi.Types.Payment
Assembly: TelegramBotApi.dll
Syntax
[JsonObject(MemberSerialization = MemberSerialization.OptIn, ItemNullValueHandling = NullValueHandling.Ignore)]
public class ShippingOption
Properties
| Improve this Doc View SourceId
Shipping option identifier
Declaration
[JsonProperty(PropertyName = "id", Required = Required.Always)]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Prices
List of price portions
Declaration
[JsonProperty(PropertyName = "prices, Required = Required.Always")]
public LabeledPrice[] Prices { get; set; }
Property Value
Type | Description |
---|---|
LabeledPrice[] |
Title
Option title
Declaration
[JsonProperty(PropertyName = "title", Required = Required.Always)]
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String |