SmartFoxServer 2X C++ API
|
Send a Admin Message to a specific User or groups of Users More...
#include <AdminMessageRequest.h>
Inherits Sfs2X::Requests::GenericMessageRequest.
Public Member Functions | |
AdminMessageRequest (string message, boost::shared_ptr< MessageRecipientMode > recipientMode, boost::shared_ptr< ISFSObject > parameters) | |
AdminMessageRequest (string message, boost::shared_ptr< MessageRecipientMode > recipientMode) | |
AdminMessageRequest(string, boost::shared_ptr<MessageRecipientMode>, boost::shared_ptr<ISFSObject>) More... | |
Send a Admin Message to a specific User or groups of Users
The sender must have the admin 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.
Sfs2X::Requests::AdminMessageRequest::AdminMessageRequest | ( | string | message, |
boost::shared_ptr< MessageRecipientMode > | recipientMode, | ||
boost::shared_ptr< ISFSObject > | parameters | ||
) |
Constructor
message | the admin message |
recipientMode | the recipient mode (message can be sent to single User, a Room, the whole Room Group or the Zone) |
parameters | custom extra parameters |
Sfs2X::Requests::AdminMessageRequest::AdminMessageRequest | ( | string | message, |
boost::shared_ptr< MessageRecipientMode > | recipientMode | ||
) |