Interface GetChatAffiliatePrograms

Returns affiliate programs that were connected to the given chat. Request type for Tdjson#getChatAffiliatePrograms.

interface GetChatAffiliatePrograms {
    @type: "getChatAffiliatePrograms";
    chat_id: number;
    limit: number;
    offset: string;
}

Properties

@type: "getChatAffiliatePrograms"
chat_id: number

Identifier of the chat for which the affiliate programs were 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.

limit: number

The maximum number of affiliate programs to return.

offset: string

Offset of the first affiliate program to return as received from the previous request; use empty string to get the first chunk of results.