payments.getConnectedStarRefBots #

Fetch all affiliations we have created for a certain peer

Layer 223

payments.connectedStarRefBots#98d5ea1d count:int connected_bots:Vector<ConnectedBotStarRef> users:Vector<User> = payments.ConnectedStarRefBots;
---functions---
payments.getConnectedStarRefBots#5869a553 flags:# peer:InputPeer offset_date:flags.2?int offset_link:flags.2?string limit:int = payments.ConnectedStarRefBots;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
peerInputPeerThe affiliated peer
offset_dateflags.2?intIf set, returns only results older than the specified unixtime
offset_linkflags.2?stringOffset for pagination, taken from the last returned connectedBotStarRef.url (initially empty)
limitintMaximum number of results to return, see pagination

Result #

payments.ConnectedStarRefBots

Only users can use this method #

Pagination in the API #

How to fetch results from large lists of objects.

connectedBotStarRef #

Info about an active affiliate program we have with a Mini App