payments.fulfillStarsSubscription #

Re-join a private channel associated to an active Telegram Star subscription ».

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
payments.fulfillStarsSubscription#cc5bebb3 peer:InputPeer subscription_id:string = Bool;

Parameters #

NameTypeDescription
peerInputPeerAlways pass inputPeerSelf.
subscription_idstringID of the subscription.

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400PEER_ID_INVALIDThe provided peer id is invalid.

inputPeerSelf #

Defines the current user.

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.