Initial cloud tones support.

This commit is contained in:
John Preston
2026-04-14 10:40:49 +07:00
parent b01a265199
commit 3cc2192791
18 changed files with 748 additions and 19 deletions
+5
View File
@@ -30,6 +30,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "data/components/top_peers.h"
#include "data/notify/data_notify_settings.h"
#include "data/stickers/data_stickers.h"
#include "data/data_ai_compose_tones.h"
#include "data/data_saved_messages.h"
#include "data/data_saved_sublist.h"
#include "data/data_session.h"
@@ -2779,6 +2780,10 @@ void Updates::feedUpdate(const MTPUpdate &update) {
session().api().ringtones().applyUpdate();
} break;
case mtpc_updateAiComposeTones: {
session().data().aiComposeTones().applyUpdate();
} break;
case mtpc_updateTranscribedAudio: {
const auto &data = update.c_updateTranscribedAudio();
_session->api().transcribes().apply(data);