Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide
9-43
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
Chapter 9 Agent Object
Methods
errorcode
An output parameter (return parameter in VB) that contains an error code
from
from
in
Return Values
Default CTI OS return values. See
Remarks
The recipient receives the message via the OnChatMessage event.
Table 9-13 SendChatMessage Parameters
Keyword
Type
Description
Distribution (required)
STRING Currently the only supported value is
“agent”.
Target (optional)
STRING When the Distribution is set to
DistributeToAgent, this field must be
included with the AgentID of the intended
recipient. When the LoginName is set to the
LoginName of the agent to receive the chat
message, this field must also be set to the
login name of the agent to which to chat.
included with the AgentID of the intended
recipient. When the LoginName is set to the
LoginName of the agent to receive the chat
message, this field must also be set to the
login name of the agent to which to chat.
Message (optional)
STRING The text of the user message. Maximum
message size is 255 bytes.
LoginName (optional)
STRING Login name of the agent to receive the chat
message. To chat to an agent by login name,
set “LoginName” and “Target” to the login
name of the agent to which to chat.
set “LoginName” and “Target” to the login
name of the agent to which to chat.