Layer 220
PaymentsSuggestedStarRefBots
A list of suggested mini apps with available affiliate programs
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 |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| 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 |
Returns
payments.SuggestedStarRefBotsGogram Example
// Creating PaymentsSuggestedStarRefBots constructor obj := &tg.PaymentsSuggestedStarRefBots{ Count: 0, SuggestedBots: []tg.StarRefProgram{&tg.StarRefProgram{}}, Users: []tg.User{&tg.User{}}, // Optional fields: // NextOffset: "...", }