OBJECT

Conversation

Represents user’s conversation information.

link GraphQL Schema definition

  • type Conversation implements Node {
  • # External platform identifier, e.g. mobile number for text messages.
  • participant: String!
  • # Represents platform type.
  • platform: PlatformType!
  • # Indicates if the conversation is hidden.
  • hidden: Boolean!
  • # Indicates if the conversation is archived.
  • archived: Boolean!
  • # Identifies the date and time when the conversation was created.
  • createdAt: DateTime!
  • # Contact with whom the conversation is with.
  • contact: Contact
  • # Returns a list of the conversation's messages.
  • #
  • # Arguments
  • # first: Returns up to the first `n` elements from the list.
  • # after: Returns the elements that come after the specified
  • # cursor.
  • # last: Returns up to the last `n` elements from the list.
  • # before: Returns the elements that come before the specified
  • # cursor.
  • messages(first: Int, after: String, last: Int, before: String): MessageConnection!
  • # Globally unique identifier.
  • id: ID!
  • }