Skip to content

createNewBasicGroupChat

Function · TDLib 1.8.67 · d1085f9c

Creates a new basic group and sends a corresponding messageBasicGroupChatCreate. Returns information about the newly created chat

createNewBasicGroupChat(
  user_ids: list of int53,
  title: string,
  message_auto_delete_time: int32
) → CreatedBasicGroupChat

user_ids

list of int53

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

title

string

Title of the new basic group; 1-128 characters

message_auto_delete_time

int32

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