tgbot-cpp
Loading...
Searching...
No Matches
ChatMemberUpdated.h
Go to the documentation of this file.
1#ifndef TGBOT_CPP_CHATMEMBERUPDATED_H
2#define TGBOT_CPP_CHATMEMBERUPDATED_H
3
4#include "tgbot/types/Chat.h"
5#include "tgbot/types/User.h"
8
9#include <memory>
10
11namespace TgBot {
12
19
20public:
21 typedef std::shared_ptr<ChatMemberUpdated> Ptr;
22
27
32
36 std::uint32_t date;
37
42
47
52};
53}
54
55#endif //TGBOT_CPP_CHATMEMBERUPDATED_H
std::shared_ptr< Chat > Ptr
Definition Chat.h:25
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.
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:39