Skip to main content

TwitterDraft

No description

type TwitterDraft implements Draft {
agent: Agent!
assignment: Assignment
body: String!
contextId: ID
conversation: Conversation!
conversationId: ID!
createdAt: DateTime!
draftId: String
draftType: DraftType
id: ID!
lastSyncedAt: DateTime!
metadata: JSON!
payload: JSON
updatedAt: DateTime!
version: Int!
}

Fields

TwitterDraft.agent ● Agent! non-null object common

The agent who created the draft

TwitterDraft.assignment ● Assignment object common

The agents and/or teams that are assigned to the draft.

TwitterDraft.body ● String! non-null scalar common

The draft body.

TwitterDraft.contextId ● ID scalar common

The ID of the context within the conversation.

TwitterDraft.conversation ● Conversation! non-null interface common

The conversation this draft belongs to

TwitterDraft.conversationId ● ID! non-null scalar common

The conversation ID this draft belongs to

TwitterDraft.createdAt ● DateTime! non-null scalar common

The date and time that the object was created.

TwitterDraft.draftId ● String scalar common

The UUID used to identify the draft.

TwitterDraft.draftType ● DraftType enum common

The type of the draft

TwitterDraft.id ● ID! non-null scalar common

TwitterDraft.lastSyncedAt ● DateTime! non-null scalar common

The datetime when the draft was last synced.

TwitterDraft.metadata ● JSON! non-null scalar common

Metadata related to the draft

TwitterDraft.payload ● JSON scalar common

The payload of the draft, which is a schemaless JSON object

TwitterDraft.updatedAt ● DateTime! non-null scalar common

The date and time that the object was last updated.

TwitterDraft.version ● Int! non-null scalar common

The draft version

Interfaces

Draft interface common

An object with timestamp fields for when it was created and last updated.