abacusai.cowork_dispatch_message

Classes

CoworkDispatchMessage

CoWork Dispatch Message

Module Contents

class abacusai.cowork_dispatch_message.CoworkDispatchMessage(client, dispatchMessageId=None, state=None, deploymentConversationId=None, deliverySeq=None, targetDesktopDeviceId=None, mobileDeviceId=None, messageText=None, workspaceOverride=None, createdAt=None, ackedAt=None, completedAt=None)

Bases: abacusai.return_class.AbstractApiClass

CoWork Dispatch Message

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • dispatchMessageId (str) – The unique ID of the dispatch message

  • state (str) – The current state of the dispatch (e.g. pending, completed, failed, cancelled, waiting_approval)

  • deploymentConversationId (id) – The ID of the deployment conversation the dispatch belongs to

  • deliverySeq (int) – The monotonic delivery sequence number for the target desktop device

  • targetDesktopDeviceId (str) – The ID of the desktop device the dispatch is targeted at

  • mobileDeviceId (str) – The ID of the mobile device that originated the dispatch

  • messageText (str) – The text of the dispatched message

  • workspaceOverride (str) – Opaque workspace id the desktop should open for this dispatch

  • createdAt (str) – The creation timestamp

  • ackedAt (str) – The timestamp when the dispatch was acknowledged

  • completedAt (str) – The timestamp when the dispatch reached a terminal state

dispatch_message_id = None
state = None
deployment_conversation_id = None
delivery_seq = None
target_desktop_device_id = None
mobile_device_id = None
message_text = None
workspace_override = None
created_at = None
acked_at = None
completed_at = None
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict