added

[Core API] Draft message status

  • Add the boolean is_draft in the message representation to make the distinction between messages still in draft mode and messages that have been sent or received.
  • Add the string error_type in the message representation to expose the type of error that caused a draft to fail to send.