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).
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
peer | InputPeer | أيوه | Always pass [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md). |
subscription_id | string | أيوه | ID of the subscription. |
canceled | Bool | لأ | Whether to cancel or reactivate the subscription. |
الردود
Bool
MTProto RPC
- 400 · PEER_ID_INVALID — The provided peer id is invalid.