mirror of
https://github.com/tdlib/telegram-bot-api
synced 2025-08-22 01:49:24 +00:00
Add ExternalReplyInfo.checklist.
This commit is contained in:
parent
cdf2f74c04
commit
050d3bfa6e
@ -3218,6 +3218,11 @@ class Client::JsonExternalReplyInfo final : public td::Jsonable {
|
||||
object("story", JsonStory(content->story_poster_chat_id_, content->story_id_, client_));
|
||||
break;
|
||||
}
|
||||
case td_api::messageChecklist::ID: {
|
||||
auto content = static_cast<const td_api::messageChecklist *>(reply_->content_.get());
|
||||
object("checklist", JsonChecklist(content->list_.get(), client_));
|
||||
break;
|
||||
}
|
||||
default:
|
||||
LOG(ERROR) << "Receive external reply with " << to_string(reply_->content_);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user