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

The message was originally sent by a known user. More...

#include <MessageOriginUser.h>

Inheritance diagram for TgBot::MessageOriginUser:
TgBot::MessageOrigin

Public Types

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

Public Member Functions

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

Public Attributes

User::Ptr senderUser
 User that sent the message originally.
 
- 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 by a known user.

Definition at line 16 of file MessageOriginUser.h.

Member Typedef Documentation

◆ Ptr

Definition at line 21 of file MessageOriginUser.h.

Constructor & Destructor Documentation

◆ MessageOriginUser()

TgBot::MessageOriginUser::MessageOriginUser ( )
inline

Definition at line 23 of file MessageOriginUser.h.

Member Data Documentation

◆ senderUser

User::Ptr TgBot::MessageOriginUser::senderUser

User that sent the message originally.

Definition at line 30 of file MessageOriginUser.h.

◆ TYPE

const std::string TgBot::MessageOriginUser::TYPE
static

Definition at line 19 of file MessageOriginUser.h.


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