payments.GetConnectedStarRefBots

class pyrogram.raw.functions.payments.GetConnectedStarRefBots

Fetch all affiliations we have created for a certain peer

Details:
  • Layer: 223

  • ID: 5869A553

Parameters:
  • peer (InputPeer) – The affiliated peer

  • limit (int 32-bit) – Maximum number of results to return, see pagination

  • offset_date (int 32-bit, optional) – If set, returns only results older than the specified unixtime

  • offset_link (str, optional) – Offset for pagination, taken from the last returned connectedBotStarRef.url (initially empty)

Returns:

payments.ConnectedStarRefBots

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
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_idlong
│ ├── InputPeerUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ ├── InputPeerChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── user_idlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
├── offset_dateint (optional)
├── offset_linkstring (optional)
└── limitint

Example

await app.invoke(
    GetConnectedStarRefBots(
        peer=await app.resolve_peer(chat_id),
        offset_date=0,
        offset_link="text",
        limit=0,
    )
)