Raw.payments.ConvertStarGift
Convert a received gift into telegram stars: this will permanently destroy the gift, converting it into stargift.convertStars telegram stars, added to the user’s balance.
payments.convertStarGift#74bf076b stargift:InputSavedStarGift = Bool;
export namespace Raw {
export namespace payments {
export class ConvertStarGift {
constructor(params: { stargift: Raw.TypeInputSavedStarGift }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 198
Constructor ID: 0x74bf076b
Property
stargift
: Raw.TypeInputSavedStarGift