feat: add location bubble

This commit is contained in:
Shivam Mishra
2024-12-05 17:13:57 +05:30
parent 26b5c2c136
commit e7fddee4dc
5 changed files with 405 additions and 0 deletions
@@ -30,6 +30,49 @@ export default camelcaseKeys(
type: 'contact',
},
},
{
id: 5296,
content: '',
inbox_id: 486,
conversation_id: 1016,
message_type: 0,
content_type: 'text',
status: 'sent',
content_attributes: {
in_reply_to: null,
},
created_at: 1732710571,
private: false,
source_id: null,
sender: {
additional_attributes: {
created_at_ip: '::1',
},
custom_attributes: {},
email: 'anthony@example.com',
id: 599,
identifier: null,
name: 'anthony',
phone_number: null,
thumbnail: '',
type: 'contact',
},
attachments: [
{
id: 378,
message_id: 5314,
file_type: 'location',
account_id: 2,
coordinates_lat: 37.7937545,
coordinates_long: -122.3997472,
fallback_title: 'Chatwoot Inc',
extension: null,
file_size: 287949,
width: null,
height: null,
},
],
},
{
id: 5297,
content: 'Give the team a way to reach you.',