telegram.ShippingOption

class telegram.ShippingOption(id, title, prices, **kwargs)

Bases: telegram.base.TelegramObject

This object represents one shipping option.

id

str – Shipping option identifier.

title

str – Option title.

prices

List[telegram.LabeledPrice] – List of price portions.

Parameters:
  • id (str) – Shipping option identifier.
  • title (str) – Option title.
  • prices (List[telegram.LabeledPrice]) – List of price portions.
  • **kwargs (dict) – Arbitrary keyword arguments.