Nurama Developers

add_chat_members

Invite users to a member chat — turns a 1:1 DM into a group chat, or grows an existing group.

Mutating tool: it changes data in Nurama. Available only when the key carries the matching scope.

Invite users to a member chat — turns a 1:1 DM into a group chat, or grows an existing group. Look up valid invitees first with get_addable_chat_members to avoid passing users outside the chat's scope.

Input

PropertyTypeRequiredDescription
chatIdstringyesUUID of the member chat.
memberIdsstring[]yesUUIDs of users to invite. min items 1

JSON Schema

{
  "type": "object",
  "properties": {
    "chatId": {
      "type": "string",
      "description": "UUID of the member chat."
    },
    "memberIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "description": "UUIDs of users to invite."
    }
  },
  "required": [
    "chatId",
    "memberIds"
  ],
  "additionalProperties": false
}

On this page