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

#import <PrivateMessageRequest.h>

Inherits GenericMessageRequest.

Instance Methods

(id) - initWithMessage:recipientId:params:
 

Class Methods

(id) + requestWithMessage:recipientId:params:
 
(id) + requestWithMessage:recipientId:
 

Detailed Description

Send a chat Private Message to another User

Private Messages can be exchanged between Users in the same Rooms or in different Rooms. They can also be sent between Users that are not joined to any Rooms at all.

Method Documentation

◆ requestWithMessage:recipientId:params:

+ (id) requestWithMessage: (NSString *)  message
recipientId: (NSInteger)  recipientId
params: (id <ISFSObject>)  params 
Parameters
recipientIdthe id of the recipient User
messagethe private chat message
paramscustom extra parameters (optional)
See also
[ISFSEvents onPrivateMessage:]
PublicMessageRequest