2
0
mirror of https://github.com/tdlib/telegram-bot-api synced 2025-08-22 18:08:31 +00:00

Add ExternalReplyInfo.checklist.

This commit is contained in:
levlam 2025-07-01 17:45:35 +03:00
parent cdf2f74c04
commit 050d3bfa6e

View File

@ -3218,6 +3218,11 @@ class Client::JsonExternalReplyInfo final : public td::Jsonable {
object("story", JsonStory(content->story_poster_chat_id_, content->story_id_, client_)); object("story", JsonStory(content->story_poster_chat_id_, content->story_id_, client_));
break; 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: default:
LOG(ERROR) << "Receive external reply with " << to_string(reply_->content_); LOG(ERROR) << "Receive external reply with " << to_string(reply_->content_);
} }