|
|
|
|
@ -469,6 +469,7 @@ class Client::JsonUser final : public td::Jsonable {
|
|
|
|
|
object("can_connect_to_business", td::JsonBool(user_info->can_connect_to_business));
|
|
|
|
|
object("has_main_web_app", td::JsonBool(user_info->has_main_web_app));
|
|
|
|
|
object("has_topics_enabled", td::JsonBool(user_info->has_topics));
|
|
|
|
|
object("allows_users_to_create_topics", td::JsonBool(user_info->allows_users_to_create_topics));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -15752,6 +15753,7 @@ void Client::add_user(UserInfo *user_info, object_ptr<td_api::user> &&user) {
|
|
|
|
|
user_info->can_connect_to_business = bot->can_connect_to_business_;
|
|
|
|
|
user_info->has_main_web_app = bot->has_main_web_app_;
|
|
|
|
|
user_info->has_topics = bot->has_topics_;
|
|
|
|
|
user_info->allows_users_to_create_topics = bot->allows_users_to_create_topics_;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case td_api::userTypeDeleted::ID:
|
|
|
|
|
|