zulip/zerver/webhooks/front/fixtures/9_inbound_message.json

139 lines
4.0 KiB
JSON

{
"_links": {
"self": "https://api2.frontapp.com/events/evt_28duo2q"
},
"id": "evt_28duo2q",
"type": "inbound",
"emitted_at": 1518309200,
"conversation": {
"_links": {
"self": "https://api2.frontapp.com/conversations/cnv_keocka",
"related": {
"events": "https://api2.frontapp.com/conversations/cnv_keocka/events",
"followers": "https://api2.frontapp.com/conversations/cnv_keocka/followers",
"messages": "https://api2.frontapp.com/conversations/cnv_keocka/messages",
"comments": "https://api2.frontapp.com/conversations/cnv_keocka/comments",
"inboxes": "https://api2.frontapp.com/conversations/cnv_keocka/inboxes"
}
},
"id": "cnv_keocka",
"subject": "Being a robot is great, but...",
"status": "unassigned",
"assignee": null,
"recipient": {
"_links": {
"related": {
"contact": "https://api2.frontapp.com/contacts/crd_62euuy"
}
},
"handle": "calculon@momsbot.com",
"role": "from"
},
"tags": [],
"last_message": {
"_links": {
"self": "https://api2.frontapp.com/messages/msg_1176r8y",
"related": {
"conversation": "https://api2.frontapp.com/conversations/cnv_keocka"
}
},
"id": "msg_1176r8y",
"type": "email",
"is_inbound": true,
"created_at": 1518309200,
"blurb": "We don't have emotions, and sometimes that makes me very sad. ",
"body": "<div>We don't have emotions, and sometimes that makes me very sad.</div>",
"text": "We don't have emotions, and sometimes that makes me very sad.\n",
"metadata": {},
"author": null,
"recipients": [
{
"_links": {
"related": {
"contact": "https://api2.frontapp.com/contacts/crd_62euuy"
}
},
"handle": "calculon@momsbot.com",
"role": "from"
},
{
"_links": {
"related": {
"contact": null
}
},
"handle": "support@planet-express.com",
"role": "to"
}
],
"attachments": []
},
"created_at": 1518309203.872
},
"source": {
"_meta": {
"type": "inboxes"
},
"data": [
{
"_links": {
"self": "https://api2.frontapp.com/inboxes/inb_6j96",
"related": {
"channels": "https://api2.frontapp.com/inboxes/inb_6j96/channels",
"conversations": "https://api2.frontapp.com/inboxes/inb_6j96/conversations",
"teammates": "https://api2.frontapp.com/inboxes/inb_6j96/teammates"
}
},
"id": "inb_6j96",
"address": "support@planet-express.com",
"send_as": "support@planet-express.com",
"name": "Support@",
"type": "gmail"
}
]
},
"target": {
"_meta": {
"type": "message"
},
"data": {
"_links": {
"self": "https://api2.frontapp.com/messages/msg_1176r8y",
"related": {
"conversation": "https://api2.frontapp.com/conversations/cnv_keocka"
}
},
"id": "msg_1176r8y",
"type": "email",
"is_inbound": true,
"created_at": 1518309200,
"blurb": "We don't have emotions, and sometimes that makes me very sad. ",
"body": "<div>We don't have emotions, and sometimes that makes me very sad.</div>",
"text": "We don't have emotions, and sometimes that makes me very sad.\n",
"metadata": {},
"author": null,
"recipients": [
{
"_links": {
"related": {
"contact": "https://api2.frontapp.com/contacts/crd_62euuy"
}
},
"handle": "calculon@momsbot.com",
"role": "from"
},
{
"_links": {
"related": {
"contact": null
}
},
"handle": "support@planet-express.com",
"role": "to"
}
],
"attachments": []
}
}
}