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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user