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
andshipping_address
are equal.- Parameters:
phone_number (
str
, optional) – User’s phone number.shipping_address (
telegram.ShippingAddress
, optional) – User shipping address.