ExGram.Model.ShippingAddress (ex_gram v0.64.0)

Copy Markdown View Source

This object represents a shipping address.

Check the documentation of this model on Telegram Bot API

  • country_code: Two-letter ISO 3166-1 alpha-2 country code
  • state: State, if applicable
  • city: City
  • street_line1: First line for the address
  • street_line2: Second line for the address
  • post_code: Address post code

Summary

Types

t()

@type t() :: %ExGram.Model.ShippingAddress{
  city: String.t(),
  country_code: String.t(),
  post_code: String.t(),
  state: String.t(),
  street_line1: String.t(),
  street_line2: String.t()
}

Functions

decode_as()