Layer 220
PaymentsFulfillStarsSubscription
Re-join a private channel associated to an active Telegram Star subscription.
method
Users
payments.fulfillStarsSubscription#cc5bebb3 peer:InputPeer subscription_id:string = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | Always pass input Peer Self. |
| SubscriptionId | string | ID of the subscription. |
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Gogram Example
// PaymentsFulfillStarsSubscription - positional arguments result, err := client.PaymentsFulfillStarsSubscription(&tg.InputPeerUser{UserID: int64(123456789)}, "...") if err != nil { // handle error } // result is *tg.Bool