Update API scheme on layer 210.

This commit is contained in:
John Preston
2025-07-18 23:07:43 +04:00
parent a7fe004344
commit a81b9344cf
7 changed files with 330 additions and 48 deletions
+5
View File
@@ -917,6 +917,11 @@ std::optional<Data::SavedStarGift> FromTL(
.manageId = (to->isUser()
? Id::User(data.vmsg_id().value_or_empty())
: Id::Chat(to, data.vsaved_id().value_or_empty())),
.collectionIds = (data.vcollection_id()
? (data.vcollection_id()->v
| ranges::views::transform(&MTPint::v)
| ranges::to_vector)
: std::vector<int>()),
.message = (data.vmessage()
? TextWithEntities{
.text = qs(data.vmessage()->data().vtext()),