ChatThreadState
public enum ChatThreadState : Comparable
Enum representing the possible states of a chat thread.
State | Description |
---|---|
pending |
Thread has been created locally. |
received |
Thread has been received from the server (not yet loaded). |
loaded |
Thread has been loaded (not yet recovered). |
ready |
Thread has been prepared to use (loaded metadata and recovered all messages). |
closed |
Thread has been archived or closed. |
Each case corresponds to a specific state of the chat thread, providing clarity on its current status.
-
Thread has been created locally
Declaration
Swift
case pending
-
Thread has been received from the server (not yet loaded)
Declaration
Swift
case received
-
Thread has been loaded (not yet recovered)
Declaration
Swift
case loaded
-
Thread has been prepared to use (loaded metadata and recovered all messages)
Declaration
Swift
case ready
-
Thread has been archived or closed
Declaration
Swift
case closed