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


TMsgClient.OnReceiveBinaryMessage
TMsgClient
Top 

Occurs when the client receives a custom message.

type TMsgOnReceiveBinaryMessage = procedure (
      const FromUserID:          Cardinal; 
      const SendingDate,DeliveryDate:    TDateTime; 
      Buffer:             PAnsiChar; 
      Size:                Integer

                       ) of object;

property OnReceiveBinaryMessage: TMsgOnReceiveBinaryMessage;

Description
OnReceiveBinaryMessage occurs when the client receives a custom binary 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.
Buffer is a binary data of the message.
Size is a length of the Buffer in bytes.
You can send message to client using SendMessage method.



© AidAim Software MsgCommunicator: Delphi Messenger Sdk Instant Messaging Sdk Im Sdk