OBJECT

Conversation

An association between conversation holders

link GraphQL Schema definition

  • type Conversation {
  • closed_by: User
  • 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 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]
  • id: ID!
  • # true if the conversation includes multiple clients
  • includes_multiple_clients: Boolean
  • # invitees to the conversation
  • invitees: [User]
  • 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
  • # 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]
  • }