Raw.payments.GetStarsRevenueWithdrawalUrl
Withdraw funds from a channel or bot’s star balance.
payments.getStarsRevenueWithdrawalUrl#13bbe8b3 peer:InputPeer stars:long password:InputCheckPasswordSRP = payments.StarsRevenueWithdrawalUrl;
export namespace Raw {
export namespace payments {
export class GetStarsRevenueWithdrawalUrl {
constructor(params: {
peer: Raw.TypeInputPeer;
stars: bigint;
password: Raw.TypeInputCheckPasswordSRP;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 198
Constructor ID: 0x13bbe8b3
Property
peer
: Raw.TypeInputPeerChannel or bot from which to withdraw funds.
stars
: bigintAmount of stars to withdraw.
password
: Raw.TypeInputCheckPasswordSRP2fa password, see here for more info.