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
  • id: ID!
  • # Name of attached image
  • image_name: String
  • # True if this note is using as auto response message
  • is_autoresponse: Boolean
  • # receiver of note
  • recipient_id: ID
  • # Scheduled sent at
  • scheduled_at: String
  • # 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
  • }