SFS2X Objective-C API  1.7.13
iOS / macOS / tvOS
ModeratorMessageRequest Class Reference

#import <ModeratorMessageRequest.h>

Inherits GenericMessageRequest.

Instance Methods

(id) - initWithMessage:recipientMode:params:
 

Class Methods

(id) + requestWithMessage:recipientMode:params:
 

Detailed Description

Send a Moderator Message to a specific User or groups of Users

The sender must have the moderator privileges to be able to send these kinds of messages. The recipient parameter can be used to specify if the message is sent to a User, a Room, the Room Group or the whole Zone.

See also
MessageRecipientMode
ISFSEvents
onModeratorMessage

Method Documentation

◆ requestWithMessage:recipientMode:params:

+ (id) requestWithMessage: (NSString *)  message
recipientMode: (MessageRecipientMode *)  recipientMode
params: (id <ISFSObject>)  params 
Parameters
messagethe moderator message
recipientModethe recipient mode (message can be sent to single User, a Room, the whole Room Group or the Zone)
paramscustom extra parameters (optional)
See also
[ISFSEvents onModeratorMessage:]
MessageRecipientMode
AdminMessageRequest