MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system


TMsgClient.OnReceiveTextMessage
TMsgClient
Top 

Occurs when the client receives a custom message.

type TMsgOnReceiveTextMessage = procedure (
      const FromUserID:          Cardinal; 
      const SendingDate,DeliveryDate:    TDateTime; 
      const Text:             String
                     ) of object;

property OnReceiveTextMessage: TMsgOnReceiveTextMessage;

Description
OnReceiveTextMessage occurs when the client receives a custom text message.
FromUserID is an identifier of the sender, i.e. UserID or ServerID.
SendingDate - date and time when message was sent.
DeliveryDate - date and time when message was delivered.
Text - message text.

You can send message to client using SendMessage method.


© AidAim Software MsgCommunicator: