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

The message was originally sent on behalf of a chat to a group chat. More...

#include <MessageOriginChat.h>

Inheritance diagram for TgBot::MessageOriginChat:
TgBot::MessageOrigin

Public Types

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

Public Member Functions

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

Public Attributes

Chat::Ptr senderChat
 Chat that sent the message originally.
 
std::string authorSignature
 Optional. For messages originally sent by an anonymous chat administrator, original message author signature.
 
- 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 on behalf of a chat to a group chat.

Definition at line 17 of file MessageOriginChat.h.

Member Typedef Documentation

◆ Ptr

Definition at line 22 of file MessageOriginChat.h.

Constructor & Destructor Documentation

◆ MessageOriginChat()

TgBot::MessageOriginChat::MessageOriginChat ( )
inline

Definition at line 24 of file MessageOriginChat.h.

Member Data Documentation

◆ authorSignature

std::string TgBot::MessageOriginChat::authorSignature

Optional. For messages originally sent by an anonymous chat administrator, original message author signature.

Definition at line 36 of file MessageOriginChat.h.

◆ senderChat

Chat::Ptr TgBot::MessageOriginChat::senderChat

Chat that sent the message originally.

Definition at line 31 of file MessageOriginChat.h.

◆ TYPE

const std::string TgBot::MessageOriginChat::TYPE
static

Definition at line 20 of file MessageOriginChat.h.


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