SFS2X Objective-C API
1.7.13
iOS / macOS / tvOS
|
#import <BuddyMessageRequest.h>
Inherits GenericMessageRequest.
Instance Methods | |
(id) | - initWithMessage:targetBuddy:params: |
Class Methods | |
(id) | + requestWithMessage:targetBuddy:params: |
(id) | + requestWithMessage:targetBuddy: |
BuddyMessage(s) are similar to private chat messages but are specifically designed for the Buddy List system.
They don't require any Room parameter, nor do they require that Users are joined into any particular Room. Additionally the Buddy Message performs specific validation such as making sure that the recipient is in the User's BuddyList and verifies the Buddy block status.
+ (id) requestWithMessage: | (NSString *) | message | |
targetBuddy: | (id <Buddy>) | targetBuddy | |
Send a Buddy Message to the server
message | the message |
targetBuddy | the recipient of the message |
+ (id) requestWithMessage: | (NSString *) | message | |
targetBuddy: | (id <Buddy>) | targetBuddy | |
params: | (id <ISFSObject>) | params | |
Send a Buddy Message to the server
message | the message |
targetBuddy | the recipient of the message |
params | custom parameters (e.g. the textfield font and color, a sender avatar id, or any other data...) |