Data about the represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results
Sender
Unique identifier for this query
Optional
locationSender location, only for bots that request user location
Offset of the results to be returned, can be controlled by the bot
Text of the query (up to 256 characters)
Optional
typeType of the chat from which the inline query was sent. Can be either “sender” for a private chat with the inline query sender, “private”, “group”, “supergroup”, or “channel”. The chat type should be always known for requests sent from official clients and most third-party clients, unless the request was sent from a secret chat
The client that instantiated this
Protected
_cloneProtected
_patchProtected
_updateUse this method to send answers to an inline query.
An array of results for the inline query
Optional
options: Omit<{ out parameters
On success, True is returned.
Flatten an object. Any properties that are collections will get converted to an array of keys.
Optional
propsRecursive: booleanOptional. If true, calls toJSON method on nested objects.
Rest
...props: Record<string, string | boolean>[]Optional. Specific properties to include/exclude, or rename.
Flattened object.
The client that instantiated this