Chat Class Method

The Chat class extends the Task class.

See Task Class Constructor.

The following is the Chat class method.

Syntax

gettpUrl(defaultUrl)

Description

Returns the URL for the given task for a third-party routing server.

Parameters

Parameter

Description

defaultUrl

If not null, this value will override the generated base URL.

Returns

Returns the URL associated with this task.

Syntax

getUrl(defaultUrl)

Description

Returns the URL for the given task.

Parameters

Parameter

Description

defaultUrl

The default URL for this chat. If not null this value will override the generated base URL.

Returns

Returns the URL for the chat.