payments.changeStarsSubscription
Activer ou désactiver un abonnement Telegram Star ».
Activez ou désactivez un [abonnement Telegram Star »](https://core.telegram.org/api/invites.md#paid-invite-links).
| Nom | Tapez | Obligatoire | Descriptif |
|---|---|---|---|
peer | InputPeer | Oui | Transmettez toujours [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md). |
subscription_id | string | Oui | ID de l'abonnement. |
canceled | Bool | Non | Que ce soit pour annuler ou réactiver l'abonnement. |
Réponses
Bool
MTProto RPC
- 400 · PEER_ID_INVALID — L'identifiant d'homologue fourni n'est pas valide.