FormattedOutboundChatMessage Class

Definition

Used to construct a chat message which contains formatted parts, such as emoticons, hyperlinks, and chat room links. Once constructed, you must invoke one or more of the Append methods before sending this message (see BeginSendChatMessage(FormattedOutboundChatMessage, AsyncCallback, Object)).

public ref class FormattedOutboundChatMessage
public class FormattedOutboundChatMessage
type FormattedOutboundChatMessage = class
Public Class FormattedOutboundChatMessage
Inheritance
FormattedOutboundChatMessage

Constructors

FormattedOutboundChatMessage()

Initializes a new instance of the Object class.

FormattedOutboundChatMessage(Boolean)

Initializes a new instance of the FormattedOutboundChatMessage class, optionally marking the message as an alert.

FormattedOutboundChatMessage(Boolean, String)

Initializes a new instance of the FormattedOutboundChatMessage class. This constructor is used to create a story message. Story messages have a title which appears in the chat as a clickable link. When clicked, a dialog appears which shows the remaining message content.

Properties

FormattedMessageParts

Parses the chat message into MessagePart segments, and returns a collection of the parts found.

IsAlert

Gets a value indicating whether this instance is alert.

MessageContent

Gets the raw content of the chat message, after all message parts have been formatted.

StoryTitle

Gets the story title, or null if this is not a story message.

Methods

AppendChatRoomLink(ChatRoomSummary)

Appends the chat room link.

AppendEmoticon(ChatEmoticon)

Appends the emoticon.

AppendHyperLink(String, Uri)

Appends the hyper link.

AppendPlainText(String)

Appends a plain text message part.

Applies to