Fix chatRevenueWithdrawalStateCompleted.
This commit is contained in:
parent
723ba8978d
commit
be7434dbf3
@ -411,7 +411,8 @@ class GetBroadcastRevenueTransactionsQuery final : public Td::ResultHandler {
|
||||
amount = get_amount(transaction->amount_, true);
|
||||
auto state = [&]() -> td_api::object_ptr<td_api::ChatRevenueWithdrawalState> {
|
||||
if (transaction->transaction_date_ > 0) {
|
||||
return td_api::make_object<td_api::chatRevenueWithdrawalStateCompleted>();
|
||||
return td_api::make_object<td_api::chatRevenueWithdrawalStateCompleted>(transaction->transaction_date_,
|
||||
transaction->transaction_url_);
|
||||
}
|
||||
if (transaction->pending_) {
|
||||
return td_api::make_object<td_api::chatRevenueWithdrawalStatePending>();
|
||||
|
Loading…
Reference in New Issue
Block a user