ShippingOption

data class ShippingOption(id: String, title: String, prices: List<LabeledPrice>) : TelegramModel

This object represents one shipping option.

Constructors

ShippingOption
Link copied to clipboard
fun ShippingOption(id: String, title: String, prices: List<LabeledPrice>)
Creates a ShippingOption.

Properties

id
Link copied to clipboard
val id: String
Shipping option identifier
prices
Link copied to clipboard
val prices: List<LabeledPrice>
List of price portions
title
Link copied to clipboard
val title: String
Option title