Message
A message is a piece of text that a user can send to a conversation.
{
id: "63bfe95c3c5365e628c0a4c4",
text: "Hit the road Jack!",
created_at: "2023-01-12T11:05:00.145Z",
file: "https://minchat-bucket.s3.amazonaws.com/pp.jpeg-1675449907119.jpeg"
user: {
id: "8843223323423" ,
name: "Mercy Wells" ,
avatar: "urltoavatar.com/mercyavatar.jpg"
}
}
Field | Type | Description |
---|---|---|
id | string | The id of the message |
text | string | The text content of the message |
file | string | The url to a file associated with this message |
created_at | string | The ISO Date the message was sent |
user | The user that sent the message |
Last modified 4mo ago