payments.connectedStarRefBots #

Active affiliations

Layer 223

payments.connectedStarRefBots#98d5ea1d count:int connected_bots:Vector<ConnectedBotStarRef> users:Vector<User> = payments.ConnectedStarRefBots;

Parameters #

NameTypeDescription
countintTotal number of active affiliations
connected_botsVector<ConnectedBotStarRef>The affiliations
usersVector<User>Peers mentioned in connected_bots

Type #

payments.ConnectedStarRefBots

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.