Last active
March 17, 2022 02:30
-
-
Save wesleyguirra/18a421e61ad73c54d6b7c84590c59094 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const chats = [ | |
{ | |
id: 1, | |
users: [ | |
{ | |
id: 32, | |
phone: '+5511999882323', | |
}, | |
{ | |
id: 99, | |
phone: '+5521991234321', | |
}, | |
], | |
messages: [ | |
{ | |
id: '-MLjvqRCEhOCF2MAFjng', | |
content: 'Oi, tudo bem?', | |
sent: '2020-11-09T22:16:40-04:00', | |
sentBy: 99, | |
}, | |
{ | |
id: '-MLjvqRCEhOCF2MAFjng', | |
content: 'Tudo sim e contigo?', | |
sent: '2020-11-09T22:16:40-04:00', | |
sentBy: 32, | |
}, | |
], | |
}, | |
{ | |
id: 2, | |
users: [ | |
{ | |
id: 32, | |
phone: '+5511999882323', | |
}, | |
{ | |
id: 99, | |
phone: '+5532988882222', | |
}, | |
], | |
messages: [ | |
{ | |
id: '-MLjvqRCEhOCF2MAFjng', | |
content: 'E aquele conteúdo sobre como criar um chat?', | |
sent: '2020-11-09T22:16:40-04:00', | |
sentBy: '+5511999990000', | |
}, | |
], | |
}, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment