Protected
_clientProtected
_sourceThe unique identifier for the shipping query
The invoice payload associated with the shipping query
The shipping address associated with the shipping query
Answer the shipping query
Whether the query was successful
Optional
params: Partial<IAnswerShippingQueryParams>Additional parameters for the response
A Promise that resolves with a boolean indicating success or failure
Converts the source object to a context object of a given type.
client.updates.on("message", message => {
const user = message.user.toContext<CustomUserContext>();
// Now user works correctly with your context
})
Generic type parameter for the context object.
The context object.
Generated using TypeDoc
The user who sent the shipping query