MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system
Occurs when the server 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 server 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 using SendMessage method.
|