135 lines · 2.7 KB · JSONRaw
{ "views": [ { "id": "all", "label": "All", "visibility": "owner", "is_default": true, "read": { "table": "thread" } }, { "id": "whatsapp", "label": "WhatsApp", "visibility": "owner", "is_default": false, "read": { "table": "thread", "where": { "channels": "whatsapp" } } }, { "id": "sms", "label": "SMS", "visibility": "owner", "is_default": false, "read": { "table": "thread", "where": { "channels": "sms" } } }, { "id": "instagram", "label": "Instagram", "visibility": "owner", "is_default": false, "read": { "table": "thread", "where": { "channels": "instagram" } } }, { "id": "starred", "label": "Starred", "visibility": "owner", "is_default": false, "read": { "table": "message", "where": { "starred_at": { "present": true } } }, "sort": { "column": "starred_at", "descending": true }, "face": "cards", "card": { "face": "message", "fields": [ { "slot": "photo", "column": "sender_photo" }, { "slot": "title", "column": "sender_label" }, { "slot": "body", "column": "display_body" }, { "slot": "date", "column": "sent_at", "form": "weekday_date" }, { "slot": "source", "column": "channel" } ] } }, { "id": "agents", "label": "Agents", "visibility": "owner", "is_default": false, "read": { "table": "session" }, "sort": { "column": "active_at", "descending": true }, "face": "cards" } ], "id": "messages", "name": "Messages", "purpose": "Your conversations and the files shared in them.", "picture": { "photo": "photo:9713719602098b4534d4aa3d950031eac5a813fc66fa11de8027b29ec5cd4f9d", "object": "tool-messages" }, "card_stock": "rose", "tables": [ "thread", "message", "story", "thread_member", "message_import", "session" ], "instructions": "", "automations": [], "server": { "needs": true, "line": "Live WhatsApp, SMS and Instagram arrive through your Cotton server and the Mac app. You can import a WhatsApp or Instagram export here now." }, "author": { "device": "cotton", "name": "Cotton" }, "signature": null}