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

The message was originally sent to a channel chat. More...

#include <MessageOriginChannel.h>

Inheritance diagram for TgBot::MessageOriginChannel:
TgBot::MessageOrigin

Public Types

typedef std::shared_ptr< MessageOriginChannelPtr
 
- Public Types inherited from TgBot::MessageOrigin
typedef std::shared_ptr< MessageOriginPtr
 

Public Member Functions

 MessageOriginChannel ()
 
- Public Member Functions inherited from TgBot::MessageOrigin
 MessageOrigin ()
 
virtual ~MessageOrigin ()
 

Public Attributes

Chat::Ptr chat
 Channel chat to which the message was originally sent.
 
std::int32_t messageId
 Unique message identifier inside the chat.
 
std::string authorSignature
 Optional. Signature of the original post author.
 
- Public Attributes inherited from TgBot::MessageOrigin
std::string type
 Type of the message origin.
 
std::uint32_t date
 Date the message was sent originally in Unix time.
 

Static Public Attributes

static const std::string TYPE
 

Detailed Description

The message was originally sent to a channel chat.

Definition at line 18 of file MessageOriginChannel.h.

Member Typedef Documentation

◆ Ptr

Definition at line 23 of file MessageOriginChannel.h.

Constructor & Destructor Documentation

◆ MessageOriginChannel()

TgBot::MessageOriginChannel::MessageOriginChannel ( )
inline

Definition at line 25 of file MessageOriginChannel.h.

Member Data Documentation

◆ authorSignature

std::string TgBot::MessageOriginChannel::authorSignature

Optional. Signature of the original post author.

Definition at line 42 of file MessageOriginChannel.h.

◆ chat

Chat::Ptr TgBot::MessageOriginChannel::chat

Channel chat to which the message was originally sent.

Definition at line 32 of file MessageOriginChannel.h.

◆ messageId

std::int32_t TgBot::MessageOriginChannel::messageId

Unique message identifier inside the chat.

Definition at line 37 of file MessageOriginChannel.h.

◆ TYPE

const std::string TgBot::MessageOriginChannel::TYPE
static

Definition at line 21 of file MessageOriginChannel.h.


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