C# Class Hyves.Service.MessagesService

Represents the service APIs that allow access to information on Hyves message.
Datei anzeigen Open project: Sitecore/Hyves-network-provider-for-Sitecore-Social-Connected-1.3

Public Methods

Method Description
SendMessage ( string title, string body, Collection targetUserIds, Collection hubIds, Collection groupIds ) : bool

Send a private message to multiple targets. This corresponds to the messages.send Hyves method.

Spam sensitive method (for trusted partners only).

SendMessage ( string title, string body, string targetUserId ) : bool

Send a private message to multiple targets. This corresponds to the messages.send Hyves method.

Spam sensitive method (for trusted partners only).

SendMessageToUser ( string title, string body, Collection targetUserIds ) : bool

Send a private message to an user. This corresponds to the messages.sendToUser Hyves method.

Spam sensitive method (for trusted partners only).

SendMessageToUser ( string title, string body, string targetUserId ) : bool

Send a private message to an user. This corresponds to the messages.sendToUser Hyves method.

Spam sensitive method (for trusted partners only).

Private Methods

Method Description
MessagesService ( HyvesSession session ) : System

Method Details

SendMessage() public method

Send a private message to multiple targets. This corresponds to the messages.send Hyves method.
Spam sensitive method (for trusted partners only).
public SendMessage ( string title, string body, Collection targetUserIds, Collection hubIds, Collection groupIds ) : bool
title string Title of the message.
body string Body of the message.
targetUserIds Collection
hubIds Collection A list of hubs.
groupIds Collection A list of groups.
return bool

SendMessage() public method

Send a private message to multiple targets. This corresponds to the messages.send Hyves method.
Spam sensitive method (for trusted partners only).
public SendMessage ( string title, string body, string targetUserId ) : bool
title string Title of the message.
body string Body of the message.
targetUserId string A single user.
return bool

SendMessageToUser() public method

Send a private message to an user. This corresponds to the messages.sendToUser Hyves method.
Spam sensitive method (for trusted partners only).
public SendMessageToUser ( string title, string body, Collection targetUserIds ) : bool
title string Title of the message.
body string Body of the message.
targetUserIds Collection
return bool

SendMessageToUser() public method

Send a private message to an user. This corresponds to the messages.sendToUser Hyves method.
Spam sensitive method (for trusted partners only).
public SendMessageToUser ( string title, string body, string targetUserId ) : bool
title string Title of the message.
body string Body of the message.
targetUserId string A single userid.
return bool