ConnectedBotStarRef#
- class pyrogram.raw.types.ConnectedBotStarRef#
Info about an active affiliate program we have with a Mini App
Constructor of
ConnectedBotStarRef
.- Details:
Layer:
198
ID:
19A13F71
- Parameters:
url (
str
) – Referral link to be shareddate (
int
32-bit
) – When did we affiliate with bot_idbot_id (
int
64-bit
) – ID of the mini app that created the affiliate programcommission_permille (
int
32-bit
) – The number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by bot_idparticipants (
int
64-bit
) – The number of users that used the affiliate programrevenue (
int
64-bit
) – The number of Telegram Stars that were earned by the affiliate programrevoked (
bool
, optional) – If set, this affiliation was revoked by the affiliate using payments.editConnectedStarRefBot, or by the affiliation program owner using bots.updateStarRefProgramduration_months (
int
32-bit
, optional) – Number of months the program will be active; if not set, there is no expiration date.