OBJECT

Note

Chat message object

link GraphQL Schema definition

  • type Note {
  • # url for note audio
  • attached_audio_url: String
  • # url for note image
  • attached_image_url: String
  • # note content
  • content: String
  • # conversation id
  • conversation_id: ID
  • # The time at which this note was created
  • created_at: String!
  • # User who created note
  • creator: User
  • # True if this note deleted by a user
  • deleted_by_user: Boolean!
  • # id for note document
  • document_id: ID
  • # Name of attached document
  • document_name: String
  • # The unique identifier of the note
  • id: ID!
  • # Name of attached image
  • image_name: String
  • # True if this note is using as auto response message
  • is_autoresponse: Boolean!
  • # A User which created a Note on behalf of a Conversation Owner
  • on_behalf_user: User
  • # receiver of note
  • recipient_id: ID @deprecated( reason: "Use conversation_memberships of conversation instead" )
  • # Scheduled sent at
  • scheduled_at: String
  • # Get associated task with a chat message
  • task: Task
  • # The time at which this note was updated or marked as deleted by a user
  • updated_at: String!
  • # creator of note
  • user_id: ID
  • # conditional to see if user recipient viewd note. In community chats, you need to
  • # pass in a viewer_id
  • #
  • # Arguments
  • # viewer_id: ID of the user that you want to check has viewed the
  • # note
  • viewed(viewer_id: ID): Boolean
  • }