SFS2X Objective-C API
1.7.13
iOS / macOS / tvOS
|
#import <PublicMessageRequest.h>
Inherits GenericMessageRequest.
Instance Methods | |
(id) | - initWithMessage:params:targetRoom: |
Class Methods | |
(id) | + requestWithMessage:params:targetRoom: |
(id) | + requestWithMessage: |
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.
+ (id) requestWithMessage: | (NSString *) | message | |
params: | (id <ISFSObject>) | params | |
targetRoom: | (id <Room>) | targetRoom | |
message | the chat message |
params | custom extra parameters (optional) |
targetRoom | the target room (optional). By default it is used the last joined Room |