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

This object describes the origin of a message. More...

#include <MessageOrigin.h>

Inheritance diagram for TgBot::MessageOrigin:
TgBot::MessageOriginChannel TgBot::MessageOriginChat TgBot::MessageOriginHiddenUser TgBot::MessageOriginUser

Public Types

typedef std::shared_ptr< MessageOriginPtr
 

Public Member Functions

 MessageOrigin ()
 
virtual ~MessageOrigin ()
 

Public Attributes

std::string type
 Type of the message origin.
 
std::uint32_t date
 Date the message was sent originally in Unix time.
 

Detailed Description

This object describes the origin of a message.

It can be one of

Definition at line 21 of file MessageOrigin.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<MessageOrigin> TgBot::MessageOrigin::Ptr

Definition at line 24 of file MessageOrigin.h.

Constructor & Destructor Documentation

◆ MessageOrigin()

TgBot::MessageOrigin::MessageOrigin ( )
inline

Definition at line 26 of file MessageOrigin.h.

◆ ~MessageOrigin()

virtual TgBot::MessageOrigin::~MessageOrigin ( )
inlinevirtual

Definition at line 28 of file MessageOrigin.h.

Member Data Documentation

◆ date

std::uint32_t TgBot::MessageOrigin::date

Date the message was sent originally in Unix time.

Definition at line 38 of file MessageOrigin.h.

◆ type

std::string TgBot::MessageOrigin::type

Type of the message origin.

Definition at line 33 of file MessageOrigin.h.


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