Skip to main content

FacebookDraft

No description

type FacebookDraft 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

FacebookDraft.agent ● Agent! non-null object common

The agent who created the draft

FacebookDraft.assignment ● Assignment object common

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

FacebookDraft.body ● String! non-null scalar common

The draft body.

FacebookDraft.contextId ● ID scalar common

The ID of the context within the conversation.

FacebookDraft.conversation ● Conversation! non-null interface common

The conversation this draft belongs to

FacebookDraft.conversationId ● ID! non-null scalar common

The conversation ID this draft belongs to

FacebookDraft.createdAt ● DateTime! non-null scalar common

The date and time that the object was created.

FacebookDraft.draftId ● String scalar common

The UUID used to identify the draft.

FacebookDraft.draftType ● DraftType enum common

The type of the draft

FacebookDraft.id ● ID! non-null scalar common

FacebookDraft.lastSyncedAt ● DateTime! non-null scalar common

The datetime when the draft was last synced.

FacebookDraft.metadata ● JSON! non-null scalar common

Metadata related to the draft

FacebookDraft.payload ● JSON scalar common

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

FacebookDraft.updatedAt ● DateTime! non-null scalar common

The date and time that the object was last updated.

FacebookDraft.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.