Layer 220
method Users
payments.getConnectedStarRefBots#5869a553 flags:# peer:InputPeer offset_date:flags.2?int offset_link:flags.2?string limit:int = payments.ConnectedStarRefBots;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Peer InputPeer The affiliated peer
OffsetDate flags.2?int If set, returns only results older than the specified unixtime
OffsetLink flags.2?string Offset for pagination, taken from the last returned connected Bot Star Ref. url (initially empty)
Limit int Maximum number of results to return, see pagination

Gogram Example

// PaymentsGetConnectedStarRefBots - using Params struct
result, err := client.PaymentsGetConnectedStarRefBots(&tg.PaymentsGetConnectedStarRefBotsParams{
    Peer: &tg.InputPeerUser{UserID: int64(123456789)},
    Limit: 0,

    // Optional fields:
    // OffsetDate: 0,
    // OffsetLink: "...",
})
if err != nil {
    // handle error
}
// result is *tg.PaymentsConnectedStarRefBots