Arguments for Api::forwardMessages.
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::variant< std::int64_t, std::string > | fromChatId { } |
| | Unique identifier for the chat where the original messages were sent (or username of the target bot, supergroup or channel in the format @username).
|
| std::vector< std::int32_t > | messageIds { } |
| | A JSON-serialized list of 1-100 identifiers of messages in the chat from_chat_id to forward. The identifiers must be specified in a strictly increasing order.
|
| std::int32_t | messageThreadId = 0 |
| | Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only.
|
| bool | disableNotification = false |
| | Sends the messages silently. Users will receive a notification with no sound.
|
| bool | protectContent = false |
| | Protects the contents of the forwarded messages from forwarding and saving.
|
| std::int64_t | directMessagesTopicId = 0 |
| | Identifier of the direct messages topic to which the messages will be forwarded; required if the messages are forwarded to a direct messages chat.
|
Arguments for Api::forwardMessages.
Definition at line 16228 of file Types.h.
◆ chatId
| std::variant<std::int64_t, std::string> TgBot::ForwardMessagesArgs::chatId { } |
Unique identifier for the target chat or username of the target bot, supergroup or channel in the format @username.
Definition at line 16233 of file Types.h.
◆ directMessagesTopicId
| std::int64_t TgBot::ForwardMessagesArgs::directMessagesTopicId = 0 |
Identifier of the direct messages topic to which the messages will be forwarded; required if the messages are forwarded to a direct messages chat.
Definition at line 16273 of file Types.h.
◆ disableNotification
| bool TgBot::ForwardMessagesArgs::disableNotification = false |
Sends the messages silently. Users will receive a notification with no sound.
Definition at line 16260 of file Types.h.
◆ fromChatId
| std::variant<std::int64_t, std::string> TgBot::ForwardMessagesArgs::fromChatId { } |
Unique identifier for the chat where the original messages were sent (or username of the target bot, supergroup or channel in the format @username).
Definition at line 16240 of file Types.h.
◆ messageIds
| std::vector<std::int32_t> TgBot::ForwardMessagesArgs::messageIds { } |
A JSON-serialized list of 1-100 identifiers of messages in the chat from_chat_id to forward. The identifiers must be specified in a strictly increasing order.
Definition at line 16247 of file Types.h.
◆ messageThreadId
| std::int32_t TgBot::ForwardMessagesArgs::messageThreadId = 0 |
Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only.
Definition at line 16254 of file Types.h.
◆ protectContent
| bool TgBot::ForwardMessagesArgs::protectContent = false |
Protects the contents of the forwarded messages from forwarding and saving.
Definition at line 16266 of file Types.h.
The documentation for this struct was generated from the following file: