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

The message was originally sent on behalf of a chat to a group chat. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<MessageOriginChat>

Public Attributes

std::string type { TYPE }
 Type of the message origin, always “chat”
std::int32_t date { }
 Date the message was sent originally in Unix time.
std::shared_ptr< ChatsenderChat { }
 Chat that sent the message originally.
std::optional< std::string > authorSignature { }
 Optional. For messages originally sent by an anonymous chat administrator, original message author signature.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

The message was originally sent on behalf of a chat to a group chat.

Definition at line 9769 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 9770 of file Types.h.

Member Data Documentation

◆ authorSignature

std::optional<std::string> TgBot::MessageOriginChat::authorSignature { }

Optional. For messages originally sent by an anonymous chat administrator, original message author signature.

Definition at line 9793 of file Types.h.

◆ date

std::int32_t TgBot::MessageOriginChat::date { }

Date the message was sent originally in Unix time.

Definition at line 9782 of file Types.h.

◆ senderChat

std::shared_ptr<Chat> TgBot::MessageOriginChat::senderChat { }

Chat that sent the message originally.

Definition at line 9787 of file Types.h.

◆ TYPE

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

Definition at line 9772 of file Types.h.

◆ type

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

Type of the message origin, always “chat”

Definition at line 9777 of file Types.h.


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