CTI Client events (ActiveX)

OnChatStart

Contents  Back  Next

A chat session is starting.

 

Event OnChatStart(

 Bool bStartOK,

 String bstrUser

)

Parameters

bStartOK

Shows whether the session was successfully opened

 

bstrUser

Extension of chat partner

 

Remarks

There are two reasons why this event might be received:

1.You have used EChatStart to request a chat session with another user. If relevant permissions are not set, the session may be refused and so bStartOK will be False. Otherwise, it will be True and you can display the relevant input and output windows for chatting.
2.Someone is trying to start a chat session with you. You can see from bstrUser who that is. If you would like to refuse to chat, call EChatEnd. Otherwise, display the windows for input and output for chatting.

 

See also

Events overview | EChatStart | EChatEnd

 


Send feedback to TAPIMaster®

© 2020 Tino Kasubke. All rights reserved.