peyk.platforms.telegram.types.shipping_address

Classes

ShippingAddress(country_code, state, city, ...)

This object represents a shipping address.

class peyk.platforms.telegram.types.shipping_address.ShippingAddress(country_code: str, state: str, city: str, street_line1: str, street_line2: str, post_code: str)[source]

Bases: object

This object represents a shipping address.

Variables:
  • country_code (str) – Two-letter 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

country_code: str
state: str
city: str
street_line1: str
street_line2: str
post_code: str
classmethod from_dict(data: dict | None) ShippingAddress | None[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the operation.