Give Us a Call: +1-877-99-BOPUP (877-992-6787) or Request for a Live Chat

IServerClientVB::SendMessageTypingEvent method

Sends an instant notification to a remote user if message for him is being typed. The recipient will receive and see "User is typing message..." or other similar notification event in his IM client.

Public Sub SendMessageTypingEvent(     ByRef MessageTyping As VBMessageTypingStruct,     ByRef ResultCode As UInteger )

Parameters

MessageTyping
[in] Variable of VBMessageTypingStruct structure that contains information on the instant notification.
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

Delivery of message typing event can be disabled on the IM server so it is required to check that VBEstablishFlag.TypingEventDisabled flag is not set returned by IServerClientVB::GetAccountInformation function.
It is recommended to send a message typing event for each recipient no more than once every 3 seconds to do not overload the IM server with such unused requests and data.