Rufen Sie uns an: +1-877-99-BOPUP oder Anfrage für eine Live Chat

IServerClientVB::SendMultipleMessage method

Sends an instant message to several users and/or messaging groups at the same time.

Public Sub SendMultipleMessage(     ByRef Message As VBMultipleMessageStruct,     ByRef RecipientArray As System.Array,     ByRef ResultCode As UInteger )

Parameters

Message
[in] Variable of VBMultipleMessageStruct structure that contains information on the instant message.
RecipientArray
[in] Array of VBRecipientStruct structure that contains recipients of the message.
ResultCode
[out] Variable of UInteger type that gets an extended code if error result is returned. For available codes see Available Extended Codes topic.

Return Value

S_OK
The function was successful. Check ResultCode variable to get extended information.
E_INVALIDARG
One or more arguments are incorrect.
E_FAIL
Some error occurred in the function. Check ResultCode variable to get extended information on the error.

Remarks

The MessageKey member of the pointed VBMultipleMessageStruct contains a unique key if the call of the method is succeeded. That value can be used to identify the outgoing instant messaging in the application.