telegram.OrderInfo#

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

Bases: telegram.TelegramObject

This object represents information about an order.

Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their name, phone_number, email and shipping_address are equal.

Parameters
name[source]#

Optional. User name.

Type

str

phone_number[source]#

Optional. User’s phone number.

Type

str

email[source]#

Optional. User email.

Type

str

shipping_address[source]#

Optional. User shipping address.

Type

telegram.ShippingAddress

classmethod de_json(data, bot)[source]#

See telegram.TelegramObject.de_json().