Identifier of the bot, which affiliate program is connected.
Identifier of the chat to which the affiliate program will be connected. Can be an identifier of the Saved Messages chat, of a chat with an owned bot, or of a channel chat with can_post_messages administrator right.
Connects an affiliate program to the given chat. Returns information about the connected affiliate program. Request type for Tdjson#connectChatAffiliateProgram.