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
OptionallocationSender 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)
OptionaltypeType 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_Protected_ProtectedPatches the current instance with new data
The data to patch the instance with
The patched data
Protected_ProtectedUpdates the current instance with new data and returns a clone of the updated instance
The data to update the instance with
A clone of the updated instance
Use this method to send answers to an inline query.
An array of results for the inline query
Optionaloptions: Omit<out parameters
On success, True is returned.
Flatten an object. Any properties that are collections will get converted to an array of keys.
OptionalpropsRecursive: booleanOptional. If true, calls toJSON method on nested objects.
Optional. Specific properties to include/exclude, or rename.
Flattened object.
Returns the id instance Chat, User, ChatMember and other
The client that instantiated this