|  Developer
Updated on November 21, 2021

hub.room.name.set

  • Set room name.
BroadcastsDescription
hub.room.editedinforms about room name was changed
Edit
				
					 {
        "method": "hub.room.name.set",
        "id": "_ID_",
        "params": {
            "_id": "_OBJECT_ID_",
            "name":"_NEW_NAME_"
        }
    }				
			
Field Description
_id Room’s id
name New room name, can’t be empty
Edit
				
					 {
        "error": null,
        "id": "_ID_",
        "result": {}
    }				
			
Edit
Code Message Data
-32600 Bad request, name is empty rpc.params.empty.name
-32600 Bad request, name does not exist rpc.params.notfound.name
-32500 Room not found nma.room.notfound