Interface CreateNewBasicGroupChat

Creates a new basic group and sends a corresponding messageBasicGroupChatCreate. Returns information about the newly created chat. Request type for Tdjson#createNewBasicGroupChat.

interface CreateNewBasicGroupChat {
    @type: "createNewBasicGroupChat";
    message_auto_delete_time: number;
    title: string;
    user_ids: number[];
}

Properties

@type: "createNewBasicGroupChat"
message_auto_delete_time: number

Message auto-delete time value, in seconds; must be from 0 up to 365 * 86400 and be divisible by 86400. If 0, then messages aren't deleted automatically.

title: string

Title of the new basic group; 1-128 characters.

user_ids: number[]

Identifiers of users to be added to the basic group; may be empty to create a basic group without other members.