tgbot-cpp
Loading...
Searching...
No Matches
ReplyParameters.h
Go to the documentation of this file.
1#ifndef TGBOT_REPLYPARAMETERS_H
2#define TGBOT_REPLYPARAMETERS_H
3
5
6#include <cstdint>
7#include <memory>
8#include <string>
9#include <vector>
10
11namespace TgBot {
12
19
20public:
21 typedef std::shared_ptr<ReplyParameters> Ptr;
22
26 std::int32_t messageId;
27
33 std::int64_t chatId;
34
42
49 std::string quote;
50
56 std::string quoteParseMode;
57
63 std::vector<MessageEntity::Ptr> quoteEntities;
64
68 std::int32_t quotePosition;
69};
70}
71
72#endif //TGBOT_REPLYPARAMETERS_H
Describes reply parameters for the message that is being sent.
std::int32_t quotePosition
Optional. Position of the quote in the original message in UTF-16 code units.
std::int64_t chatId
Optional. If the message to be replied to is from a different chat, unique identifier for the chat or...
std::int32_t messageId
Identifier of the message that will be replied to in the current chat, or in the chat chatId if it is...
std::string quote
Optional. Quoted part of the message to be replied to; 0-1024 characters after entities parsing.
std::vector< MessageEntity::Ptr > quoteEntities
Optional. A JSON-serialized list of special entities that appear in the quote.
std::string quoteParseMode
Optional. Mode for parsing entities in the quote.
bool allowSendingWithoutReply
Optional. Pass True if the message should be sent even if the specified message to be replied to is n...
std::shared_ptr< ReplyParameters > Ptr
Definition Api.h:40