PublicAPI.Portal.Messages.AddMessageToInfoChannel ELMA API Documentation
Add a message to an information channel
 
 
Syntax

public void AddMessageToInfoChannel(
	string messageSubject,
	string messageText,
	InformationChannel infoChannel
)

Parameters

messageSubject
Type: System String
Message subject
messageText
Type: System String
Message text
infoChannel
Type: InformationChannel
Infochannel. Object. Access path: PublicAPI.Portal.Objects.Messages.InformationChannel
Examples

//load the information channel by ID 
var infoChannel = PublicAPI.Portal.Objects.Messages.InformationChannel.Load(3);
//message subject 
var messSubject = "message subject";
//message text 
var messText = "message text";

//send the message to the information channel
PublicAPI.Portal.Messages.AddMessageToInfoChannel(messSubject, messText, infoChannel);
See Also