Update API scheme to layer 192.

This commit is contained in:
John Preston
2024-10-24 08:50:55 +04:00
parent 75a75626ce
commit 78f2e70956
6 changed files with 32 additions and 28 deletions
+2 -2
View File
@@ -97,7 +97,7 @@ void HandleWithdrawalButton(
if (channel) {
session->api().request(
MTPstats_GetBroadcastRevenueWithdrawalUrl(
channel->inputChannel,
channel->input,
result.result
)).done([=](const ChannelOutUrl &r) {
done(qs(r.data().vurl()));
@@ -137,7 +137,7 @@ void HandleWithdrawalButton(
if (channel) {
session->api().request(
MTPstats_GetBroadcastRevenueWithdrawalUrl(
channel->inputChannel,
channel->input,
MTP_inputCheckPasswordEmpty()
)).fail(fail).send();
} else if (peer) {