Inherits from BaseRequest : NSObject
Declared in ChangeRoomNameRequest.h
ChangeRoomNameRequest.m

Overview

Changes the name of a Room at runtime.

This request will fail if the User sending the request is not the creator of the Room.

Moderators and Administrator can override this last constraint.

If the Room was configured so that renaming is not allowed (see the RoomSettings.permissions parameter), the request is ignored and no error is fired.

Class Methods

requestWithRoom:newName:

the Room to rename

+ (id)requestWithRoom:(id<Room>)room newName:(NSString *)newName

Parameters

room

the Room to rename

newName

the new Room name (no duplicates are allowed)

Declared In

ChangeRoomNameRequest.h