payments.changeStarsSubscription
Activate or deactivate a Telegram Star subscription ».
Activate or deactivate a [Telegram Star subscription »](https://core.telegram.org/api/invites.md#paid-invite-links).
| Name | Type | Required | Description |
|---|---|---|---|
peer | InputPeer | Yes | Always pass [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md). |
subscription_id | string | Yes | ID of the subscription. |
canceled | Bool | No | Whether to cancel or reactivate the subscription. |
Responses
Bool
MTProto RPC
- 400 · PEER_ID_INVALID — The provided peer id is invalid.