| tgbot-cpp
    | 
This object describes the origin of a message. More...
#include <MessageOrigin.h>
 
  
| Public Types | |
| typedef std::shared_ptr< MessageOrigin > | Ptr | 
| 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. | |
This object describes the origin of a message.
It can be one of
Definition at line 21 of file MessageOrigin.h.
| typedef std::shared_ptr<MessageOrigin> TgBot::MessageOrigin::Ptr | 
Definition at line 24 of file MessageOrigin.h.
| 
 | inline | 
Definition at line 26 of file MessageOrigin.h.
| 
 | inlinevirtual | 
Definition at line 28 of file MessageOrigin.h.
| std::uint32_t TgBot::MessageOrigin::date | 
Date the message was sent originally in Unix time.
Definition at line 38 of file MessageOrigin.h.
| std::string TgBot::MessageOrigin::type | 
Type of the message origin.
Definition at line 33 of file MessageOrigin.h.