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.