get_connected_affiliate_program


Description:

public async ConnectedAffiliateProgram get_connected_affiliate_program (AffiliateType affiliate, int64 bot_user_id) throws TDLibError

Returns an affiliate program that were connected to the given affiliate by identifier of the bot that created the program

Parameters:

affiliate

The affiliate to which the affiliate program will be connected

bot_user_id

Identifier of the bot that created the program