This method marks an existing room as encrypted.
Method | Required Auth |
---|---|
| Yes |
Payload parameters
Argument | Example | Required | Description |
---|---|---|---|
|
| Required | The room ID that is being updated. |
|
| 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 |