Improved
[Core API] Draft and conversation sharing
over 4 years ago by Xavier
Added support for sharing drafts and adding/removing teammates as followers of a conversation.
Added
- New property
draft_modeon the Message data model. Its value can be eithernull(for a non-draft message),"private"(for a draft visible to its author only) or"shared"(for a draft visible to all teammates with access to the conversation - New optional body field
modewhen creating a draft to decide which mode to create the draft into. It supports two values:"private"(default) and"shared". - New optional body field
modewhen editing a draft. It only support the value"shared"to make a private draft shared. - New endpoints
POST /conversations/:conversation_id/followersandDELETE /conversations/:conversation_id/followersto control the teammates following a conversation.
Deprecated
- The property
is_draftof the Message data model is now deprecated in favor of the new propertydraft_mode.
