PublicAPI.Portal.Messages.SendMessageДокументация ELMA API
Отправить сообщение пользователям. Каналы и автор сообщения не указываются
 
 
Синтаксис

public void SendMessage(
	string messageSubject,
	string messageText,
	IEnumerable<User> users,
	IEnumerable<Attachment> attachments
)

Параметры

messageSubject
Тип: System String
Тема сообщения
messageText
Тип: System String
Текст сообщения
users
Тип: System.Collections.Generic IEnumerable User 
Получатели. Объект. Путь доступа: PublicAPI.Portal.Security.User
attachments
Тип: System.Collections.Generic IEnumerable Attachment 
Вложения. Объект. Путь доступа: PublicAPI.Portal.Objects.Common.Attachment
Примеры

Пример использования данной функции смотрите тут
См. также