Skip to content

export Class

ShippingQuery ​

extends ​

BaseClass<ShippingQuery, ShippingQueryPacket>

implements ​

ShippingQueryPacket

Constructor ​

ts
 new ShippingQuery( client, packet )
ParameterTypeDescription
clientClient
packetShippingQuery

Properties ​

get user : User ​

readonly client : Client ​

from? : UserPacket ​

id : string ​

invoice_payload : string ​

shipping_address : ShippingAddress ​

Methods ​

asyncnotOk( error_message ) ​

ParameterTypeDescription
error_messagestring

Returns: Promise<boolean>

asyncok( shipping_options ) ​

ParameterTypeDescription
shipping_optionsShippingOptions

Returns: Promise<boolean>

A modern, powerful library for building your Telegram bots, with seamless support for both JavaScript and Typescript.