Skip to content

Instantly share code, notes, and snippets.

@amencke
Last active July 13, 2021 04:48
Show Gist options
  • Save amencke/4b520bc714480bde12010f73a7e5a97a to your computer and use it in GitHub Desktop.
Save amencke/4b520bc714480bde12010f73a7e5a97a to your computer and use it in GitHub Desktop.
case class PostMessageRequest(userID: UserID, message: String) extends ConversationRestEntities
trait JsonSupport extends SprayJsonSupport with DefaultJsonProtocol {
implicit val postMessageRequestFormat = jsonFormat2(PostMessageRequest)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment