Raw.payments.ChangeStarsSubscription
Activate or deactivate a telegram star subscription.
payments.changeStarsSubscription#c7770878 flags:# peer:InputPeer subscription_id:string canceled:flags.0?Bool = Bool;
export namespace Raw {
export namespace payments {
export class ChangeStarsSubscription {
constructor(params: {
peer: Raw.TypeInputPeer;
subscriptionId: string;
canceled?: boolean;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 198
Constructor ID: 0xc7770878
Property
peer
: Raw.TypeInputPeerAlways pass inputpeerself.
subscriptionId
: stringId of the subscription.
canceled
: boolean or undefinedWhether to cancel or reactivate the subscription.