SFS2X Objective-C API  1.7.13
iOS / macOS / tvOS
ModeratorMessageRequest.h
1 //
2 // ModeratorMessageRequest.h
3 // SFS2X
4 //
5 // Original development by Infosfer Game Technologies Ltd. | http://www.infosfer.com.
6 //
7 // Maintained and developed by A51 Integrated.
8 // Copyright 2012 A51 Integrated | http://a51integrated.com. All rights reserved.
9 //
10 
11 
12 #import "GenericMessageRequest.h"
13 
15 
16 /** Send a Moderator Message to a specific User or groups of Users
17 
18  The sender must have the moderator privileges to be able to send these kinds of messages.
19  The <b>recipient</b> parameter can be used to specify if the message is sent to a User, a Room, the Room Group or the whole Zone.
20 
21  @see MessageRecipientMode
22  @see ISFSEvents
23  @see onModeratorMessage
24 
25  */
26 @interface ModeratorMessageRequest : GenericMessageRequest {
27 
28 }
29 
30 -(id)initWithMessage:(NSString *)message recipientMode:(MessageRecipientMode *)recipientMode params:(id <ISFSObject>)params;
31 
32 /**
33  @param message the moderator message
34  @param recipientMode the recipient mode (message can be sent to single User, a Room, the whole Room Group or the Zone)
35  @param params custom extra parameters (optional)
36 
37  @see [ISFSEvents onModeratorMessage:]
38  @see MessageRecipientMode
39  @see AdminMessageRequest
40 
41  */
42 +(id)requestWithMessage:(NSString *)message recipientMode:(MessageRecipientMode *)recipientMode params:(id <ISFSObject>)params;
43 
44 @end
ModeratorMessageRequest
Definition: ModeratorMessageRequest.h:26
MessageRecipientMode
Definition: MessageRecipientMode.h:33