payments.changeStarsSubscription

Activate or deactivate a Telegram Star subscription ».

 Method schema is available as of layer 186. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
peer InputPeer Always pass inputPeerSelf.
subscription_id string ID of the subscription.
canceled flags.0?Bool Whether to cancel or reactivate the subscription.

Result

Bool

Bots can use this method

Related pages

inputPeerSelf

Defines the current user.

Invites

Chats and channels may have a public username or a private invite link: private invite links may be further enhanced with per-user join requests.