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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<MessageOriginUser>

Public Attributes

std::string type { TYPE }
 Type of the message origin, always “user”
std::int32_t date { }
 Date the message was sent originally in Unix time.
std::shared_ptr< User > senderUser { }
 User that sent the message originally.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

The message was originally sent by a known user.

Definition at line 9029 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 9030 of file Types.h.

Member Data Documentation

◆ date

std::int32_t TgBot::MessageOriginUser::date { }

Date the message was sent originally in Unix time.

Definition at line 9041 of file Types.h.

◆ senderUser

std::shared_ptr<User> TgBot::MessageOriginUser::senderUser { }

User that sent the message originally.

Definition at line 9045 of file Types.h.

◆ TYPE

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

Definition at line 9032 of file Types.h.

◆ type

std::string TgBot::MessageOriginUser::type { TYPE }

Type of the message origin, always “user”

Definition at line 9037 of file Types.h.


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