tgbot-cpp
Loading...
Searching...
No Matches
ChatMemberUpdated.h
Go to the documentation of this file.
1#ifndef TGBOT_CHATMEMBERUPDATED_H
2#define TGBOT_CHATMEMBERUPDATED_H
3
4#include "tgbot/types/Chat.h"
5#include "tgbot/types/User.h"
8
9#include <cstdint>
10#include <memory>
11
12namespace TgBot {
13
20
21public:
22 typedef std::shared_ptr<ChatMemberUpdated> Ptr;
23
28
33
37 std::uint32_t date;
38
43
48
53
58};
59}
60
61#endif //TGBOT_CHATMEMBERUPDATED_H
std::shared_ptr< Chat > Ptr
Definition Chat.h:31
std::shared_ptr< ChatMember > Ptr
Definition ChatMember.h:21
This object represents changes in the status of a chat member.
ChatInviteLink::Ptr inviteLink
Optional. Chat invite link, which was used by the user to join the chat; for joining by invite link e...
ChatMember::Ptr oldChatMember
Previous information about the chat member.
bool viaChatFolderInviteLink
Optional. True, if the user joined the chat via a chat folder invite link.
ChatMember::Ptr newChatMember
New information about the chat member.
User::Ptr from
Performer of the action, which resulted in the change.
std::shared_ptr< ChatMemberUpdated > Ptr
Chat::Ptr chat
Chat the user belongs to.
std::uint32_t date
Date the change was done in Unix time.
std::shared_ptr< User > Ptr
Definition User.h:18
Definition Api.h:40