InputSharedWidgetMessageContent
Represents the content of a message with a shared widget to be sent as the result of an inline query. Currently, widgets can’t be sent in response to inline queries in the production environment.
Properties
widget_id
ts
widget_id: string;Unique identifier of the shared widget created by the bot
chat_data
ts
chat_data?: string;Data of the widget, which is specific to the message, 0-1024 bytes
caption
ts
caption?: string;Widget caption, 0-1024 characters after entities parsing
parse_mode
ts
parse_mode?: ParseMode;Mode for parsing entities in the widget caption. See formatting options for more details.
caption_entities
ts
caption_entities?: MessageEntity[];List of special entities that appear in the caption, which can be specified instead of parse_mode
show_caption_above_media
ts
show_caption_above_media?: boolean;Pass True if the caption must be shown above the widget