Skip to content

GramIO API Reference / @gramio/contexts/dist / ShippingAddress

Class: ShippingAddress

Defined in: contexts/index.d.ts:2865

This object represents a shipping address.

Constructors

Constructor

new ShippingAddress(payload): ShippingAddress

Defined in: contexts/index.d.ts:2867

Parameters

ParameterType
payloadTelegramShippingAddress

Returns

ShippingAddress

Properties

PropertyTypeDefined in
payloadTelegramShippingAddresscontexts/index.d.ts:2866

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

Defined in: contexts/index.d.ts:2869

MDN

Returns

string


city

Get Signature

get city(): string

Defined in: contexts/index.d.ts:2875

City

Returns

string


countryCode

Get Signature

get countryCode(): string

Defined in: contexts/index.d.ts:2871

ISO 3166-1 alpha-2 country code

Returns

string


firstStreetLine

Get Signature

get firstStreetLine(): string

Defined in: contexts/index.d.ts:2877

First line for the address

Returns

string


postCode

Get Signature

get postCode(): string

Defined in: contexts/index.d.ts:2881

Address post code

Returns

string


secondStreetLine

Get Signature

get secondStreetLine(): string

Defined in: contexts/index.d.ts:2879

Second line for the address

Returns

string


state

Get Signature

get state(): string

Defined in: contexts/index.d.ts:2873

State, if applicable

Returns

string