/// <summary> /// Attempt to set the name of the room. /// This may fail if you do not have the required permissions. /// </summary> /// <param name="newName">New name.</param> public void SetName(string newName) { MatrixMRoomName nameEvent = new MatrixMRoomName(); nameEvent.name = newName; api.RoomStateSend(ID, "m.room.name", nameEvent); }