ChatFlow - Facebook chat and news feed on your computer

Message - Properties

The Message class provides many properties for each message that is received or sent. You can alter these properties when given a Message object during events.

Properties

MessageType (Message.ContentType)

This is the type of message. Use a select case to determine what type of message is sent/received.

Unknown - the message type is not handled by MessengerDiscovery
Text_Plain - this is a text message (instant message)
Control - this message is a control, used to notify of typing message etc. Use Message.ControlType to find out what control the message is
Emoticon - message is custom emoticon information
AniEmoticon - message is custom animated emoticon information

Message (String)

This is the actual message. Message.Type must be Text_Plain to set/get this property.

FromEmail (String)

This email address of the person who sent the message.

FromFriendlyNameEncoded (String)

This friendly name (URL encoded) of the person who sent the message.

ChatName (String)

This is the chat name for the message, it is only shown in IM windows.

CancelMessage (Boolean)

True causes the message to not be sent or received. False means the message will be sent or received.

Font (String)

The font name used in the message.

FontColor (String)

The font color used in the message. It is in hex BGR format and does not contain a "#".

FontEffect (String)

The font effect used in the message. It is a combination of "B" (bold), "I" (italic), "U" (Underline). For eample "BI" - the font will be bold and italic.

FontPitch (String)

The font pitch used in the message.

FontRightAlign (Boolean)

Determines wheter or not the message is right-aligned.

Bytes() (Byte Array)

Bytes of the message. This is for advanced protocol users.

PayloadHeader (Byte Array)

Information on the bytes of the message. This is for advanced protocol users.

Bytes() (Byte Array)

Bytes of the payload. This is for advanced protocol users.

Messenger Discovery
© 2009 Matt Holwood
This website is not affiliated with Microsoft Corporation
Website Design By Will Ingles - Alto Voltaje Design