Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class TextMessage extends Message
- # Represents an incoming message from the chat.
- #
- # user - A User instance that sent the message.
- # text - A String message.
- # id - A String of the message ID.
- constructor: (@user, @text, @id) ->
- super @user
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement