ControlType
public enum ControlType : String, Codable
Forsta control message types (used in the Forsta message exchange payload)
-
Update thread metadata – any attributes set in
.data
.threadUpdate
will be usedDeclaration
Swift
case threadUpdate
-
Clear history of current thread across my devices
Declaration
Swift
case threadClear
-
Archive thread across my devices (WITHOUT leaving the distribution)
Declaration
Swift
case threadArchive
-
Restore/unarchive thread across my devices
Declaration
Swift
case threadRestore
-
Delete the thread (leaving the distribution) across my devices
Declaration
Swift
case threadDelete
-
Indicate to thread participants where your read-position is
Declaration
Swift
case readMark
-
Indicate that user is actively typing a message for the thread
Declaration
Swift
case pendingMessage
-
Stop notifications, etc. for a period. See
snoozeUntil
in the payload.Declaration
Swift
case snooze
-
Request to assist in provisioning a new device
Declaration
Swift
case provisionRequest
-
Request synchronization with a device’s own peers (self devices)
Declaration
Swift
case syncRequest
-
Respond to
.syncRequest
Declaration
Swift
case syncResponse
-
Discover threads from peers
Declaration
Swift
case discoverRequest
-
Response to
.discoverRequest
Declaration
Swift
case discoverResponse
-
Ask a client for any pre-messages it has for the sender
Declaration
Swift
case preMessageCheck
-
Client prompting a bot to perform an ACL operation
Declaration
Swift
case aclRequest
-
Bot responding to
.aclRequest
Declaration
Swift
case aclResponse
-
Block a user by ID
Declaration
Swift
case userBlock
-
Unblock a user by ID
Declaration
Swift
case userUnblock
-
Initiate contact with peers
Declaration
Swift
case beacon
-
Extended metadata for a message using the END_SESSION flag
Declaration
Swift
case closeSession
-
A broadcast offer of or intent to participate in an WebRTC call
Declaration
Swift
case callJoin
-
A broadcast leaving/rejecting of a WebRTC call
Declaration
Swift
case callLeave
-
Offering a WebRTC connection to a specific device in a call
Declaration
Swift
case callOffer
-
Accepting a connection offer from a specific device in a call
Declaration
Swift
case callAcceptOffer
-
Control message providing WebRTC call ICE candidates to establish a connection with a device
Declaration
Swift
case callICECandidates
-
Indicates that a call is ongoing with the recipient, from the sender’s perspective
Declaration
Swift
case callHeartbeat