Unique identifier of the chosen result,
as set in InputInlineResult.id
Identifier of the sent inline message,
which can be used in TelegramClient.editInlineMessage
Note: this is only available in case the
InputInlineMessage
contained a reply keyboard markup.
Identifier of the sent inline message as a TDLib and Bot API compatible string. Can be used instead of messageId in case you want to store it in some storage.
Note: this is only available in case the
InputInlineMessage
contained a reply keyboard markup.
The query that was previously sent by the user, which was used to obtain this result
Edit the message that was sent when this inline result that was chosen.
Note: This method can only be used if the message contained a reply markup
Optional
disableWhether to disable links preview in this message
Optional
invertWhether to invert media position.
Currently only supported for web previews and makes the client render the preview above the caption and not below.
Optional
media?: InputMediaLikeNew message media
Inline message ID, either as a TL object, or as a TDLib and Bot API compatible string
Optional
progressFor media, upload progress callback.
Number of bytes uploaded
Total file size in bytes
Optional
replyFor bots: new reply markup. If omitted, existing markup will be removed.
Optional
text?: InputTextNew message text
When media
is passed, media.caption
is used instead
Context of a chosen inline result update.
This is a subclass of ChosenInlineResult, so all its fields are also available.