Set Room Key ID (Realtime)

Prev Next

This method marks an existing room as encrypted.

Method

Required Auth

e2e.setRoomKeyID

Yes

Payload parameters

Argument

Example

Required

Description

rid

kjfospmc9d

Required

The room ID that is being updated.

keyID

uriejscjsroencz

Required

The key ID to add to the room.

Example call

{
    "msg": "method",
    "method": "e2e.setRoomKeyID",
    "id": "8",
    "params": [
        "rid",
        "keyID"
    ]
}

Example response

{
    "msg": "result",
    "id": "8",
    "result": 1
}

Changelog

Version

Description

0.70.0

Added