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

This object represents changes in the status of a chat member. More...

#include <ChatMemberUpdated.h>

Public Types

typedef std::shared_ptr< ChatMemberUpdatedPtr
 

Public Attributes

Chat::Ptr chat
 Chat the user belongs to.
 
User::Ptr from
 Performer of the action, which resulted in the change.
 
std::uint32_t date
 Date the change was done in Unix time.
 
ChatMember::Ptr oldChatMember
 Previous information about the chat member.
 
ChatMember::Ptr newChatMember
 New information about the chat member.
 
ChatInviteLink::Ptr inviteLink
 Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link events only.
 
bool viaChatFolderInviteLink
 Optional. True, if the user joined the chat via a chat folder invite link.
 

Detailed Description

This object represents changes in the status of a chat member.

Definition at line 19 of file ChatMemberUpdated.h.

Member Typedef Documentation

◆ Ptr

Definition at line 22 of file ChatMemberUpdated.h.

Member Data Documentation

◆ chat

Chat::Ptr TgBot::ChatMemberUpdated::chat

Chat the user belongs to.

Definition at line 27 of file ChatMemberUpdated.h.

◆ date

std::uint32_t TgBot::ChatMemberUpdated::date

Date the change was done in Unix time.

Definition at line 37 of file ChatMemberUpdated.h.

◆ from

User::Ptr TgBot::ChatMemberUpdated::from

Performer of the action, which resulted in the change.

Definition at line 32 of file ChatMemberUpdated.h.

◆ inviteLink

ChatInviteLink::Ptr TgBot::ChatMemberUpdated::inviteLink

Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link events only.

Definition at line 52 of file ChatMemberUpdated.h.

◆ newChatMember

ChatMember::Ptr TgBot::ChatMemberUpdated::newChatMember

New information about the chat member.

Definition at line 47 of file ChatMemberUpdated.h.

◆ oldChatMember

ChatMember::Ptr TgBot::ChatMemberUpdated::oldChatMember

Previous information about the chat member.

Definition at line 42 of file ChatMemberUpdated.h.

◆ viaChatFolderInviteLink

bool TgBot::ChatMemberUpdated::viaChatFolderInviteLink

Optional. True, if the user joined the chat via a chat folder invite link.

Definition at line 57 of file ChatMemberUpdated.h.


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