payments.FulfillStarsSubscription
- class pyrogram.raw.functions.payments.FulfillStarsSubscription
Re-join a private channel associated to an active Telegram Star subscription ».
- Details:
Layer:
223ID:
CC5BEBB3
- Parameters:
peer (
InputPeer) – Always pass inputPeerSelf.subscription_id (
str) – ID of the subscription.
- Returns:
bool
TL Schema
payments.fulfillStarsSubscription#cc5bebb3
peer:InputPeer
subscription_id:string
= Bool
Parameter Tree
FulfillStarsSubscription
├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── peer →
InputPeer│ │ │ ├──
InputPeerEmpty│ │ │ ├──
InputPeerSelf│ │ │ ├──
InputPeerChat│ │ │ ├──
InputPeerUser│ │ │ ├──
InputPeerChannel│ │ │ ├──
InputPeerUserFromMessage│ │ │ └──
InputPeerChannelFromMessage│ │ ├── msg_id →
int│ │ └── user_id →
long│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long└── subscription_id →
stringExample
await app.invoke(
FulfillStarsSubscription(
peer=await app.resolve_peer(chat_id),
subscription_id="text",
)
)