payments.changeStarsSubscription

Activate or deactivate a Telegram Star subscription ».

 메서드 스키마는 레이어 186부터 사용할 수 있습니다. 전환 »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
peer InputPeer Always pass inputPeerSelf.
subscription_id string ID of the subscription.
canceled flags.0?Bool Whether to cancel or reactivate the subscription.

Result

Bool

Only users can use this method

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

inputPeerSelf

Defines the current user.

Invite links

Chats and channels may have a public username or a private invite link: private invite links may be further enhanced with per-user join requests.