Skip to content

Instantly share code, notes, and snippets.

@erwan-lemonnier
Created November 28, 2020 04:12
Show Gist options
  • Save erwan-lemonnier/d451cff03c0b36169e2ae346b0b2c69b to your computer and use it in GitHub Desktop.
Save erwan-lemonnier/d451cff03c0b36169e2ae346b0b2c69b to your computer and use it in GitHub Desktop.
message added event
{
"timestamp": "2020-11-28T04:11:40.530Z",
"eventId": "string",
"eventType": "MESSAGE_ADDED",
"message": {
"messageId": "string",
"chatId": "string",
"parentId": "string",
"isRead": true,
"type": "USER",
"text": "string",
"authorAvatar": "string",
"authorName": "string",
"authorUserId": "string",
"createdAt": "string",
"updatedAt": "string",
"epochCreated": 0
},
"chat": {
"chatId": "string",
"type": "1_ON_1",
"title": "string",
"activityId": "string",
"groupId": "string",
"isEmpty": true,
"lastMessage": {
"isMine": true,
"text": "string",
"authorName": "string",
"authorAvatar": "string",
"parentId": "string",
"createdAt": "string",
"updatedAt": "string"
},
"hasUnread": true,
"owners": [
{
"userId": "string",
"avatar": "string",
"displayName": "string"
}
],
"avatars": [
"string"
],
"createdAt": "string"
},
"channelId": "string"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment