telegram.ShippingOption

class telegram.ShippingOption(*args, **kwargs)[source]

Bases: telegram.TelegramObject

This object represents one shipping option.

Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their id is equal.

Parameters
id[source]

Shipping option identifier.

Type

str

title[source]

Option title.

Type

str

prices[source]

List of price portions.

Type

List[telegram.LabeledPrice]

to_dict()[source]

See telegram.TelegramObject.to_dict().