payments.getConnectedStarRefBot

Fetch info about a specific bot affiliation »

 Method schema is available as of layer 195. Switch »

Parameters

Name Type Description
peer InputPeer The affiliated peer
bot InputUser The bot that offers the affiliate program

Result

payments.ConnectedStarRefBots

Only users can use this method

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

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.