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

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< ExternalReplyInfoPtr
 

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::Ptrphoto
 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.
 

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 37 of file ExternalReplyInfo.h.

Member Typedef Documentation

◆ Ptr

Definition at line 40 of file ExternalReplyInfo.h.

Member Data Documentation

◆ animation

Animation::Ptr TgBot::ExternalReplyInfo::animation

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

Definition at line 69 of file ExternalReplyInfo.h.

◆ audio

Audio::Ptr TgBot::ExternalReplyInfo::audio

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

Definition at line 74 of file ExternalReplyInfo.h.

◆ chat

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

Contact::Ptr TgBot::ExternalReplyInfo::contact

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

Definition at line 119 of file ExternalReplyInfo.h.

◆ dice

Dice::Ptr TgBot::ExternalReplyInfo::dice

Optional. Message is a dice with random value.

Definition at line 124 of file ExternalReplyInfo.h.

◆ document

Document::Ptr TgBot::ExternalReplyInfo::document

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

Definition at line 79 of file ExternalReplyInfo.h.

◆ game

Game::Ptr TgBot::ExternalReplyInfo::game

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

More about games »

Definition at line 131 of file ExternalReplyInfo.h.

◆ giveaway

Giveaway::Ptr TgBot::ExternalReplyInfo::giveaway

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

Definition at line 136 of file ExternalReplyInfo.h.

◆ giveawayWinners

GiveawayWinners::Ptr TgBot::ExternalReplyInfo::giveawayWinners

Optional. A giveaway with public winners was completed.

Definition at line 141 of file ExternalReplyInfo.h.

◆ hasMediaSpoiler

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

Invoice::Ptr TgBot::ExternalReplyInfo::invoice

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

More about payments »

Definition at line 148 of file ExternalReplyInfo.h.

◆ linkPreviewOptions

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

Location::Ptr TgBot::ExternalReplyInfo::location

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

Definition at line 153 of file ExternalReplyInfo.h.

◆ messageId

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.

◆ origin

MessageOrigin::Ptr TgBot::ExternalReplyInfo::origin

Origin of the message replied to by the given message.

Definition at line 45 of file ExternalReplyInfo.h.

◆ photo

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

Poll::Ptr TgBot::ExternalReplyInfo::poll

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

Definition at line 158 of file ExternalReplyInfo.h.

◆ sticker

Sticker::Ptr TgBot::ExternalReplyInfo::sticker

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

Definition at line 89 of file ExternalReplyInfo.h.

◆ story

Story::Ptr TgBot::ExternalReplyInfo::story

Optional. Message is a forwarded story.

Definition at line 94 of file ExternalReplyInfo.h.

◆ venue

Venue::Ptr TgBot::ExternalReplyInfo::venue

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

Definition at line 163 of file ExternalReplyInfo.h.

◆ video

Video::Ptr TgBot::ExternalReplyInfo::video

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

Definition at line 99 of file ExternalReplyInfo.h.

◆ videoNote

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

Voice::Ptr TgBot::ExternalReplyInfo::voice

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

Definition at line 109 of file ExternalReplyInfo.h.


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