ConnectedAffiliateProgram¶
Describes an affiliate program that was connected to an affiliate
ConnectedAffiliateProgram(
url: string,
bot_user_id: int53,
parameters: AffiliateProgramParameters,
connection_date: int32,
is_disconnected: Bool,
user_count: int64,
revenue_star_count: int53
) → ConnectedAffiliateProgram
url¶
string
The link that can be used to refer users if the program is still active
bot_user_id¶
int53
User identifier of the bot created the program
parameters¶
The parameters of the affiliate program
connection_date¶
int32
Point in time (Unix timestamp) when the affiliate program was connected
is_disconnected¶
Bool
True, if the program was canceled by the bot, or disconnected by the chat owner and isn't available anymore
user_count¶
int64
The number of users that used the affiliate program
revenue_star_count¶
int53
The number of Telegram Stars that were earned by the affiliate program