Layer 228
constructor
payments.suggestedStarRefBots#b4d5d859 flags:# count:int suggested_bots:Vector<StarRefProgram> users:Vector<User> next_offset:flags.0?string = payments.SuggestedStarRefBots;

Parameters

Name Type Description
Count int Total number of results (for pagination)
SuggestedBots Vector<StarRefProgram> Suggested affiliate programs (full or partial list to be fetched using pagination)
Users Vector<User> Peers mentioned in suggested_bots
NextOffset flags .0? string Next offset for pagination

Gogram Example

// Creating PaymentsSuggestedStarRefBotsObj constructor
obj := &tg.PaymentsSuggestedStarRefBotsObj{
    Count: 20,
    SuggestedBots: []tg.StarRefProgram{&tg.StarRefProgramObj{}},
    Users: []tg.User{&tg.UserObj{}},
    NextOffset: "example",
}