Inherits from GenericMessageRequest : BaseRequest : NSObject
Declared in BuddyMessageRequest.h
BuddyMessageRequest.m

Overview

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.

Tasks

Class Methods

requestWithMessage:targetBuddy:

Send a Buddy Message to the server

+ (id)requestWithMessage:(NSString *)message targetBuddy:(id<Buddy>)targetBuddy

Parameters

message

the message

targetBuddy

the recipient of the message

Discussion

Send a Buddy Message to the server

Declared In

BuddyMessageRequest.h

requestWithMessage:targetBuddy:params:

Send a Buddy Message to the server

+ (id)requestWithMessage:(NSString *)message targetBuddy:(id<Buddy>)targetBuddy params:(id<ISFSObject>)params

Parameters

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…)

Discussion

Send a Buddy Message to the server

Declared In

BuddyMessageRequest.h