Section II – Functional Modules > Chat Interaction Interface > Object Model         Bottom of Page
Genesys 8.1
SCXML Technical Reference
                        Functions >

Object Model

_genesys.FMname Object

There are no properties at this time.

chat Object

The following is the ECMAScript object which contains the interaction extensions for chat-related interactions. This object is accessible through the _genesys.FMname.interactions[].chat property. These properties can be dynamically accessed using the following format: _genesys.FMname.interactions[x].[_genesys.FMname.interactions[x].category].xxx. They are also accessible via actions or events.

The following are the chat extension properties for the interaction object.

Name

Access

Type

Default Value

Valid Values

Description

type

read only

string

none

unknown, chat, chatrequest, cobrowse,

This is the origin type of the interaction.

state

read only

string

none

new, queued,

abandoned, processing, complete, unknown

This is the state of the interaction.

media

read only

string

none

The following properties from the _genesys.ixn.mediaType object:

TMediaAny, TMediaChat, TMediaCoBrowsing, TMediaIMChat

This is the originating media type of the interaction.

categories

read only

array of strings

none

none

This is the current set of categories assigned to this interaction.

externalID

read only

string

none

none

This is the ID of the interaction that has been assigned by the originating media server.

chatp Object

The following are the chat-specific values for the following party object.

Name

Access

Type

Default Value

Valid Values

Description

state

read only

string

none

processing, held, accepted, declined, completed, unknown

This is the state of the party in relationship to the interaction.

chatmessage Object

The following are the chat message object properties:

Name

Access

Type

Default Value

Valid Values

Description

date

read only

integer

none

none

This is the number of seconds since 1/1/1970.

device

read only

URI

none

Any valid string or resource object.

This is the device address of the party that created the message.

text

read only

string

none

none

This is the text message that was sent.

Object Ownership

The ownership policies are the same as for the Interaction interface. For details, see the Object Ownership section for the Interaction interface.




Section II – Functional Modules > Chat Interaction Interface > Object Model         Top of Page
Genesys 8.1
SCXML Technical Reference
                        Functions >