OBJECT

Message

Represents single message in thread.

link GraphQL Schema definition

  • type Message implements Node {
  • # Identifier of the message's sender.
  • from: String!
  • # Identifier of the message's recipient.
  • to: String!
  • # Content of the message.
  • body: String
  • # Current status of the message.
  • status: MessageStatus!
  • # Direction of the message.
  • direction: MessageDirection!
  • # Message failure description.
  • error: MessageError
  • # Identifies the date and time when the message was created.
  • createdAt: DateTime!
  • # Identifier of the update that message was part of.
  • updateId: ID
  • # List of attachments in the message.
  • media: [MessageMedia!]!
  • # Globally unique identifier.
  • id: ID!
  • }