Mega icon

Mega

Work with Mega API

Chat Room → Create

AI-generated

Summary

Create a new chat room in Mega by specifying its name and optional description.

Inputs

  • chatRoomName (required) — The name of the chat room to create.
  • chatRoomDescription — An optional description providing details about the chat room.

Output shape

a single record containing details of the newly created chat room, including its unique identifier and metadata.

The output includes fields returned from the Mega API representing the created chat room. Error handling follows standard node conventions; failures will be indicated accordingly.

Examples

Example 1: Create a chat room named 'Project Alpha' with a description to coordinate project activities.

Set 'chatRoomName' to 'Project Alpha' and 'chatRoomDescription' to 'Coordination space for Project Alpha team.'

Links

Discussion