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< MessageOrigin > origin { }
 Origin of the message replied to by the given message.
std::shared_ptr< Chat > chat { }
 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< LinkPreviewOptions > linkPreviewOptions { }
 Optional. Options used for link preview generation for the original message, if it is a text message.
std::shared_ptr< Animation > animation { }
 Optional. Message is an animation, information about the animation.
std::shared_ptr< Audio > audio { }
 Optional. Message is an audio file, information about the file.
std::shared_ptr< Document > document { }
 Optional. Message is a general file, information about the file.
std::shared_ptr< LivePhoto > livePhoto { }
 Optional. Message is a live photo, information about the live photo.
std::shared_ptr< PaidMediaInfo > paidMedia { }
 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< Sticker > sticker { }
 Optional. Message is a sticker, information about the sticker.
std::shared_ptr< Story > story { }
 Optional. Message is a forwarded story.
std::shared_ptr< Video > video { }
 Optional. Message is a video, information about the video.
std::shared_ptr< VideoNote > videoNote { }
 Optional. Message is a video note, information about the video message.
std::shared_ptr< Voice > voice { }
 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< Checklist > checklist { }
 Optional. Message is a checklist.
std::shared_ptr< Contact > contact { }
 Optional. Message is a shared contact, information about the contact.
std::shared_ptr< Dice > dice { }
 Optional. Message is a dice with random value.
std::shared_ptr< Game > game { }
 Optional. Message is a game, information about the game. More about games »
std::shared_ptr< Giveaway > giveaway { }
 Optional. Message is a scheduled giveaway, information about the giveaway.
std::shared_ptr< GiveawayWinners > giveawayWinners { }
 Optional. A giveaway with public winners was completed.
std::shared_ptr< Invoice > invoice { }
 Optional. Message is an invoice for a payment, information about the invoice. More about payments »
std::shared_ptr< Location > location { }
 Optional. Message is a shared location, information about the location.
std::shared_ptr< Poll > poll { }
 Optional. Message is a native poll, information about the poll.
std::shared_ptr< Venue > venue { }
 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 3261 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 3262 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 3286 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 3290 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 3272 of file Types.h.

◆ checklist

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

Optional. Message is a checklist.

Definition at line 3334 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 3338 of file Types.h.

◆ dice

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

Optional. Message is a dice with random value.

Definition at line 3342 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 3294 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 3346 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 3350 of file Types.h.

◆ giveawayWinners

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

Optional. A giveaway with public winners was completed.

Definition at line 3354 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 3330 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 3359 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 3282 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 3298 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 3363 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 3277 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 3267 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 3302 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 3306 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 3367 of file Types.h.

◆ sticker

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

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

Definition at line 3310 of file Types.h.

◆ story

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

Optional. Message is a forwarded story.

Definition at line 3314 of file Types.h.

◆ venue

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

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

Definition at line 3371 of file Types.h.

◆ video

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

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

Definition at line 3318 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 3322 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 3326 of file Types.h.


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