2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Update API scheme to layer 204.

This commit is contained in:
John Preston
2025-05-06 09:25:22 +04:00
parent 9cb89fff45
commit 23eedb468f
3 changed files with 11 additions and 7 deletions

View File

@@ -227,6 +227,7 @@ void SaveStarsPerMessage(
const auto key = Api::RequestKey("stars_per_message", channel->id);
const auto requestId = api->request(MTPchannels_UpdatePaidMessagesPrice(
MTP_flags(0), // #TODO Support broadcast_messages_allowed flag in UI
channel->inputChannel,
MTP_long(starsPerMessage)
)).done([=](const MTPUpdates &result) {