createGroup
Create a group. User-only.
Parameters
title: string
The title of the group.
Users to invite after creating the group.
messageTtl?: number
Time to live of the messages of the group that is to be created in seconds.
Result
The created group.
Syntax
// Required parameters only.
await client.createGroup(title);
// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.createGroup(title, { users, messageTtl });