payments.changeStarsSubscription
Aktivieren oder deaktivieren Sie ein Telegram Star-Abonnement ».
Aktivieren oder deaktivieren Sie ein [Telegram Star-Abonnement »](https://core.telegram.org/api/invites.md#paid-invite-links).
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
peer | InputPeer | Ja | Always pass [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md). |
subscription_id | string | Ja | ID of the subscription. |
canceled | Bool | Nein | Whether to cancel or reactivate the subscription. |
Antworten
Bool
MTProto RPC
- 400 · PEER_ID_INVALID – Die angegebene Peer-ID ist ungültig.