Skip to content

getConnectedAffiliateProgram

Function · TDLib 1.8.67 · d1085f9c

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

getConnectedAffiliateProgram(
  affiliate: AffiliateType,
  bot_user_id: int53
) → ConnectedAffiliateProgram

affiliate

AffiliateType

The affiliate to which the affiliate program will be connected

bot_user_id

int53

Identifier of the bot that created the program