tgbot-cpp
Loading...
Searching...
No Matches
TgBot::InaccessibleMessage Class Reference

This object describes a message that was deleted or is otherwise inaccessible to the bot. More...

#include <InaccessibleMessage.h>

Public Types

typedef std::shared_ptr< InaccessibleMessagePtr
 

Public Attributes

Chat::Ptr chat
 Chat the message belonged to.
 
std::int32_t messageId
 Unique message identifier inside the chat.
 
std::uint8_t date
 Always 0.
 

Detailed Description

This object describes a message that was deleted or is otherwise inaccessible to the bot.

Definition at line 16 of file InaccessibleMessage.h.

Member Typedef Documentation

◆ Ptr

Definition at line 19 of file InaccessibleMessage.h.

Member Data Documentation

◆ chat

Chat::Ptr TgBot::InaccessibleMessage::chat

Chat the message belonged to.

Definition at line 24 of file InaccessibleMessage.h.

◆ date

std::uint8_t TgBot::InaccessibleMessage::date

Always 0.

The field can be used to differentiate regular and inaccessible messages.

Definition at line 36 of file InaccessibleMessage.h.

◆ messageId

std::int32_t TgBot::InaccessibleMessage::messageId

Unique message identifier inside the chat.

Definition at line 29 of file InaccessibleMessage.h.


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