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.
More...
#include <Types.h>
|
| std::string | widgetId { } |
| | Unique identifier of the shared widget created by the bot.
|
| std::optional< std::string > | chatData { } |
| | Optional. Data of the widget, which is specific to the message, 0-1024 bytes.
|
| std::optional< std::string > | caption { } |
| | Optional. Widget caption, 0-1024 characters after entities parsing.
|
| std::optional< std::string > | parseMode { } |
| | Optional. Mode for parsing entities in the widget caption. See formatting options for more details.
|
| std::optional< std::vector< std::shared_ptr< MessageEntity > > > | captionEntities { } |
| | Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode.
|
| std::optional< bool > | showCaptionAboveMedia { } |
| | Optional. Pass True if the caption must be shown above the widget.
|
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.
Definition at line 7619 of file Types.h.
◆ Ptr
◆ caption
| std::optional<std::string> TgBot::InputSharedWidgetMessageContent::caption { } |
Optional. Widget caption, 0-1024 characters after entities parsing.
Definition at line 7633 of file Types.h.
◆ captionEntities
| std::optional<std::vector<std::shared_ptr<MessageEntity> > > TgBot::InputSharedWidgetMessageContent::captionEntities { } |
Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode.
Definition at line 7643 of file Types.h.
◆ chatData
| std::optional<std::string> TgBot::InputSharedWidgetMessageContent::chatData { } |
Optional. Data of the widget, which is specific to the message, 0-1024 bytes.
Definition at line 7629 of file Types.h.
◆ parseMode
| std::optional<std::string> TgBot::InputSharedWidgetMessageContent::parseMode { } |
Optional. Mode for parsing entities in the widget caption. See formatting options for more details.
Definition at line 7638 of file Types.h.
◆ showCaptionAboveMedia
| std::optional<bool> TgBot::InputSharedWidgetMessageContent::showCaptionAboveMedia { } |
Optional. Pass True if the caption must be shown above the widget.
Definition at line 7647 of file Types.h.
◆ widgetId
| std::string TgBot::InputSharedWidgetMessageContent::widgetId { } |
Unique identifier of the shared widget created by the bot.
Definition at line 7625 of file Types.h.
The documentation for this struct was generated from the following file: