diff options
Diffstat (limited to 'td/telegram/UpdatesManager.h')
| -rw-r--r-- | td/telegram/UpdatesManager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/td/telegram/UpdatesManager.h b/td/telegram/UpdatesManager.h index 6bb30d48d..9a47a007c 100644 --- a/td/telegram/UpdatesManager.h +++ b/td/telegram/UpdatesManager.h @@ -8,6 +8,7 @@ #include "td/telegram/ChannelId.h" #include "td/telegram/ChatId.h" +#include "td/telegram/CommunityId.h" #include "td/telegram/DialogId.h" #include "td/telegram/InputGroupCallId.h" #include "td/telegram/MessageFullId.h" @@ -491,6 +492,8 @@ class UpdatesManager final : public Actor { bool is_acceptable_channel(ChannelId channel_id) const; + bool is_acceptable_community(CommunityId community_id) const; + bool is_acceptable_peer(const tl_object_ptr<telegram_api::Peer> &peer) const; bool is_acceptable_message_entities(const vector<tl_object_ptr<telegram_api::MessageEntity>> &message_entities) const; |
