telegram.ShippingAddress¶
- class telegram.ShippingAddress(*args, **kwargs)[source]¶
Bases:
telegram.TelegramObject
This object represents a Telegram ShippingAddress.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
country_code
,state
,city
,street_line1
,street_line2
andpost_code
are equal.- Parameters
country_code (
str
) – ISO 3166-1 alpha-2 country code.street_line1 (
str
) – First line for the address.street_line2 (
str
) – Second line for the address.