tgbot-cpp
|
This object contains information about a message that is being replied to, which may come from another chat or forum topic. More...
#include <ExternalReplyInfo.h>
Public Types | |
typedef std::shared_ptr< ExternalReplyInfo > | Ptr |
Public Attributes | |
MessageOrigin::Ptr | origin |
Origin of the message replied to by the given message. | |
Chat::Ptr | chat |
Optional. Chat the original message belongs to. | |
std::int32_t | messageId |
Optional. Unique message identifier inside the original chat. | |
LinkPreviewOptions::Ptr | linkPreviewOptions |
Optional. Options used for link preview generation for the original message, if it is a text message. | |
Animation::Ptr | animation |
Optional. Message is an animation, information about the animation. | |
Audio::Ptr | audio |
Optional. Message is an audio file, information about the file. | |
Document::Ptr | document |
Optional. Message is a general file, information about the file. | |
std::vector< PhotoSize::Ptr > | photo |
Optional. Message is a photo, available sizes of the photo. | |
Sticker::Ptr | sticker |
Optional. Message is a sticker, information about the sticker. | |
Story::Ptr | story |
Optional. Message is a forwarded story. | |
Video::Ptr | video |
Optional. Message is a video, information about the video. | |
VideoNote::Ptr | videoNote |
Optional. Message is a video note, information about the video message. | |
Voice::Ptr | voice |
Optional. Message is a voice message, information about the file. | |
bool | hasMediaSpoiler |
Optional. True, if the message media is covered by a spoiler animation. | |
Contact::Ptr | contact |
Optional. Message is a shared contact, information about the contact. | |
Dice::Ptr | dice |
Optional. Message is a dice with random value. | |
Game::Ptr | game |
Optional. Message is a game, information about the game. | |
Giveaway::Ptr | giveaway |
Optional. Message is a scheduled giveaway, information about the giveaway. | |
GiveawayWinners::Ptr | giveawayWinners |
Optional. A giveaway with public winners was completed. | |
Invoice::Ptr | invoice |
Optional. Message is an invoice for a payment, information about the invoice. | |
Location::Ptr | location |
Optional. Message is a shared location, information about the location. | |
Poll::Ptr | poll |
Optional. Message is a native poll, information about the poll. | |
Venue::Ptr | venue |
Optional. Message is a venue, information about the venue. | |
This object contains information about a message that is being replied to, which may come from another chat or forum topic.
Definition at line 37 of file ExternalReplyInfo.h.
typedef std::shared_ptr<ExternalReplyInfo> TgBot::ExternalReplyInfo::Ptr |
Definition at line 40 of file ExternalReplyInfo.h.
Animation::Ptr TgBot::ExternalReplyInfo::animation |
Optional. Message is an animation, information about the animation.
Definition at line 69 of file ExternalReplyInfo.h.
Audio::Ptr TgBot::ExternalReplyInfo::audio |
Optional. Message is an audio file, information about the file.
Definition at line 74 of file ExternalReplyInfo.h.
Chat::Ptr TgBot::ExternalReplyInfo::chat |
Optional. Chat the original message belongs to.
Available only if the chat is a supergroup or a channel.
Definition at line 52 of file ExternalReplyInfo.h.
Contact::Ptr TgBot::ExternalReplyInfo::contact |
Optional. Message is a shared contact, information about the contact.
Definition at line 119 of file ExternalReplyInfo.h.
Dice::Ptr TgBot::ExternalReplyInfo::dice |
Optional. Message is a dice with random value.
Definition at line 124 of file ExternalReplyInfo.h.
Document::Ptr TgBot::ExternalReplyInfo::document |
Optional. Message is a general file, information about the file.
Definition at line 79 of file ExternalReplyInfo.h.
Game::Ptr TgBot::ExternalReplyInfo::game |
Optional. Message is a game, information about the game.
Definition at line 131 of file ExternalReplyInfo.h.
Giveaway::Ptr TgBot::ExternalReplyInfo::giveaway |
Optional. Message is a scheduled giveaway, information about the giveaway.
Definition at line 136 of file ExternalReplyInfo.h.
GiveawayWinners::Ptr TgBot::ExternalReplyInfo::giveawayWinners |
Optional. A giveaway with public winners was completed.
Definition at line 141 of file ExternalReplyInfo.h.
bool TgBot::ExternalReplyInfo::hasMediaSpoiler |
Optional. True, if the message media is covered by a spoiler animation.
Definition at line 114 of file ExternalReplyInfo.h.
Invoice::Ptr TgBot::ExternalReplyInfo::invoice |
Optional. Message is an invoice for a payment, information about the invoice.
Definition at line 148 of file ExternalReplyInfo.h.
LinkPreviewOptions::Ptr TgBot::ExternalReplyInfo::linkPreviewOptions |
Optional. Options used for link preview generation for the original message, if it is a text message.
Definition at line 64 of file ExternalReplyInfo.h.
Location::Ptr TgBot::ExternalReplyInfo::location |
Optional. Message is a shared location, information about the location.
Definition at line 153 of file ExternalReplyInfo.h.
std::int32_t TgBot::ExternalReplyInfo::messageId |
Optional. Unique message identifier inside the original chat.
Available only if the original chat is a supergroup or a channel.
Definition at line 59 of file ExternalReplyInfo.h.
MessageOrigin::Ptr TgBot::ExternalReplyInfo::origin |
Origin of the message replied to by the given message.
Definition at line 45 of file ExternalReplyInfo.h.
std::vector<PhotoSize::Ptr> TgBot::ExternalReplyInfo::photo |
Optional. Message is a photo, available sizes of the photo.
Definition at line 84 of file ExternalReplyInfo.h.
Poll::Ptr TgBot::ExternalReplyInfo::poll |
Optional. Message is a native poll, information about the poll.
Definition at line 158 of file ExternalReplyInfo.h.
Sticker::Ptr TgBot::ExternalReplyInfo::sticker |
Optional. Message is a sticker, information about the sticker.
Definition at line 89 of file ExternalReplyInfo.h.
Story::Ptr TgBot::ExternalReplyInfo::story |
Optional. Message is a forwarded story.
Definition at line 94 of file ExternalReplyInfo.h.
Venue::Ptr TgBot::ExternalReplyInfo::venue |
Optional. Message is a venue, information about the venue.
Definition at line 163 of file ExternalReplyInfo.h.
Video::Ptr TgBot::ExternalReplyInfo::video |
Optional. Message is a video, information about the video.
Definition at line 99 of file ExternalReplyInfo.h.
VideoNote::Ptr TgBot::ExternalReplyInfo::videoNote |
Optional. Message is a video note, information about the video message.
Definition at line 104 of file ExternalReplyInfo.h.
Voice::Ptr TgBot::ExternalReplyInfo::voice |
Optional. Message is a voice message, information about the file.
Definition at line 109 of file ExternalReplyInfo.h.