ChatThreadState

public enum ChatThreadState extends Enum<ChatThreadState>

Current state of a ChatThread.

Entries

Link copied to clipboard

A locally created thread that has not yet been verified by the server.

Link copied to clipboard

A thread that has been received from the server, probably via ThreadListRecievedEvent, but is not yet ready for use.

Link copied to clipboard

A thread that has been received from the server and has had its metadata loaded.

Link copied to clipboard

A thread that is completely ready for use, either because it was locally created or because both the metadata and thread details have been recovered.

Link copied to clipboard

The thread was closed, no more messages or events should be sent via its handler.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
private final String name
Link copied to clipboard
private final Integer ordinal

Functions

Link copied to clipboard

Current state of a ChatThread.

Link copied to clipboard
public final String getName()
Link copied to clipboard
public final Integer getOrdinal()
Link copied to clipboard
public final ChatThreadState valueOf(String value)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public final Array<ChatThreadState> values()

Returns an array containing the constants of this enum type, in the order they're declared.