OBJECT

Conversation

An association between conversation holders

link GraphQL Schema definition

  • type Conversation {
  • # The user who closed the conversation
  • closed_by: User
  • # The date the conversation was closed
  • closed_date: String
  • # Display default name for community chat
  • community_chat_prefix: String
  • # All ConversationMemberships associated with this conversation.
  • conversation_memberships: [ConversationMembership!]!
  • # The number of users in the conversation
  • conversation_memberships_count: Int
  • # The time the Conversation was created
  • created_at: String!
  • # The conversation membership for the current user
  • current_user_conversation_membership: ConversationMembership
  • # ID of dietitian
  • dietitian_id: ID
  • # first four invitees to the conversation
  • first_four_invitees: [User!]
  • # The unique identifier of the conversation
  • id: ID!
  • # Whether the conversation includes multiple clients
  • includes_multiple_clients: Boolean
  • # The invitees to the conversation
  • invitees: [User!]
  • # Whether the conversation is hidden for the client
  • is_hidden_for_client: Boolean
  • # The content of the last note, with HTML stripped
  • last_message_content: String
  • # ID of the last note of conversation that was sent by the convo owner and viewed
  • # by the patient
  • last_note_viewed_id: String
  • # The subject of conversation
  • name: String
  • # All notes associated with this conversation.
  • notes: [Note!]!
  • # owner of conversation
  • owner: User
  • # ID of patient
  • patient_id: ID
  • # The last time the conversation was updated
  • updated_at: String!
  • # invitees to the conversation
  • user_groups: [UserGroup!]
  • }