telegram.ShippingAddress

class telegram.ShippingAddress(country_code, state, city, street_line1, street_line2, post_code, **kwargs)

Bases: telegram.base.TelegramObject

This object represents a Telegram ShippingAddress.

country_code

str – ISO 3166-1 alpha-2 country code.

state

str – State, if applicable.

city

str – City.

street_line1

str – First line for the address.

street_line2

str – Second line for the address.

post_code

str – Address post code.

Parameters:
  • country_code (str) – ISO 3166-1 alpha-2 country code.
  • state (str) – State, if applicable.
  • city (str) – City.
  • street_line1 (str) – First line for the address.
  • street_line2 (str) – Second line for the address.
  • post_code (str) – Address post code.
  • **kwargs (dict) – Arbitrary keyword arguments.