Interface BusinessRecipients

Describes private chats chosen for automatic interaction with a business.

interface BusinessRecipients {
    @type: "businessRecipients";
    chat_ids: number[];
    exclude_selected?: boolean;
    excluded_chat_ids: number[];
    select_contacts?: boolean;
    select_existing_chats?: boolean;
    select_new_chats?: boolean;
    select_non_contacts?: boolean;
}

Properties

@type: "businessRecipients"
chat_ids: number[]

Identifiers of selected private chats.

exclude_selected?: boolean

If true, then all private chats except the selected are chosen. Otherwise, only the selected chats are chosen.

excluded_chat_ids: number[]

Identifiers of private chats that are always excluded; for businessConnectedBot only.

select_contacts?: boolean

True, if all private chats with contacts are selected.

select_existing_chats?: boolean

True, if all existing private chats are selected.

select_new_chats?: boolean

True, if all new private chats are selected.

select_non_contacts?: boolean

True, if all private chats with non-contacts are selected.