export class Message { content : string ; timestamp : Date ; avatar : string ; constructor ( content , avatar , timestamp ? ) { this . content = content ; this . timestamp = timestamp ; this . avatar = avatar ; } }