Message
message
interface Message {
activity?: Activity;
channelId: string;
content: MessageContent;
messageId: string;
timestamp: Date;
type: 'message' | 'activity';
userId: string;
}
index
Properties
channelId
channel id
string
messageId
message id
string
timestamp
time sent
Date
type
message type 'activity' | 'message'
"message" | "activity"
userId
sender
string