ShippingAddress

data class ShippingAddress(country_code: String, state: String, city: String, street_line1: String, street_line2: String, post_code: String) : TelegramModel

This object represents a shipping address.

Constructors

ShippingAddress
Link copied to clipboard
fun ShippingAddress(country_code: String, state: String, city: String, street_line1: String, street_line2: String, post_code: String)
Creates a ShippingAddress.

Properties

city
Link copied to clipboard
val city: String
City
country_code
Link copied to clipboard
val country_code: String
ISO 3166-1 alpha-2 country code
post_code
Link copied to clipboard
val post_code: String
Address post code
state
Link copied to clipboard
val state: String
State, if applicable
street_line1
Link copied to clipboard
val street_line1: String
First line for the address
street_line2
Link copied to clipboard
val street_line2: String
Second line for the address