mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-12-26 20:55:52 +01:00
Add Chat.unrestrict_boost_count.
This commit is contained in:
parent
f9bd4980ee
commit
36b97bd5a7
@ -860,6 +860,9 @@ class Client::JsonChat final : public td::Jsonable {
|
||||
if (supergroup_info->slow_mode_delay != 0) {
|
||||
object("slow_mode_delay", supergroup_info->slow_mode_delay);
|
||||
}
|
||||
if (supergroup_info->unrestrict_boost_count != 0) {
|
||||
object("unrestrict_boost_count", supergroup_info->unrestrict_boost_count);
|
||||
}
|
||||
if (supergroup_info->linked_chat_id != 0) {
|
||||
object("linked_chat_id", supergroup_info->linked_chat_id);
|
||||
}
|
||||
@ -6147,6 +6150,7 @@ void Client::on_update(object_ptr<td_api::Object> result) {
|
||||
supergroup_info->can_set_sticker_set = full_info->can_set_sticker_set_;
|
||||
supergroup_info->is_all_history_available = full_info->is_all_history_available_;
|
||||
supergroup_info->slow_mode_delay = full_info->slow_mode_delay_;
|
||||
supergroup_info->unrestrict_boost_count = full_info->unrestrict_boost_count_;
|
||||
supergroup_info->linked_chat_id = full_info->linked_chat_id_;
|
||||
supergroup_info->location = std::move(full_info->location_);
|
||||
supergroup_info->has_hidden_members = full_info->has_hidden_members_;
|
||||
|
@ -811,6 +811,7 @@ class Client final : public WebhookActor::Callback {
|
||||
int64 sticker_set_id = 0;
|
||||
int32 date = 0;
|
||||
int32 slow_mode_delay = 0;
|
||||
int32 unrestrict_boost_count = 0;
|
||||
int64 linked_chat_id = 0;
|
||||
object_ptr<td_api::chatLocation> location;
|
||||
object_ptr<td_api::ChatMemberStatus> status;
|
||||
|
Loading…
Reference in New Issue
Block a user