CTI Client network functions (.NET)

OnChatStart

Contents  Back  Next

A chat session is starting.

 

Event OnChatStart

(

 object sender,

 bool e.bStartOK,

 String e.strUser

)

Parameters

sender

object Messages

 

e.bStartOK

Shows whether the session was successfully opened.

 

e.strUser

Extension of chat partner

 

Remarks

There are two reasons why this event might be received:

1.You have used ChatStart 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 strUser who that is. If you would like to refuse to chat, call ChatEnd Otherwise, display the windows for input and output for chatting.

 

See also

Messages overview

 


Send feedback to TAPIMaster®

© 2020 Tino Kasubke. All rights reserved.