tgbot-cpp
Loading...
Searching...
No Matches
TgBot::ExternalReplyInfo Struct Reference

This object contains information about a message that is being replied to, which may come from another chat or forum topic. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<ExternalReplyInfo>

Public Attributes

std::shared_ptr< MessageOriginorigin { }
 Origin of the message replied to by the given message.
std::shared_ptr< Chatchat { }
 Optional. Chat the original message belongs to. Available only if the chat is a supergroup or a channel.
std::optional< std::int32_t > messageId { }
 Optional. Unique message identifier inside the original chat. Available only if the original chat is a supergroup or a channel.
std::shared_ptr< LinkPreviewOptionslinkPreviewOptions { }
 Optional. Options used for link preview generation for the original message, if it is a text message.
std::shared_ptr< Animationanimation { }
 Optional. Message is an animation, information about the animation.
std::shared_ptr< Audioaudio { }
 Optional. Message is an audio file, information about the file.
std::shared_ptr< Documentdocument { }
 Optional. Message is a general file, information about the file.
std::shared_ptr< LivePhotolivePhoto { }
 Optional. Message is a live photo, information about the live photo.
std::shared_ptr< PaidMediaInfopaidMedia { }
 Optional. Message contains paid media; information about the paid media.
std::optional< std::vector< std::shared_ptr< PhotoSize > > > photo { }
 Optional. Message is a photo, available sizes of the photo.
std::shared_ptr< Stickersticker { }
 Optional. Message is a sticker, information about the sticker.
std::shared_ptr< Storystory { }
 Optional. Message is a forwarded story.
std::shared_ptr< Videovideo { }
 Optional. Message is a video, information about the video.
std::shared_ptr< VideoNotevideoNote { }
 Optional. Message is a video note, information about the video message.
std::shared_ptr< Voicevoice { }
 Optional. Message is a voice message, information about the file.
std::optional< bool > hasMediaSpoiler { }
 Optional. True, if the message media is covered by a spoiler animation.
std::shared_ptr< Checklistchecklist { }
 Optional. Message is a checklist.
std::shared_ptr< Contactcontact { }
 Optional. Message is a shared contact, information about the contact.
std::shared_ptr< Dicedice { }
 Optional. Message is a dice with random value.
std::shared_ptr< Gamegame { }
 Optional. Message is a game, information about the game. More about games »
std::shared_ptr< Giveawaygiveaway { }
 Optional. Message is a scheduled giveaway, information about the giveaway.
std::shared_ptr< GiveawayWinnersgiveawayWinners { }
 Optional. A giveaway with public winners was completed.
std::shared_ptr< Invoiceinvoice { }
 Optional. Message is an invoice for a payment, information about the invoice. More about payments »
std::shared_ptr< Locationlocation { }
 Optional. Message is a shared location, information about the location.
std::shared_ptr< Pollpoll { }
 Optional. Message is a native poll, information about the poll.
std::shared_ptr< Venuevenue { }
 Optional. Message is a venue, information about the venue.

Detailed Description

This object contains information about a message that is being replied to, which may come from another chat or forum topic.

Definition at line 3490 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 3491 of file Types.h.

Member Data Documentation

◆ animation

std::shared_ptr<Animation> TgBot::ExternalReplyInfo::animation { }

Optional. Message is an animation, information about the animation.

Definition at line 3519 of file Types.h.

◆ audio

std::shared_ptr<Audio> TgBot::ExternalReplyInfo::audio { }

Optional. Message is an audio file, information about the file.

Definition at line 3524 of file Types.h.

◆ chat

std::shared_ptr<Chat> TgBot::ExternalReplyInfo::chat { }

Optional. Chat the original message belongs to. Available only if the chat is a supergroup or a channel.

Definition at line 3502 of file Types.h.

◆ checklist

std::shared_ptr<Checklist> TgBot::ExternalReplyInfo::checklist { }

Optional. Message is a checklist.

Definition at line 3579 of file Types.h.

◆ contact

std::shared_ptr<Contact> TgBot::ExternalReplyInfo::contact { }

Optional. Message is a shared contact, information about the contact.

Definition at line 3584 of file Types.h.

◆ dice

