tgbot-cpp
Loading...
Searching...
No Matches
MessageOrigin.h
Go to the documentation of this file.
1
#ifndef TGBOT_MESSAGEORIGIN_H
2
#define TGBOT_MESSAGEORIGIN_H
3
4
#include <cstdint>
5
#include <memory>
6
#include <string>
7
8
namespace
TgBot
{
9
21
class
MessageOrigin
{
22
23
public
:
24
typedef
std::shared_ptr<MessageOrigin>
Ptr
;
25
26
MessageOrigin
() {}
27
28
virtual
~MessageOrigin
() {}
29
33
std::string
type
;
34
38
std::uint32_t
date
;
39
};
40
}
41
42
#endif
//TGBOT_MESSAGEORIGIN_H
TgBot::MessageOrigin
This object describes the origin of a message.
Definition
MessageOrigin.h:21
TgBot::MessageOrigin::date
std::uint32_t date
Date the message was sent originally in Unix time.
Definition
MessageOrigin.h:38
TgBot::MessageOrigin::~MessageOrigin
virtual ~MessageOrigin()
Definition
MessageOrigin.h:28
TgBot::MessageOrigin::type
std::string type
Type of the message origin.
Definition
MessageOrigin.h:33
TgBot::MessageOrigin::MessageOrigin
MessageOrigin()
Definition
MessageOrigin.h:26
TgBot::MessageOrigin::Ptr
std::shared_ptr< MessageOrigin > Ptr
Definition
MessageOrigin.h:24
TgBot
Definition
Api.h:40
include
tgbot
types
MessageOrigin.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0