SendMessage Method
      
 

Description

Sends message to the chat room.


Return Type

None  


Syntax

object.SendMessage Message


The SendMessage Method syntax has these parts:

Part Description
object An expression evaluating to an object of type XMPPChatRoom.
Message Required. A XMPPMessage object. Holds reference to message that will be sent.

Remarks

SendMessage sends predefined message to the chat room. Prior to sending, message type will be adjusted to fit chat room specifications, such as Type being changed to MsgGroupChat. Once prepared, message will be sent to the server to be delivered to the chat room. If all ok, you should expect IncomingMessage event to be fired containing your message arriving from the group.