payments.suggestedStarRefBots #
A list of suggested mini apps with available affiliate programs¶
Layer 223
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) |
| suggested_bots | Vector<StarRefProgram> | Suggested affiliate programs (full or partial list to be fetched using pagination) |
| users | Vector<User> | Peers mentioned in suggested_bots |
| next_offset | flags.0?string | Next offset for pagination |
Type #
payments.SuggestedStarRefBots¶
Related pages #
Pagination in the API #
How to fetch results from large lists of objects.¶
Mini Apps on Telegram #
Bots can offer users interactive HTML5 web apps to completely replace any website.¶
Affiliate programs #
Developers can open affiliate programs for their mini app – allowing content creators, other mini app developers and any Telegram user to promote it and earn commissions on purchases made by people they referred.¶