mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-12-25 04:05:52 +01:00
Support messageStory as empty objects.
This commit is contained in:
parent
51fba26f78
commit
afd30f2cfa
@ -2305,6 +2305,7 @@ void Client::JsonMessage::store(td::JsonValueScope *scope) const {
|
|||||||
case td_api::messageChatSetBackground::ID:
|
case td_api::messageChatSetBackground::ID:
|
||||||
break;
|
break;
|
||||||
case td_api::messageStory::ID:
|
case td_api::messageStory::ID:
|
||||||
|
object("story", JsonEmptyObject());
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
@ -11199,8 +11200,6 @@ bool Client::need_skip_update_message(int64 chat_id, const object_ptr<td_api::me
|
|||||||
return true;
|
return true;
|
||||||
case td_api::messageChatSetBackground::ID:
|
case td_api::messageChatSetBackground::ID:
|
||||||
return true;
|
return true;
|
||||||
case td_api::messageStory::ID:
|
|
||||||
return true;
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user