Payments.ConnectedStarRefBots #

Active affiliations

Layer 223

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

---functions---

payments.getConnectedStarRefBots#5869a553 flags:# peer:InputPeer offset_date:flags.2?int offset_link:flags.2?string limit:int = payments.ConnectedStarRefBots;
payments.getConnectedStarRefBot#b7d998f0 peer:InputPeer bot:InputUser = payments.ConnectedStarRefBots;
payments.connectStarRefBot#7ed5348a peer:InputPeer bot:InputUser = payments.ConnectedStarRefBots;
payments.editConnectedStarRefBot#e4fca4a3 flags:# revoked:flags.0?true peer:InputPeer link:string = payments.ConnectedStarRefBots;

Constructors #

ConstructorDescription
payments.connectedStarRefBotsActive affiliations

Methods #

MethodDescription
payments.getConnectedStarRefBotsFetch all affiliations we have created for a certain peer
payments.getConnectedStarRefBotFetch info about a specific bot affiliation »
payments.connectStarRefBotJoin a bot's affiliate program, becoming an affiliate »
payments.editConnectedStarRefBotLeave a bot's affiliate program »

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.