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

The message was originally sent to a channel chat. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<MessageOriginChannel>

Public Attributes

std::string type { TYPE }
 Type of the message origin, always “channel”
std::int32_t date { }
 Date the message was sent originally in Unix time.
std::shared_ptr< Chatchat { }
 Channel chat to which the message was originally sent.
std::int32_t messageId { }
 Unique message identifier inside the chat.
std::optional< std::string > authorSignature { }
 Optional. Signature of the original post author.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

The message was originally sent to a channel chat.

Definition at line 9731 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 9732 of file Types.h.

Member Data Documentation

◆ authorSignature

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

Optional. Signature of the original post author.

Definition at line 9759 of file Types.h.

◆ chat

std::shared_ptr<Chat> TgBot::MessageOriginChannel::chat { }

Channel chat to which the message was originally sent.

Definition at line 9749 of file Types.h.

◆ date

std::int32_t TgBot::MessageOriginChannel::date { }

Date the message was sent originally in Unix time.

Definition at line 9744 of file Types.h.

◆ messageId

std::int32_t TgBot::MessageOriginChannel::messageId { }

Unique message identifier inside the chat.

Definition at line 9754 of file Types.h.

◆ TYPE

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

Definition at line 9734 of file Types.h.

◆ type

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

Type of the message origin, always “channel”

Definition at line 9739 of file Types.h.


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