ShippingAddress

class telegram.ShippingAddress(country_code, state, city, street_line1, street_line2, post_code, *, api_kwargs=None)[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 and post_code are equal.

Parameters:
country_code[source]

ISO 3166-1 alpha-2 country code.

Type:

str

state[source]

State, if applicable.

Type:

str

city[source]

City.

Type:

str

street_line1[source]

First line for the address.

Type:

str

street_line2[source]

Second line for the address.

Type:

str

post_code[source]

Address post code.

Type:

str