Added is_verified and is_scam

This commit is contained in:
Jannik 2020-11-18 15:12:32 +01:00 committed by GitHub
parent e79d3b775e
commit 1b6bb14ff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -556,6 +556,8 @@ class Client : public WebhookActor::Callback {
td::string bio;
bool is_verified = false;
bool is_scam = false;
bool have_access = false;
bool can_join_groups = false;
bool can_read_all_group_messages = false;
@ -592,6 +594,8 @@ class Client : public WebhookActor::Callback {
bool is_supergroup = false;
bool can_set_sticker_set = false;
bool has_location = false;
bool is_verified = false;
bool is_scam = false;
};
static void add_supergroup(std::unordered_map<int32, SupergroupInfo> &supergroups,
object_ptr<td_api::supergroup> &&supergroup);