mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-12-22 18:47:47 +01:00
Add Message.write_access_allowed.
This commit is contained in:
parent
d19413f8e6
commit
9b47c90de9
@ -2183,6 +2183,7 @@ void Client::JsonMessage::store(JsonValueScope *scope) const {
|
||||
case td_api::messageSuggestProfilePhoto::ID:
|
||||
break;
|
||||
case td_api::messageBotWriteAccessAllowed::ID:
|
||||
object("write_access_allowed", JsonEmptyObject());
|
||||
break;
|
||||
default:
|
||||
UNREACHABLE();
|
||||
@ -10376,8 +10377,6 @@ bool Client::need_skip_update_message(int64 chat_id, const object_ptr<td_api::me
|
||||
return true;
|
||||
case td_api::messageSuggestProfilePhoto::ID:
|
||||
return true;
|
||||
case td_api::messageBotWriteAccessAllowed::ID:
|
||||
return true;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user