payments.GetConnectedStarRefBots
- class pyrogram.raw.functions.payments.GetConnectedStarRefBots
Fetch all affiliations we have created for a certain peer
- Details:
Layer:
223ID:
5869A553
- Parameters:
peer (
InputPeer) – The affiliated peerlimit (
int32-bit) – Maximum number of results to return, see paginationoffset_date (
int32-bit, optional) – If set, returns only results older than the specified unixtimeoffset_link (
str, optional) – Offset for pagination, taken from the last returned connectedBotStarRef.url (initially empty)
- Returns:
TL Schema
payments.getConnectedStarRefBots#5869a553
flags:#
peer:InputPeer
offset_date:flags.2?int
offset_link:flags.2?string
limit:int
= payments.ConnectedStarRefBots
Parameter Tree
GetConnectedStarRefBots
├── 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├── offset_date →
int (optional)├── offset_link →
string (optional)└── limit →
intExample
await app.invoke(
GetConnectedStarRefBots(
peer=await app.resolve_peer(chat_id),
offset_date=0,
offset_link="text",
limit=0,
)
)