telegram.ShippingOption

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

Bases: telegram.base.TelegramObject

This object represents one shipping option.

id

Shipping option identifier.

Type:str
title

Option title.

Type:str
prices

List of price portions.

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