mirror of
https://github.com/tdlib/telegram-bot-api
synced 2025-08-22 18:08:31 +00:00
Fix ExternalReplyInfo.story.
This commit is contained in:
parent
a186a9ae82
commit
eff2056212
@ -2825,9 +2825,11 @@ class Client::JsonExternalReplyInfo final : public td::Jsonable {
|
|||||||
object("giveaway_winners", JsonGiveawayWinners(content, client_));
|
object("giveaway_winners", JsonGiveawayWinners(content, client_));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case td_api::messageStory::ID:
|
case td_api::messageStory::ID: {
|
||||||
object("story", JsonEmptyObject());
|
auto content = static_cast<const td_api::messageStory *>(reply_->content_.get());
|
||||||
|
object("story", JsonStory(content->story_sender_chat_id_, content->story_id_, client_));
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
LOG(ERROR) << "Receive external reply with " << to_string(reply_->content_);
|
LOG(ERROR) << "Receive external reply with " << to_string(reply_->content_);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user