std::shared_ptr<Dice> TgBot::ExternalReplyInfo::dice { }

Optional. Message is a dice with random value.

Definition at line 3589 of file Types.h.

◆ document

std::shared_ptr<Document> TgBot::ExternalReplyInfo::document { }

Optional. Message is a general file, information about the file.

Definition at line 3529 of file Types.h.

◆ game

std::shared_ptr<Game> TgBot::ExternalReplyInfo::game { }

Optional. Message is a game, information about the game. More about games »

Definition at line 3594 of file Types.h.

◆ giveaway

std::shared_ptr<Giveaway> TgBot::ExternalReplyInfo::giveaway { }

Optional. Message is a scheduled giveaway, information about the giveaway.

Definition at line 3599 of file Types.h.

◆ giveawayWinners

std::shared_ptr<GiveawayWinners> TgBot::ExternalReplyInfo::giveawayWinners { }

Optional. A giveaway with public winners was completed.

Definition at line 3604 of file Types.h.

◆ hasMediaSpoiler

std::optional<bool> TgBot::ExternalReplyInfo::hasMediaSpoiler { }

Optional. True, if the message media is covered by a spoiler animation.

Definition at line 3574 of file Types.h.

◆ invoice

std::shared_ptr<Invoice> TgBot::ExternalReplyInfo::invoice { }

Optional. Message is an invoice for a payment, information about the invoice. More about payments »

Definition at line 3610 of file Types.h.

◆ linkPreviewOptions

std::shared_ptr<LinkPreviewOptions> TgBot::ExternalReplyInfo::linkPreviewOptions { }

Optional. Options used for link preview generation for the original message, if it is a text message.

Definition at line 3514 of file Types.h.

◆ livePhoto

std::shared_ptr<LivePhoto> TgBot::ExternalReplyInfo::livePhoto { }

Optional. Message is a live photo, information about the live photo.

Definition at line 3534 of file Types.h.

◆ location

std::shared_ptr<Location> TgBot::ExternalReplyInfo::location { }

Optional. Message is a shared location, information about the location.

Definition at line 3615 of file Types.h.

◆ messageId

std::optional<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 3508 of file Types.h.

◆ origin

std::shared_ptr<MessageOrigin> TgBot::ExternalReplyInfo::origin { }

Origin of the message replied to by the given message.

Definition at line 3496 of file Types.h.

◆ paidMedia

std::shared_ptr<PaidMediaInfo> TgBot::ExternalReplyInfo::paidMedia { }

Optional. Message contains paid media; information about the paid media.

Definition at line 3539 of file Types.h.

◆ photo

std::optional<std::vector<std::shared_ptr<PhotoSize> > > TgBot::ExternalReplyInfo::photo { }

Optional. Message is a photo, available sizes of the photo.

Definition at line 3544 of file Types.h.

◆ poll

std::shared_ptr<Poll> TgBot::ExternalReplyInfo::poll { }

Optional. Message is a native poll, information about the poll.

Definition at line 3620 of file Types.h.

◆ sticker

std::shared_ptr<Sticker> TgBot::ExternalReplyInfo::sticker { }

Optional. Message is a sticker, information about the sticker.

Definition at line 3549 of file Types.h.

◆ story

std::shared_ptr<Story> TgBot::ExternalReplyInfo::story { }

Optional. Message is a forwarded story.

Definition at line 3554 of file Types.h.

◆ venue

std::shared_ptr<Venue> TgBot::ExternalReplyInfo::venue { }

Optional. Message is a venue, information about the venue.

Definition at line 3625 of file Types.h.

◆ video

std::shared_ptr<Video> TgBot::ExternalReplyInfo::video { }

Optional. Message is a video, information about the video.

Definition at line 3559 of file Types.h.

◆ videoNote

std::shared_ptr<VideoNote> TgBot::ExternalReplyInfo::videoNote { }

Optional. Message is a video note, information about the video message.

Definition at line 3564 of file Types.h.

◆ voice

std::shared_ptr<Voice> TgBot::ExternalReplyInfo::voice { }

Optional. Message is a voice message, information about the file.

Definition at line 3569 of file Types.h.


The documentation for this struct was generated from the following file: