Skip to content

export Class

PreCheckoutQuery ​

extends ​

BaseClass<PreCheckoutQuery, PreCheckoutQueryPacket>

implements ​

PreCheckoutQueryPacket

Constructor ​

ts
 new PreCheckoutQuery( client, packet )
ParameterTypeDescription
clientClient
packetPreCheckoutQuery

Properties ​

get user : User ​

readonly client : Client ​

currency : string ​

from? : UserPacket ​

id : string ​

invoice_payload : string ​

order_info? : OrderInfo ​

shipping_option_id? : string ​

total_amount : number ​

Methods ​

asyncnotOk( error_message ) ​

ParameterTypeDescription
error_messagestring

Returns: Promise<boolean>

asyncok( ) ​

Returns: Promise<boolean>

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