Arguments for Api::setMessageReaction.
More...
#include <Types.h>
|
| std::variant< std::int64_t, std::string > | chatId { } |
| | Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
|
| std::uint32_t | messageId { } |
| | Identifier of the target message. If the message belongs to a media group, the reaction is set to the first non-deleted message in the group instead.
|
| std::vector< std::shared_ptr< ReactionType > > | reaction = { } |
| | A JSON-serialized list of reaction types to set on the message. Currently, as non-premium users, bots can set up to one reaction per message. A custom emoji reaction can be used if it is either already present on the message or explicitly allowed by chat administrators. Paid reactions can't be used by bots.
|
| bool | isBig = false |
| | Pass True to set the reaction with a big animation.
|
Arguments for Api::setMessageReaction.
Definition at line 21792 of file Types.h.
◆ chatId
| std::variant<std::int64_t, std::string> TgBot::SetMessageReactionArgs::chatId { } |
Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username.
Definition at line 21797 of file Types.h.
◆ isBig
| bool TgBot::SetMessageReactionArgs::isBig = false |
Pass True to set the reaction with a big animation.
Definition at line 21818 of file Types.h.
◆ messageId
| std::uint32_t TgBot::SetMessageReactionArgs::messageId { } |
Identifier of the target message. If the message belongs to a media group, the reaction is set to the first non-deleted message in the group instead.
Definition at line 21804 of file Types.h.
◆ reaction
| std::vector<std::shared_ptr<ReactionType> > TgBot::SetMessageReactionArgs::reaction = { } |
A JSON-serialized list of reaction types to set on the message. Currently, as non-premium users, bots can set up to one reaction per message. A custom emoji reaction can be used if it is either already present on the message or explicitly allowed by chat administrators. Paid reactions can't be used by bots.
Definition at line 21813 of file Types.h.
The documentation for this struct was generated from the following file: