OrderInfo

class telegram.OrderInfo(name=None, phone_number=None, email=None, shipping_address=None, *, api_kwargs=None)[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=None)[source]

See telegram.TelegramObject.de_json().