mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-11-19 10:39:26 +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:
|
case td_api::messageSuggestProfilePhoto::ID:
|
||||||
break;
|
break;
|
||||||
case td_api::messageBotWriteAccessAllowed::ID:
|
case td_api::messageBotWriteAccessAllowed::ID:
|
||||||
|
object("write_access_allowed", JsonEmptyObject());
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
@ -10376,8 +10377,6 @@ bool Client::need_skip_update_message(int64 chat_id, const object_ptr<td_api::me
|
|||||||
return true;
|
return true;
|
||||||
case td_api::messageSuggestProfilePhoto::ID:
|
case td_api::messageSuggestProfilePhoto::ID:
|
||||||
return true;
|
return true;
|
||||||
case td_api::messageBotWriteAccessAllowed::ID:
|
|
||||||
return true;
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user