Protected
_clientProtected
_sourceSender
Type of the chat from which the inline query was sent
Unique identifier for this query
Offset of the results to be returned, can be controlled by the bot
Text of the query (up to 256 characters)
Internal implementation of the answer method
Optional
params: Partial<IAnswerInlineQueryParams>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
Sender location, only for bots that request user location