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

IServerClientVBA::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 MessageTypingPtr As Long,     ByRef ResultCode As Long )


[in] A pointer to a variable of MessageTypingStruct type that contains information on the instant notification. To retrieve a pointer to a variable use VarPtr() function.
[out] Variable of Long type that gets an extended code if error result is returned. For available codes see Available Extended Codes topic.

Return Value

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


Delivery of message typing event can be disabled on the IM server so it is required to check that SessionFlag.SessionFlag_TypingEventDisabled flag is not set returned by IServerClientVBA::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.