"For developers", "Server scripts", "Functions description", "Messages", "mSendPrivateTechMessage".

 

Sending a technical message from server to private conversation.

 

Syntax

procedure mSendPrivateTechMessage(iUIN1, iUIN2: integer; sMsg: string; iType: integer);

 

Parameters and return

Parameter

Type

Value

iUIN1

integer

identifier of the first interlocutor;

iUIN2

integer

identifier of the second message;

sMsg

string

message text. You can use line breaks (CRLF);

iType

integer

type of the technical message (0or 1). Message pictograph depends on this type.

 

A technical message comes without sender address, it displays as a separate line in a private message and does not save to the message history.

If the message is empty, then the server ignores it and do not send.

 

Example

Sending a notification to the private conversation between two users — UIN = 3, UIN = 6.

begin
  mSendPrivateTechMessage(3, 6, 'Hello, world!', 0);
end.

 

See also

mSendPrivateMessage