This object represents changes in the status of a chat member.
More...
#include <Types.h>
|
| std::shared_ptr< Chat > | chat { } |
| | Chat the user belongs to.
|
| std::shared_ptr< User > | from { } |
| | Performer of the action, which resulted in the change.
|
| std::int32_t | date { } |
| | Date the change was done in Unix time.
|
| std::shared_ptr< ChatMember > | oldChatMember { } |
| | Previous information about the chat member.
|
| std::shared_ptr< ChatMember > | newChatMember { } |
| | New information about the chat member.
|
| std::shared_ptr< ChatInviteLink > | inviteLink { } |
| | Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link events only.
|
| std::optional< bool > | viaJoinRequest { } |
| | Optional. True, if the user joined the chat after sending a direct join request without using an invite link and being approved by an administrator.
|
| std::optional< bool > | viaChatFolderInviteLink { } |
| | Optional. True, if the user joined the chat via a chat folder invite link.
|
This object represents changes in the status of a chat member.
Definition at line 2510 of file Types.h.
◆ Ptr
◆ chat
| std::shared_ptr<Chat> TgBot::ChatMemberUpdated::chat { } |
◆ date
| std::int32_t TgBot::ChatMemberUpdated::date { } |
Date the change was done in Unix time.
Definition at line 2524 of file Types.h.
◆ from
| std::shared_ptr<User> TgBot::ChatMemberUpdated::from { } |
Performer of the action, which resulted in the change.
Definition at line 2520 of file Types.h.
◆ inviteLink
| std::shared_ptr<ChatInviteLink> 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 2537 of file Types.h.
◆ newChatMember
| std::shared_ptr<ChatMember> TgBot::ChatMemberUpdated::newChatMember { } |
New information about the chat member.
Definition at line 2532 of file Types.h.
◆ oldChatMember
| std::shared_ptr<ChatMember> TgBot::ChatMemberUpdated::oldChatMember { } |
Previous information about the chat member.
Definition at line 2528 of file Types.h.
◆ viaChatFolderInviteLink
| std::optional<bool> TgBot::ChatMemberUpdated::viaChatFolderInviteLink { } |
Optional. True, if the user joined the chat via a chat folder invite link.
Definition at line 2546 of file Types.h.
◆ viaJoinRequest
| std::optional<bool> TgBot::ChatMemberUpdated::viaJoinRequest { } |
Optional. True, if the user joined the chat after sending a direct join request without using an invite link and being approved by an administrator.
Definition at line 2542 of file Types.h.
The documentation for this struct was generated from the following file: