Back to product page

Type property


Determines type of the message.

Type

MessageTypesEnum enumeration

Syntax

  • Basic
object.Type [= value]
The Type(object,value) syntax has these parts:
objectAn expression evaluating to an object of type XMPPMessage
valueMessageTypesEnum enumeration

Remarks

This property will define what type of message will be sent, or is received by the component. Depending on this property you can decide how you wish to display it to the user. Typically you will exchange MsgNormal or MsgChat. When you receive MsgError you know you should check for ErrorCode and ErrorText properties.

Platforms

Windows