Identifier of the chat for which affiliate programs are searched for. 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.
The maximum number of affiliate programs to return.
Offset of the first affiliate program to return as received from the previous request; use empty string to get the first chunk of results.
Sort order for the results.
Searches affiliate programs that can be applied to the given chat. Request type for Tdjson#searchAffiliatePrograms.