|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
This object contains information about a message that is being replied to, which may come from another chat or forum topic. https://core.telegram.org/bots/api#externalreplyinfo. More...
#include <ExternalReplyInfo.hpp>
Public Member Functions | |
| ExternalReplyInfo ()=default | |
| ExternalReplyInfo (const nl::json &json) | |
| nl::json | toJson () const |
| Serializes this object to JSON. | |
| void | fromJson (const nl::json &json) |
| Deserializes this object from JSON. | |
Public Attributes | |
| Ptr< MessageOrigin > | origin |
| Origin of the message replied to by the given message. | |
| Ptr< Chat > | chat |
| Optional. Chat the original message belongs to. Available only if the chat is a supergroup or a channel. | |
| std::int32_t | messageId {} |
| Optional. Unique message identifier inside the original chat. Available only if the original chat is a supergroup or a channel. | |
| Ptr< LinkPreviewOptions > | linkPreviewOptions |
| Optional. Options used for link preview generation for the original message, if it is a text message. | |
| Ptr< Animation > | animation |
| Optional. Message is an animation, information about the animation. | |
| Ptr< Audio > | audio |
| Optional. Message is an audio file, information about the file. | |
| Ptr< Document > | document |
| Optional. Message is a general file, information about the file. | |
| Ptr< PaidMediaInfo > | paidMedia |
| Optional. Message contains paid media; information about the paid media. | |
| std::vector< Ptr< PhotoSize > > | photo |
| Optional. Message is a photo, available sizes of the photo. | |
| Ptr< Sticker > | sticker |
| Optional. Message is a sticker, information about the sticker. | |
| Ptr< Story > | story |
| Optional. Message is a forwarded story. | |
| Ptr< Video > | video |
| Optional. Message is a video, information about the video. | |
| Ptr< VideoNote > | videoNote |
| Optional. Message is a video note, information about the video message. | |
| Ptr< Voice > | 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. | |
| Ptr< Checklist > | checklist |
| Optional. Message is a checklist. | |
| Ptr< Contact > | contact |
| Optional. Message is a shared contact, information about the contact. | |
| Ptr< Dice > | dice |
| Optional. Message is a dice with random value. | |
| Ptr< Game > | game |
| Optional. Message is a game, information about the game. about games » https://core.telegram.org/bots/api#games . | |
| Ptr< Giveaway > | giveaway |
| Optional. Message is a scheduled giveaway, information about the giveaway. | |
| Ptr< GiveawayWinners > | giveawayWinners |
| Optional. A giveaway with public winners was completed. | |
| Ptr< Invoice > | invoice |
| Optional. Message is an invoice for a payment, information about the invoice. about payments » https://core.telegram.org/bots/api#payments . | |
| Ptr< Location > | location |
| Optional. Message is a shared location, information about the location. | |
| Ptr< Poll > | poll |
| Optional. Message is a native poll, information about the poll. | |
| Ptr< Venue > | 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. https://core.telegram.org/bots/api#externalreplyinfo.
Definition at line 30 of file ExternalReplyInfo.hpp.
|
default |
|
inlineexplicit |
Definition at line 32 of file ExternalReplyInfo.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 146 of file ExternalReplyInfo.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 115 of file ExternalReplyInfo.hpp.
Optional. Message is an animation, information about the animation.
Definition at line 49 of file ExternalReplyInfo.hpp.
Optional. Message is an audio file, information about the file.
Definition at line 52 of file ExternalReplyInfo.hpp.
Optional. Chat the original message belongs to. Available only if the chat is a supergroup or a channel.
Definition at line 40 of file ExternalReplyInfo.hpp.
Optional. Message is a checklist.
Definition at line 82 of file ExternalReplyInfo.hpp.
Optional. Message is a shared contact, information about the contact.
Definition at line 85 of file ExternalReplyInfo.hpp.
Optional. Message is a dice with random value.
Definition at line 88 of file ExternalReplyInfo.hpp.
Optional. Message is a general file, information about the file.
Definition at line 55 of file ExternalReplyInfo.hpp.
Optional. Message is a game, information about the game. about games » https://core.telegram.org/bots/api#games .
Definition at line 92 of file ExternalReplyInfo.hpp.
Optional. Message is a scheduled giveaway, information about the giveaway.
Definition at line 95 of file ExternalReplyInfo.hpp.
| Ptr<GiveawayWinners> tgbotxx::ExternalReplyInfo::giveawayWinners |
Optional. A giveaway with public winners was completed.
Definition at line 98 of file ExternalReplyInfo.hpp.
| bool tgbotxx::ExternalReplyInfo::hasMediaSpoiler {} |
Optional. True, if the message media is covered by a spoiler animation.
Definition at line 79 of file ExternalReplyInfo.hpp.
Optional. Message is an invoice for a payment, information about the invoice. about payments » https://core.telegram.org/bots/api#payments .
Definition at line 102 of file ExternalReplyInfo.hpp.
| Ptr<LinkPreviewOptions> tgbotxx::ExternalReplyInfo::linkPreviewOptions |
Optional. Options used for link preview generation for the original message, if it is a text message.
Definition at line 46 of file ExternalReplyInfo.hpp.
Optional. Message is a shared location, information about the location.
Definition at line 105 of file ExternalReplyInfo.hpp.
| std::int32_t tgbotxx::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 43 of file ExternalReplyInfo.hpp.
| Ptr<MessageOrigin> tgbotxx::ExternalReplyInfo::origin |
Origin of the message replied to by the given message.
Definition at line 37 of file ExternalReplyInfo.hpp.
| Ptr<PaidMediaInfo> tgbotxx::ExternalReplyInfo::paidMedia |
Optional. Message contains paid media; information about the paid media.
Definition at line 58 of file ExternalReplyInfo.hpp.
Optional. Message is a photo, available sizes of the photo.
Definition at line 61 of file ExternalReplyInfo.hpp.
Optional. Message is a native poll, information about the poll.
Definition at line 108 of file ExternalReplyInfo.hpp.
Optional. Message is a sticker, information about the sticker.
Definition at line 64 of file ExternalReplyInfo.hpp.
Optional. Message is a forwarded story.
Definition at line 67 of file ExternalReplyInfo.hpp.
Optional. Message is a venue, information about the venue.
Definition at line 111 of file ExternalReplyInfo.hpp.
Optional. Message is a video, information about the video.
Definition at line 70 of file ExternalReplyInfo.hpp.
Optional. Message is a video note, information about the video message.
Definition at line 73 of file ExternalReplyInfo.hpp.
Optional. Message is a voice message, information about the file.
Definition at line 76 of file ExternalReplyInfo.hpp.