Update API scheme to layer 214. Start themes.

This commit is contained in:
John Preston
2025-08-26 18:03:15 +04:00
parent 4ed266780a
commit 9e8ae54821
22 changed files with 426 additions and 103 deletions
@@ -1608,9 +1608,13 @@ ServiceAction ParseServiceAction(
.date = data.vschedule_date().v,
};
}, [&](const MTPDmessageActionSetChatTheme &data) {
result.content = ActionSetChatTheme{
.emoji = qs(data.vemoticon()),
};
data.vtheme().match([&](const MTPDchatTheme &data) {
result.content = ActionSetChatTheme{
.emoji = qs(data.vemoticon()),
};
}, [&](const MTPDchatThemeUniqueGift &data) {
result.content = ActionSetChatTheme{};
});
}, [&](const MTPDmessageActionChatJoinedByRequest &data) {
result.content = ActionChatJoinedByRequest();
}, [&](const MTPDmessageActionWebViewDataSentMe &data) {