C# Класс Hyves.Service.MessagesService

Represents the service APIs that allow access to information on Hyves message.
Показать файл Открыть проект

Открытые методы

Метод Описание
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).

Приватные методы

Метод Описание
MessagesService ( HyvesSession session ) : System

Описание методов

SendMessage() публичный Метод

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.
Результат bool

SendMessage() публичный Метод

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.
Результат bool

SendMessageToUser() публичный Метод

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
Результат bool

SendMessageToUser() публичный Метод

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.
Результат bool