import { ChatUnion, ErrorUnion } from '../outputs'; /** * Creates a new basic group and sends a corresponding messageBasicGroupChatCreate. * Returns the newly created chat * @param {Object} params * @param {number[]} [params.userIds] - Identifiers of users to be added to the basic * group * @param {string} [params.title] - Title of the new basic group; 1-128 characters * @param {Object} state * @returns {ChatUnion | ErrorUnion} */ export declare type CreateNewBasicGroupChatMethod = (params: CreateNewBasicGroupChatParams, state?: Record) => Promise; export interface CreateNewBasicGroupChatParams { /** Identifiers of users to be added to the basic group */ userIds?: number[]; /** Title of the new basic group; 1-128 characters */ title?: string; }