PublicAPI.Portal.Messages.SendMessage ELMA API Documentation
Send a message to the users
 
 
Syntax

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

Parameters

messageSubject
Type: System String
Message subject
messageText
Type: System String
Message text
users
Type: System.Collections.Generic IEnumerable User 
Recipients. Object. Access path: PublicAPI.Portal.Security.User
channels
Type: System.Collections.Generic IEnumerable InformationChannel 
Channels. Object. Access path: PublicAPI.Portal.Objects.Messages.InformationChannel
messageAuthor
Type: User
Message author. Object. Access path: PublicAPI.Portal.Security.User
attachments
Type: System.Collections.Generic IEnumerable Attachment 
Attachments. Object. Access path: PublicAPI.Portal.Objects.Common.Attachment
Examples

See the function use case in here
See Also