Class ChatMessagePostResponse
java.lang.Object
edu.ucsb.cs156.happiercows.models.ChatMessagePostResponse
Response body for POST /api/chat/post.
The chat message's fields are unwrapped, so a normal post serializes exactly
like a ChatMessage. When the message contained a banned word, bannedWord and
cooldownSeconds are also included so the frontend can tell the sender that
they have been placed on a chat cooldown.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ChatMessagePostResponse
public ChatMessagePostResponse()
-