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 #

NameTypeDescription
flags#Flags, see TL conditional fields
countintTotal number of results (for pagination)
suggested_botsVector<StarRefProgram>Suggested affiliate programs (full or partial list to be fetched using pagination)
usersVector<User>Peers mentioned in suggested_bots
next_offsetflags.0?stringNext offset for pagination

Type #

payments.SuggestedStarRefBots

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.