Layer 224
PaymentsSuggestedStarRefBotsObj
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 |
|---|---|---|
| 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 PaymentsSuggestedStarRefBotsObj constructor obj := &tg.PaymentsSuggestedStarRefBotsObj{ Count: 42, SuggestedBots: []tg.StarRefProgram{&tg.StarRefProgram{}}, Users: []tg.User{&tg.User{}}, // Optional fields: // NextOffset: "Hello, World!", }