PublicMessageRequest Class Reference
Inherits from | GenericMessageRequest : BaseRequest : NSObject |
Declared in | PublicMessageRequest.h PublicMessageRequest.m |
Overview
Sends a chat Public Message to other users in the Room
Public Messages are broadcast to all users in the specified Room An optional custom SFSObject can be sent together with the message. The extra parameters can be used to transmit information about the font and color of the message or any other properties that are relevant to the message.
Class Methods
requestWithMessage:params:targetRoom:
the chat message
+ (id)requestWithMessage:(NSString *)message params:(id<ISFSObject>)params targetRoom:(id<Room>)targetRoom
Parameters
- message
the chat message
- params
custom extra parameters (optional)
- targetRoom
the target room (optional). By default it is used the last joined Room
Declared In
PublicMessageRequest.h