Work with Purposes

Use the Purpose class to work with purposes for a channel or conversation.

Purpose Methods

The following are methods for Purpose.

getCreator()

Signature

Return Value

Type: String

getLastSet()

Signature

Return Value

Type: Integer

getValue()

Signature

Return Value

Type: String

setCreator(creator)

Signature

Parameters

creator

Type: String

Return Value

Type: void

setLastSet(lastSet)

Signature

Parameters

lastSet

Type: Integer

Return Value

Type: void

setValue(value)

Signature

Parameters

value

Type: String

Return Value

Type: void