pub async fn get_connected_affiliate_program(
affiliate: AffiliateType,
bot_user_id: i64,
client_id: i32,
) -> Result<ConnectedAffiliateProgram, Error>Expand description
Returns an affiliate program that was connected to the given affiliate by identifier of the bot that created the program
ยงArguments
affiliate- The affiliate to which the affiliate program will be connectedbot_user_id- Identifier of the bot that created the programclient_id- The client id to send the request to