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

public void SendMessage(
	string messageSubject,
	string messageText,
	User user,
	IEnumerable<InformationChannel> channels,
	User messageAuthor,
	IEnumerable<Attachment> attachments
)

Параметры

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

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