💻

Webhook payload サンプル

Event Payload

(参考用) 接客チャットの重要payloadデータ

type

state

userChatId

firstOpenedAt

openedAt

接客チャットリンク

チャットの内容

お客様の名前

その他の顧客プロフィール情報

担当者Id

Sample Payload

チャットボット
image
image

ボタン選択

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d6ca6e38a0440b64d",
    "mainKey": "608d6ca6e38a0440b64d",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "bot",
    "personId": "48622",
    "createdAt": 1619881126932,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": "坂本さま、ご覧いただきありがとうございます:male_fairy::sparkles: スタッフがチャットで接客いたします:woman-tipping-hand:\n\n----\n頂いたお問い合わせは営業時間(平日11:00~18:00)に返答します!\n※●●@gmail.comより返信通知が入るため、事前にドメイン解除をお願いします。\n\n下からカテゴリをお選びください"
      }
    ],
    "plainText": "坂本さま、ご覧いただきありがとうございます🧚‍♂️✨ スタッフがチャットで接客いたします💁‍♀️\n\n----\n頂いたお問い合わせは営業時間(平日11:00~18:00)に返答します!\n※●●@gmail.comより返信通知が入るため、事前にドメイン解除をお願いします。\n\n下からカテゴリをお選びください\n[よくある質問(FAQ)]",
    "updatedAt": 1619881126935,
    "buttons": [
      {
        "title": "よくある質問(FAQ)",
        "url": "https://channel.io/ja/faq"
      }
    ],
    "action": {
      "type": "supportBot",
      "buttons": [
        {
          "key": "619541",
          "text": ":question: サイズ/生地感/色について相談する"
        },
        {
          "key": "619542",
          "text": ":gift: ギフトコンシェルジュに相談する"
        },
        {
          "key": "619543",
          "text": ":woman-tipping-hand: 店舗に直接相談する"
        },
        {
          "key": "619544",
          "text": ":teddy_bear: 商品の再入荷/在庫"
        },
        {
          "key": "619545",
          "text": ":package: 注文後の方"
        },
        {
          "key": "619546",
          "text": ":email: スタッフに直接お問い合わせ"
        }
      ]
    },
    "options": [
      "immutable",
      "doNotPost"
    ],
    "system": "welcome",
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "handling": "support",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "createdAt": 1619881126913,
      "frontMessageId": "608d6ca6e38a0440b64d",
      "frontUpdatedAt": 1619881126932,
      "deskMessageId": "608d6ca6e38a0440b64d",
      "deskUpdatedAt": 1619881126932,
      "version": 2
    },
    "bot": {
      "id": "48622",
      "channelId": "18591",
      "name": "モバイルアプリちゃん",
      "createdAt": 1577889697788,
      "avatar": {
        "bucket": "bin.channel.io",
        "key": "file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec",
        "width": 200,
        "height": 200
      },
      "color": "#9edfff",
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec"
    },
    "online": {
      "channelId": "18591",
      "personType": "user",
      "personId": "5facdcf935f31685012d",
      "id": "user-5facdcf935f31685012d"
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "379347740"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619880940825,
      "version": 94,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}
{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d6ca72bf20e025113",
    "mainKey": "608d6ca72bf20e025113",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "user",
    "personId": "5facdcf935f31685012d",
    "requestId": "1619881126665Y94p",
    "language": "ja",
    "createdAt": 1619881127180,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": ":woman-tipping-hand: 店舗に直接相談する"
      }
    ],
    "plainText": "💁‍♀️ 店舗に直接相談する",
    "updatedAt": 1619881127185,
    "submit": {
      "id": "608d6ca6e38a0440b64d",
      "key": "619543"
    },
    "options": [
      "immutable"
    ],
    "system": "supportBot",
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "handling": "support",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "createdAt": 1619881126913,
      "frontMessageId": "608d6ca72bf20e025113",
      "frontUpdatedAt": 1619881127180,
      "deskMessageId": "608d6ca72bf20e025113",
      "deskUpdatedAt": 1619881127180,
      "askedAt": 1619881127180,
      "version": 3
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "379347740"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619880940825,
      "version": 94,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}
{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d6ca9222e0961ff86",
    "mainKey": "608d6ca9222e0961ff86",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "bot",
    "personId": "48622",
    "createdAt": 1619881129140,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": "【STAFF対応時間】\n※店舗営業時間に準じます\n※順次対応させていただきます\n※対応時間外のご相談は、翌対応日の返信となります\n※店頭でのお客様の対応状況により返信が遅れる場合がございます"
      }
    ],
    "plainText": "【STAFF対応時間】\n※店舗営業時間に準じます\n※順次対応させていただきます\n※対応時間外のご相談は、翌対応日の返信となります\n※店頭でのお客様の対応状況により返信が遅れる場合がございます",
    "updatedAt": 1619881129140,
    "options": [
      "immutable",
      "doNotPost"
    ],
    "system": "supportBot",
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "handling": "support",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "createdAt": 1619881126913,
      "frontMessageId": "608d6ca9222e0961ff86",
      "frontUpdatedAt": 1619881129140,
      "deskMessageId": "608d6ca9222e0961ff86",
      "deskUpdatedAt": 1619881129140,
      "askedAt": 1619881127180,
      "version": 4
    },
    "bot": {
      "id": "48622",
      "channelId": "18591",
      "name": "モバイルアプリちゃん",
      "createdAt": 1577889697788,
      "avatar": {
        "bucket": "bin.channel.io",
        "key": "file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec",
        "width": 200,
        "height": 200
      },
      "color": "#9edfff",
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec"
    },
    "online": {
      "channelId": "18591",
      "personType": "user",
      "personId": "5facdcf935f31685012d",
      "id": "user-5facdcf935f31685012d"
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "379347740"
      },
      "alert": 1,
      "unread": 1,
      "popUpChatId": "608d6ca6df3e69fd99b4",
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619881129163,
      "version": 95,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}
{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d6ca9e86c050f3452",
    "mainKey": "608d6ca9e86c050f3452",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "bot",
    "personId": "48622",
    "createdAt": 1619881129952,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": "ご相談する店舗をお選びください:point_down:"
      }
    ],
    "plainText": "ご相談する店舗をお選びください👇",
    "updatedAt": 1619881129952,
    "action": {
      "type": "supportBot",
      "buttons": [
        {
          "key": "619547",
          "text": ":blue_heart: 銀座店"
        },
        {
          "key": "619548",
          "text": ":green_heart: 吉祥寺店"
        },
        {
          "key": "619549",
          "text": "前に戻る"
        }
      ]
    },
    "options": [
      "immutable",
      "doNotPost"
    ],
    "system": "supportBot",
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "handling": "support",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "createdAt": 1619881126913,
      "frontMessageId": "608d6ca9e86c050f3452",
      "frontUpdatedAt": 1619881129952,
      "deskMessageId": "608d6ca9e86c050f3452",
      "deskUpdatedAt": 1619881129952,
      "askedAt": 1619881127180,
      "version": 5
    },
    "bot": {
      "id": "48622",
      "channelId": "18591",
      "name": "モバイルアプリちゃん",
      "createdAt": 1577889697788,
      "avatar": {
        "bucket": "bin.channel.io",
        "key": "file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec",
        "width": 200,
        "height": 200
      },
      "color": "#9edfff",
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec"
    },
    "online": {
      "channelId": "18591",
      "personType": "user",
      "personId": "5facdcf935f31685012d",
      "id": "user-5facdcf935f31685012d"
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "379347740"
      },
      "alert": 1,
      "unread": 1,
      "popUpChatId": "608d6ca6df3e69fd99b4",
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619881129974,
      "version": 97,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}
image
{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d6dd1c63e066c3d3e",
    "mainKey": "608d6dd1c63e066c3d3e",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "user",
    "personId": "5facdcf935f31685012d",
    "requestId": "1619881425547QrXF",
    "createdAt": 1619881425812,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": ":blue_heart: 銀座店"
      }
    ],
    "plainText": "💙 銀座店",
    "updatedAt": 1619881425816,
    "submit": {
      "id": "608d6ca9e86c050f3452",
      "key": "619547"
    },
    "options": [
      "immutable"
    ],
    "system": "supportBot",
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "handling": "support",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "createdAt": 1619881126913,
      "frontMessageId": "608d6dd1c63e066c3d3e",
      "frontUpdatedAt": 1619881425812,
      "deskMessageId": "608d6dd1c63e066c3d3e",
      "deskUpdatedAt": 1619881425812,
      "askedAt": 1619881127180,
      "version": 6
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619881424504,
      "version": 102,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}
{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d6dd3b17d81c1b6a3",
    "mainKey": "608d6dd3b17d81c1b6a3",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "bot",
    "personId": "48622",
    "createdAt": 1619881427727,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": "<b>ご質問</b>をこちらのチャットでお知らせください:blush:\n\nこんなご質問をいただいています\n「〇〇さんに新商品をご紹介していただきたいです」\n「〇〇の実物を見たいですが、店舗に在庫はありますか?」"
      }
    ],
    "plainText": "ご質問をこちらのチャットでお知らせください😊\n\nこんなご質問をいただいています\n「〇〇さんに新商品をご紹介していただきたいです」\n「〇〇の実物を見たいですが、店舗に在庫はありますか?」",
    "updatedAt": 1619881427727,
    "options": [
      "doNotPost",
      "immutable"
    ],
    "system": "supportBot",
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "handling": "support",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "createdAt": 1619881126913,
      "frontMessageId": "608d6dd3b17d81c1b6a3",
      "frontUpdatedAt": 1619881427727,
      "deskMessageId": "608d6dd3b17d81c1b6a3",
      "deskUpdatedAt": 1619881427727,
      "askedAt": 1619881127180,
      "version": 7
    },
    "bot": {
      "id": "48622",
      "channelId": "18591",
      "name": "モバイルアプリちゃん",
      "createdAt": 1577889697788,
      "avatar": {
        "bucket": "bin.channel.io",
        "key": "file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec",
        "width": 200,
        "height": 200
      },
      "color": "#9edfff",
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec"
    },
    "online": {
      "channelId": "18591",
      "personType": "user",
      "personId": "5facdcf935f31685012d",
      "id": "user-5facdcf935f31685012d"
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 1,
      "unread": 1,
      "popUpChatId": "608d6ca6df3e69fd99b4",
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619881427751,
      "version": 103,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

お客様がメッセージ送信(最初)

{
  "event": "push",
  "entity": {
    "id": "608d6ca6df3e69fd99b4",
    "channelId": "18591",
    "stateKey": "unassigned-608d6e7ade698e48302d",
    "userId": "5facdcf935f31685012d",
    "name": "坂本",
    "description": "#店舗相談 #銀座店",
    "state": "unassigned",
    "pluginId": "19967",
    "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
    "sourceType": "supportBot",
    "sourceId": "21854",
    "firstOpenedAt": 1619881594911,
    "openedAt": 1619881594911,
    "createdAt": 1619881126913,
    "frontMessageId": "608d6e7ade698a5ba1ad",
    "frontUpdatedAt": 1619881594911,
    "deskMessageId": "608d6e7ade698a5ba1ad",
    "deskUpdatedAt": 1619881594911,
    "askedAt": 1619881127180,
    "version": 9
  },
  "refers": {
    "message": {
      "chatKey": "userChat-608d6ca6df3e69fd99b4",
      "id": "608d6e7ade698a5ba1ad",
      "mainKey": "608d6e7ade698a5ba1ad",
      "root": false,
      "channelId": "18591",
      "chatType": "userChat",
      "chatId": "608d6ca6df3e69fd99b4",
      "personType": "user",
      "personId": "5facdcf935f31685012d",
      "requestId": "1619881594668U53o",
      "language": "ja",
      "createdAt": 1619881594911,
      "version": 1,
      "blocks": [
        {
          "type": "text",
          "value": "質問があります!"
        }
      ],
      "plainText": "質問があります!",
      "updatedAt": 1619881594911,
      "threadMsg": false,
      "broadcastedMsg": false
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619881435024,
      "version": 105,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "userChat"
}

フォームのご案内

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d6e7bec5406af2fab",
    "mainKey": "608d6e7bec5406af2fab",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "bot",
    "personId": "48622",
    "createdAt": 1619881595968,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": "よりスムーズにご対応のため、以下の質問にお答えくださいませ"
      }
    ],
    "plainText": "よりスムーズにご対応のため、以下の質問にお答えくださいませ",
    "updatedAt": 1619881595967,
    "profileBot": [
      {
        "id": "119923",
        "key": "name",
        "type": "string",
        "name": "名前"
      },
      {
        "id": "119926",
        "key": "mobileNumber",
        "type": "string",
        "name": "携帯番号"
      },
      {
        "id": "119925",
        "key": "email",
        "type": "string",
        "name": "メール"
      }
    ],
    "options": [
      "quiet",
      "doNotPost"
    ],
    "system": "profileBot",
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "unassigned-608d6e7bec5404e28f1f",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "unassigned",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619881594911,
      "createdAt": 1619881126913,
      "frontMessageId": "608d6e7bec5406af2fab",
      "frontUpdatedAt": 1619881595968,
      "deskMessageId": "608d6e7ade698a5ba1ad",
      "deskUpdatedAt": 1619881595968,
      "askedAt": 1619881127180,
      "version": 10
    },
    "bot": {
      "id": "48622",
      "channelId": "18591",
      "name": "モバイルアプリちゃん",
      "createdAt": 1577889697788,
      "avatar": {
        "bucket": "bin.channel.io",
        "key": "file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec",
        "width": 200,
        "height": 200
      },
      "color": "#9edfff",
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec"
    },
    "online": {
      "channelId": "18591",
      "personType": "user",
      "personId": "5facdcf935f31685012d",
      "id": "user-5facdcf935f31685012d"
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 1,
      "unread": 1,
      "popUpChatId": "608d6ca6df3e69fd99b4",
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619881595992,
      "version": 106,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

自動応答メッセージ

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d6eb7ed4e0c0a175e",
    "mainKey": "608d6eb7ed4e0c0a175e",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "bot",
    "personId": "48622",
    "createdAt": 1619881655972,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": "現在返信まで少し時間がかかっております。お問い合わせ内容をご送信下さい。できるだけ早く回答いたします :blush:"
      }
    ],
    "plainText": "現在返信まで少し時間がかかっております。お問い合わせ内容をご送信下さい。できるだけ早く回答いたします 😊",
    "updatedAt": 1619881655972,
    "options": [
      "doNotPost",
      "quiet",
      "immutable"
    ],
    "system": "delay",
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "unassigned-608d6eb7ed4e03059a46",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "unassigned",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619881594911,
      "createdAt": 1619881126913,
      "frontMessageId": "608d6eb7ed4e0c0a175e",
      "frontUpdatedAt": 1619881655972,
      "deskMessageId": "608d6e7ade698a5ba1ad",
      "deskUpdatedAt": 1619881655972,
      "askedAt": 1619881127180,
      "version": 11
    },
    "bot": {
      "id": "48622",
      "channelId": "18591",
      "name": "モバイルアプリちゃん",
      "createdAt": 1577889697788,
      "avatar": {
        "bucket": "bin.channel.io",
        "key": "file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec",
        "width": 200,
        "height": 200
      },
      "color": "#9edfff",
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec"
    },
    "online": {
      "channelId": "18591",
      "personType": "user",
      "personId": "5facdcf935f31685012d",
      "id": "user-5facdcf935f31685012d"
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 1,
      "unread": 1,
      "popUpChatId": "608d6ca6df3e69fd99b4",
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619881655992,
      "version": 108,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

参加者追加

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d6ff5101d065a3547",
    "mainKey": "608d6ff5101d065a3547",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "manager",
    "personId": "33250",
    "createdAt": 1619881973066,
    "version": 1,
    "updatedAt": 1619881973065,
    "log": {
      "action": "invite",
      "values": [
        "105437",
        "33250"
      ]
    },
    "options": [
      "immutable",
      "private",
      "quiet"
    ],
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "manager": {
      "id": "33250",
      "channelId": "18591",
      "accountId": "1768",
      "username": "aya",
      "name": "aya",
      "email": "aya@zoyi.co",
      "mobileNumber": "+819011112222",
      "role": "owner",
      "removed": false,
      "createdAt": 1577888124226,
      "defaultWatch": "info",
      "operator": true,
      "operatorScore": 9,
      "touchScore": 14.4,
      "watchOpenUserChatViaEmail": true,
      "watchOpenUserChatViaMobile": true,
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/0/5e662b1a205c9364a0f1/avatar-e48e1a8b12bc2d6cfda2897eaad053e3"
    },
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "unassigned-608d6ff5101d09457d0d",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "unassigned",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "managerIds": [
        "105437",
        "33250"
      ],
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619881594911,
      "createdAt": 1619881126913,
      "frontMessageId": "608d6eb7ed4e0c0a175e",
      "frontUpdatedAt": 1619881655972,
      "deskMessageId": "608d6e7ade698a5ba1ad",
      "deskUpdatedAt": 1619881973066,
      "askedAt": 1619881127180,
      "version": 13
    },
    "online": {
      "channelId": "18591",
      "personType": "user",
      "personId": "5facdcf935f31685012d",
      "id": "user-5facdcf935f31685012d"
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619881656140,
      "version": 109,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

担当者追加

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d7017e7b0842a7f4f",
    "mainKey": "608d7017e7b0842a7f4f",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "manager",
    "personId": "33250",
    "createdAt": 1619882007949,
    "version": 1,
    "updatedAt": 1619882007949,
    "log": {
      "action": "assign"
    },
    "options": [
      "immutable",
      "private",
      "quiet"
    ],
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "manager": {
      "id": "33250",
      "channelId": "18591",
      "accountId": "1768",
      "username": "aya",
      "name": "aya",
      "email": "aya@zoyi.co",
      "mobileNumber": "+819011112222",
      "role": "owner",
      "removed": false,
      "createdAt": 1577888124226,
      "defaultWatch": "info",
      "operator": true,
      "operatorScore": 9,
      "touchScore": 14.4,
      "watchOpenUserChatViaEmail": true,
      "watchOpenUserChatViaMobile": true,
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/0/5e662b1a205c9364a0f1/avatar-e48e1a8b12bc2d6cfda2897eaad053e3"
    },
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "assigned-608d7017e7b0845be62e",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "assigned",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "managerIds": [
        "105437",
        "33250"
      ],
      "assigneeId": "33250",
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619881594911,
      "createdAt": 1619881126913,
      "frontMessageId": "608d6eb7ed4e0c0a175e",
      "frontUpdatedAt": 1619881655972,
      "deskMessageId": "608d6e7ade698a5ba1ad",
      "deskUpdatedAt": 1619882007949,
      "askedAt": 1619881127180,
      "version": 15
    },
    "online": {
      "channelId": "18591",
      "personType": "user",
      "personId": "5facdcf935f31685012d",
      "id": "user-5facdcf935f31685012d"
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619881656140,
      "version": 109,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

担当者が返信

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d7073105b8a840dc1",
    "mainKey": "608d7073105b8a840dc1",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "manager",
    "personId": "33250",
    "requestId": "01974e30-6293-461f-b246-a47831d2fb51",
    "createdAt": 1619882099067,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": "どうぞ!"
      }
    ],
    "plainText": "どうぞ!",
    "updatedAt": 1619882099067,
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "manager": {
      "id": "33250",
      "channelId": "18591",
      "accountId": "1768",
      "username": "aya",
      "name": "aya",
      "email": "aya@zoyi.co",
      "mobileNumber": "+819011112222",
      "role": "owner",
      "removed": false,
      "createdAt": 1577888124226,
      "defaultWatch": "info",
      "operator": true,
      "operatorScore": 10,
      "touchScore": 14.4,
      "watchOpenUserChatViaEmail": true,
      "watchOpenUserChatViaMobile": true,
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/0/5e662b1a205c9364a0f1/avatar-e48e1a8b12bc2d6cfda2897eaad053e3"
    },
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "assigned-608d7073105b8647c74f",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "assigned",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "managerIds": [
        "105437",
        "33250"
      ],
      "assigneeId": "33250",
      "categoryId": "40958",
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619881594911,
      "firstReplierType": "manager",
      "firstReplierId": "33250",
      "firstRepliedAt": 1619882099067,
      "createdAt": 1619881126913,
      "frontMessageId": "608d7073105b8a840dc1",
      "frontUpdatedAt": 1619882099067,
      "deskMessageId": "608d7073105b8a840dc1",
      "deskUpdatedAt": 1619882099067,
      "waitingTime": 504156,
      "avgReplyTime": 971887,
      "totalReplyTime": 971887,
      "replyCount": 1,
      "version": 17
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 1,
      "unread": 1,
      "popUpChatId": "608d6ca6df3e69fd99b4",
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619882099183,
      "version": 110,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

保留

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d70925b4f0e5d4b29",
    "mainKey": "608d70925b4f0e5d4b29",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "manager",
    "personId": "33250",
    "createdAt": 1619882130374,
    "version": 1,
    "updatedAt": 1619882130374,
    "log": {
      "action": "hold"
    },
    "options": [
      "immutable",
      "private",
      "quiet"
    ],
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "manager": {
      "id": "33250",
      "channelId": "18591",
      "accountId": "1768",
      "username": "aya",
      "name": "aya",
      "email": "aya@zoyi.co",
      "mobileNumber": "+819011112222",
      "role": "owner",
      "removed": false,
      "createdAt": 1577888124226,
      "defaultWatch": "info",
      "operator": true,
      "operatorScore": 10,
      "touchScore": 14.4,
      "watchOpenUserChatViaEmail": true,
      "watchOpenUserChatViaMobile": true,
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/0/5e662b1a205c9364a0f1/avatar-e48e1a8b12bc2d6cfda2897eaad053e3"
    },
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "holding-608d70925b4f08d17c49",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "holding",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "managerIds": [
        "105437",
        "33250"
      ],
      "assigneeId": "33250",
      "categoryId": "40958",
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619881594911,
      "firstReplierType": "manager",
      "firstReplierId": "33250",
      "firstRepliedAt": 1619882099067,
      "createdAt": 1619881126913,
      "frontMessageId": "608d7073105b8a840dc1",
      "frontUpdatedAt": 1619882099067,
      "deskMessageId": "608d7073105b8a840dc1",
      "deskUpdatedAt": 1619882130374,
      "waitingTime": 504156,
      "avgReplyTime": 971887,
      "totalReplyTime": 971887,
      "replyCount": 1,
      "version": 19
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619882099637,
      "version": 111,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

再開

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d70e1883b0e9f921f",
    "mainKey": "608d70e1883b0e9f921f",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "manager",
    "personId": "33250",
    "createdAt": 1619882209558,
    "version": 1,
    "updatedAt": 1619882209558,
    "log": {
      "action": "unhold"
    },
    "options": [
      "immutable",
      "private",
      "quiet"
    ],
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "manager": {
      "id": "33250",
      "channelId": "18591",
      "accountId": "1768",
      "username": "aya",
      "name": "aya",
      "email": "aya@zoyi.co",
      "mobileNumber": "+819011112222",
      "role": "owner",
      "removed": false,
      "createdAt": 1577888124226,
      "defaultWatch": "info",
      "operator": true,
      "operatorScore": 10,
      "touchScore": 14.4,
      "watchOpenUserChatViaEmail": true,
      "watchOpenUserChatViaMobile": true,
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/0/5e662b1a205c9364a0f1/avatar-e48e1a8b12bc2d6cfda2897eaad053e3"
    },
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "assigned-608d70e1883b02efce79",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "assigned",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "managerIds": [
        "105437",
        "33250"
      ],
      "assigneeId": "33250",
      "categoryId": "40958",
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619881594911,
      "firstReplierType": "manager",
      "firstReplierId": "33250",
      "firstRepliedAt": 1619882099067,
      "createdAt": 1619881126913,
      "frontMessageId": "608d7073105b8a840dc1",
      "frontUpdatedAt": 1619882099067,
      "deskMessageId": "608d7073105b8a840dc1",
      "deskUpdatedAt": 1619882209558,
      "waitingTime": 504156,
      "avgReplyTime": 971887,
      "totalReplyTime": 971887,
      "replyCount": 1,
      "version": 21
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619882099637,
      "version": 111,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

社内会話

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d71457724081f8a91",
    "mainKey": "608d71457724081f8a91",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "manager",
    "personId": "33250",
    "requestId": "20d9e5fb-4a16-46d7-9c99-447bb855cee8",
    "language": "ja",
    "createdAt": 1619882309488,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": "これわかりますか? <link type=\"manager\" value=\"105437\">@rio</link>"
      }
    ],
    "plainText": "これわかりますか? @rio",
    "updatedAt": 1619882309488,
    "options": [
      "private"
    ],
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "manager": {
      "id": "33250",
      "channelId": "18591",
      "accountId": "1768",
      "username": "aya",
      "name": "aya",
      "email": "aya@zoyi.co",
      "mobileNumber": "+819011112222",
      "role": "owner",
      "removed": false,
      "createdAt": 1577888124226,
      "defaultWatch": "info",
      "operator": true,
      "operatorScore": 11,
      "touchScore": 14.4,
      "watchOpenUserChatViaEmail": true,
      "watchOpenUserChatViaMobile": true,
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/0/5e662b1a205c9364a0f1/avatar-e48e1a8b12bc2d6cfda2897eaad053e3"
    },
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "assigned-608d714577240632eb2e",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "assigned",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "managerIds": [
        "105437",
        "33250"
      ],
      "assigneeId": "33250",
      "categoryId": "40958",
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619881594911,
      "firstReplierType": "manager",
      "firstReplierId": "33250",
      "firstRepliedAt": 1619882099067,
      "createdAt": 1619881126913,
      "frontMessageId": "608d7073105b8a840dc1",
      "frontUpdatedAt": 1619882099067,
      "deskMessageId": "608d71457724081f8a91",
      "deskUpdatedAt": 1619882309488,
      "waitingTime": 504156,
      "avgReplyTime": 971887,
      "totalReplyTime": 971887,
      "replyCount": 1,
      "version": 22
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619882099637,
      "version": 111,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

画像とテキスト送信

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d7166ea218c56c428",
    "mainKey": "608d7166ea218c56c428",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "manager",
    "personId": "33250",
    "requestId": "0bf424a0-ee4b-47ed-a73d-b14ddf517034",
    "language": "ja",
    "createdAt": 1619882342959,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": "画像を送ります!"
      }
    ],
    "plainText": "画像を送ります!",
    "updatedAt": 1619882342959,
    "files": [
      {
        "id": "608d71144524845c073d",
        "type": "image",
        "name": "image-14.png",
        "size": 7701,
        "contentType": "image/png",
        "width": 750,
        "height": 186,
        "bucket": "bin.channel.io",
        "key": "pub-file/18591/608d71144524845c073d/image-14.png"
      }
    ],
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "manager": {
      "id": "33250",
      "channelId": "18591",
      "accountId": "1768",
      "username": "aya",
      "name": "aya",
      "email": "aya@zoyi.co",
      "mobileNumber": "+819011112222",
      "role": "owner",
      "removed": false,
      "createdAt": 1577888124226,
      "defaultWatch": "info",
      "operator": true,
      "operatorScore": 11,
      "touchScore": 14.4,
      "watchOpenUserChatViaEmail": true,
      "watchOpenUserChatViaMobile": true,
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/0/5e662b1a205c9364a0f1/avatar-e48e1a8b12bc2d6cfda2897eaad053e3"
    },
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "assigned-608d7166ea21880eb1c0",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "assigned",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "managerIds": [
        "105437",
        "33250"
      ],
      "assigneeId": "33250",
      "categoryId": "40958",
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619881594911,
      "firstReplierType": "manager",
      "firstReplierId": "33250",
      "firstRepliedAt": 1619882099067,
      "createdAt": 1619881126913,
      "frontMessageId": "608d7166ea218c56c428",
      "frontUpdatedAt": 1619882342959,
      "deskMessageId": "608d7166ea218c56c428",
      "deskUpdatedAt": 1619882342959,
      "waitingTime": 504156,
      "avgReplyTime": 971887,
      "totalReplyTime": 971887,
      "replyCount": 1,
      "version": 23
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 1,
      "unread": 1,
      "popUpChatId": "608d6ca6df3e69fd99b4",
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619882343065,
      "version": 112,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

多様な書式

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d7186b52708b237ef",
    "mainKey": "608d7186b52708b237ef",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "manager",
    "personId": "33250",
    "requestId": "00d7580f-a134-4072-b4b3-e58de7db799c",
    "language": "ja",
    "createdAt": 1619882374742,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": "わあああ!\n<b>ボールド</b>"
      },
      {
        "type": "bullets",
        "blocks": [
          {
            "type": "text",
            "value": "箇条書き"
          },
          {
            "type": "text",
            "value": "箇条書き"
          }
        ]
      },
      {
        "type": "text",
        "value": "<i>イタリック</i>"
      },
      {
        "type": "code",
        "value": "コードブロック"
      },
      {
        "type": "text",
        "value": "<link type=\"url\" value=\"https://channel.io/\">リンク</link>"
      }
    ],
    "plainText": "わあああ!\nボールド\n- 箇条書き\n- 箇条書き\nイタリック\nコードブロック\nリンク",
    "updatedAt": 1619882374742,
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "manager": {
      "id": "33250",
      "channelId": "18591",
      "accountId": "1768",
      "username": "aya",
      "name": "aya",
      "email": "aya@zoyi.co",
      "mobileNumber": "+819011112222",
      "role": "owner",
      "removed": false,
      "createdAt": 1577888124226,
      "defaultWatch": "info",
      "operator": true,
      "operatorScore": 11,
      "touchScore": 14.4,
      "watchOpenUserChatViaEmail": true,
      "watchOpenUserChatViaMobile": true,
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/0/5e662b1a205c9364a0f1/avatar-e48e1a8b12bc2d6cfda2897eaad053e3"
    },
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "assigned-608d7186b527096b01a4",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "assigned",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "managerIds": [
        "105437",
        "33250"
      ],
      "assigneeId": "33250",
      "categoryId": "40958",
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619881594911,
      "firstReplierType": "manager",
      "firstReplierId": "33250",
      "firstRepliedAt": 1619882099067,
      "createdAt": 1619881126913,
      "frontMessageId": "608d7186b52708b237ef",
      "frontUpdatedAt": 1619882374742,
      "deskMessageId": "608d7186b52708b237ef",
      "deskUpdatedAt": 1619882374742,
      "waitingTime": 504156,
      "avgReplyTime": 971887,
      "totalReplyTime": 971887,
      "replyCount": 1,
      "version": 24
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 1,
      "unread": 1,
      "popUpChatId": "608d6ca6df3e69fd99b4",
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619882374854,
      "version": 114,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

ボタンリンク

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d71ab2c308db9e882",
    "mainKey": "608d71ab2c308db9e882",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "manager",
    "personId": "33250",
    "requestId": "8c66a6d7-6965-4e43-ae47-6547c4351925",
    "createdAt": 1619882411181,
    "version": 1,
    "plainText": "[ボタンリンク1] [ボタンリンク2]",
    "updatedAt": 1619882411181,
    "buttons": [
      {
        "title": "ボタンリンク1",
        "url": "https://channel.io"
      },
      {
        "title": "ボタンリンク2",
        "theme": "blue",
        "url": "https://channel.io"
      }
    ],
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "manager": {
      "id": "33250",
      "channelId": "18591",
      "accountId": "1768",
      "username": "aya",
      "name": "aya",
      "email": "aya@zoyi.co",
      "mobileNumber": "+819011112222",
      "role": "owner",
      "removed": false,
      "createdAt": 1577888124226,
      "defaultWatch": "info",
      "operator": true,
      "operatorScore": 11,
      "touchScore": 14.4,
      "watchOpenUserChatViaEmail": true,
      "watchOpenUserChatViaMobile": true,
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/0/5e662b1a205c9364a0f1/avatar-e48e1a8b12bc2d6cfda2897eaad053e3"
    },
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "assigned-608d71ab2c3082b5f890",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "assigned",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "managerIds": [
        "105437",
        "33250"
      ],
      "assigneeId": "33250",
      "categoryId": "40958",
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619881594911,
      "firstReplierType": "manager",
      "firstReplierId": "33250",
      "firstRepliedAt": 1619882099067,
      "createdAt": 1619881126913,
      "frontMessageId": "608d71ab2c308db9e882",
      "frontUpdatedAt": 1619882411181,
      "deskMessageId": "608d71ab2c308db9e882",
      "deskUpdatedAt": 1619882411181,
      "waitingTime": 504156,
      "avgReplyTime": 971887,
      "totalReplyTime": 971887,
      "replyCount": 1,
      "version": 25
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 1,
      "unread": 1,
      "popUpChatId": "608d6ca6df3e69fd99b4",
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619882411279,
      "version": 116,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

チャットから退出

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d71ca66c881d7e5bf",
    "mainKey": "608d71ca66c881d7e5bf",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "manager",
    "personId": "33250",
    "createdAt": 1619882442421,
    "version": 1,
    "updatedAt": 1619882442420,
    "log": {
      "action": "leave"
    },
    "options": [
      "immutable",
      "private",
      "quiet"
    ],
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "manager": {
      "id": "33250",
      "channelId": "18591",
      "accountId": "1768",
      "username": "aya",
      "name": "aya",
      "email": "aya@zoyi.co",
      "mobileNumber": "+819011112222",
      "role": "owner",
      "removed": false,
      "createdAt": 1577888124226,
      "defaultWatch": "info",
      "operator": true,
      "operatorScore": 11,
      "touchScore": 14.4,
      "watchOpenUserChatViaEmail": true,
      "watchOpenUserChatViaMobile": true,
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/0/5e662b1a205c9364a0f1/avatar-e48e1a8b12bc2d6cfda2897eaad053e3"
    },
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "assigned-608d71ca66c88a470299",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "assigned",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "managerIds": [
        "105437"
      ],
      "assigneeId": "33250",
      "categoryId": "40958",
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619881594911,
      "firstReplierType": "manager",
      "firstReplierId": "33250",
      "firstRepliedAt": 1619882099067,
      "createdAt": 1619881126913,
      "frontMessageId": "608d71ab2c308db9e882",
      "frontUpdatedAt": 1619882411181,
      "deskMessageId": "608d71ab2c308db9e882",
      "deskUpdatedAt": 1619882442421,
      "waitingTime": 504156,
      "avgReplyTime": 971887,
      "totalReplyTime": 971887,
      "replyCount": 1,
      "version": 27
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619882411375,
      "version": 117,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}
{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d71ca66c881d7e5bf",
    "mainKey": "608d71ca66c881d7e5bf",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "manager",
    "personId": "33250",
    "createdAt": 1619882442421,
    "version": 1,
    "updatedAt": 1619882442420,
    "log": {
      "action": "leave"
    },
    "options": [
      "immutable",
      "private",
      "quiet"
    ],
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "manager": {
      "id": "33250",
      "channelId": "18591",
      "accountId": "1768",
      "username": "aya",
      "name": "aya",
      "email": "aya@zoyi.co",
      "mobileNumber": "+819011112222",
      "role": "owner",
      "removed": false,
      "createdAt": 1577888124226,
      "defaultWatch": "info",
      "operator": true,
      "operatorScore": 11,
      "touchScore": 14.4,
      "watchOpenUserChatViaEmail": true,
      "watchOpenUserChatViaMobile": true,
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/0/5e662b1a205c9364a0f1/avatar-e48e1a8b12bc2d6cfda2897eaad053e3"
    },
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "assigned-608d71ca66c88a470299",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "assigned",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "managerIds": [
        "105437"
      ],
      "assigneeId": "33250",
      "categoryId": "40958",
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619881594911,
      "firstReplierType": "manager",
      "firstReplierId": "33250",
      "firstRepliedAt": 1619882099067,
      "createdAt": 1619881126913,
      "frontMessageId": "608d71ab2c308db9e882",
      "frontUpdatedAt": 1619882411181,
      "deskMessageId": "608d71ab2c308db9e882",
      "deskUpdatedAt": 1619882442421,
      "waitingTime": 504156,
      "avgReplyTime": 971887,
      "totalReplyTime": 971887,
      "replyCount": 1,
      "version": 27
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619882411375,
      "version": 117,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

終了リクエスト

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d71f2f3688aa4cedf",
    "mainKey": "608d71f2f3688aa4cedf",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "bot",
    "personId": "48622",
    "language": "ja",
    "createdAt": 1619882482997,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": "チャットを終了してもよろしいでしょうか?以下のボタンをクリックして選択してください。24時間内にクリックしない場合、自動で終了となります"
      }
    ],
    "plainText": "チャットを終了してもよろしいでしょうか?以下のボタンをクリックして選択してください。24時間内にクリックしない場合、自動で終了となります",
    "updatedAt": 1619882482997,
    "action": {
      "type": "userChat.solve",
      "buttons": [
        {
          "key": "reopen",
          "text": "チャットを続ける"
        },
        {
          "key": "close",
          "text": "チャットを終了する"
        }
      ]
    },
    "options": [
      "doNotPost",
      "immutable",
      "quiet"
    ],
    "system": "solve",
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "solved-608d71f2f36881471dee",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "solved",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "managerIds": [
        "105437",
        "33250"
      ],
      "assigneeId": "33250",
      "categoryId": "40958",
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619881594911,
      "firstReplierType": "manager",
      "firstReplierId": "33250",
      "firstRepliedAt": 1619882099067,
      "createdAt": 1619881126913,
      "frontMessageId": "608d71f2f3688aa4cedf",
      "frontUpdatedAt": 1619882482997,
      "deskMessageId": "608d71ab2c308db9e882",
      "deskUpdatedAt": 1619882482997,
      "waitingTime": 504156,
      "avgReplyTime": 971887,
      "totalReplyTime": 971887,
      "replyCount": 1,
      "version": 32
    },
    "bot": {
      "id": "48622",
      "channelId": "18591",
      "name": "モバイルアプリちゃん",
      "createdAt": 1577889697788,
      "avatar": {
        "bucket": "bin.channel.io",
        "key": "file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec",
        "width": 200,
        "height": 200
      },
      "color": "#9edfff",
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec"
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 1,
      "unread": 1,
      "popUpChatId": "608d6ca6df3e69fd99b4",
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619882483109,
      "version": 118,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

終了リクエストでお客様が続けるを押して、何かメッセージをサイド送信

{
  "event": "push",
  "entity": {
    "id": "608d6ca6df3e69fd99b4",
    "channelId": "18591",
    "stateKey": "assigned-608d721ce7338b224ffe",
    "userId": "5facdcf935f31685012d",
    "name": "坂本",
    "description": "#店舗相談 #銀座店",
    "state": "assigned",
    "pluginId": "19967",
    "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
    "sourceType": "supportBot",
    "sourceId": "21854",
    "managerIds": [
      "105437",
      "33250"
    ],
    "assigneeId": "33250",
    "categoryId": "40958",
    "firstOpenedAt": 1619881594911,
    "openedAt": 1619882524947,
    "firstReplierType": "manager",
    "firstReplierId": "33250",
    "firstRepliedAt": 1619882099067,
    "createdAt": 1619881126913,
    "frontMessageId": "608d721ce7338bc7f530",
    "frontUpdatedAt": 1619882524947,
    "deskMessageId": "608d721ce7338bc7f530",
    "deskUpdatedAt": 1619882524947,
    "waitingTime": 504156,
    "avgReplyTime": 971887,
    "totalReplyTime": 971887,
    "replyCount": 1,
    "askedAt": 1619882524947,
    "version": 33
  },
  "refers": {
    "message": {
      "chatKey": "userChat-608d6ca6df3e69fd99b4",
      "id": "608d721ce7338bc7f530",
      "mainKey": "608d721ce7338bc7f530",
      "root": false,
      "channelId": "18591",
      "chatType": "userChat",
      "chatId": "608d6ca6df3e69fd99b4",
      "personType": "user",
      "personId": "5facdcf935f31685012d",
      "requestId": "1619882524743MKHy",
      "createdAt": 1619882524947,
      "version": 1,
      "blocks": [
        {
          "type": "text",
          "value": "続ける"
        }
      ],
      "plainText": "続ける",
      "updatedAt": 1619882524947,
      "threadMsg": false,
      "broadcastedMsg": false
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "��本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619882483214,
      "version": 119,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "userChat"
}

※フォーム案内メッセージ送信

※自動応答メッセージ送信

チャットを終了する をクリック

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d72a46ce30523d63a",
    "mainKey": "608d72a46ce30523d63a",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "user",
    "personId": "5facdcf935f31685012d",
    "requestId": "1619882660065Y265",
    "language": "ja",
    "createdAt": 1619882660446,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": "チャットを終了する"
      }
    ],
    "plainText": "チャットを終了する",
    "updatedAt": 1619882660450,
    "submit": {
      "id": "608d729d65130b6f5801",
      "key": "close"
    },
    "system": "close",
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "closed-608d72a46ce3065dbbe1",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "closed",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "managerIds": [
        "105437",
        "33250"
      ],
      "assigneeId": "33250",
      "categoryId": "40958",
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619882524947,
      "firstReplierType": "manager",
      "firstReplierId": "33250",
      "firstRepliedAt": 1619882099067,
      "createdAt": 1619881126913,
      "frontMessageId": "608d72a46ce30523d63a",
      "frontUpdatedAt": 1619882660446,
      "deskMessageId": "608d721ce7338bc7f530",
      "deskUpdatedAt": 1619882660446,
      "oneStop": true,
      "waitingTime": 504156,
      "avgReplyTime": 971887,
      "totalReplyTime": 971887,
      "replyCount": 1,
      "resolutionTime": 135383,
      "askedAt": 1619882524947,
      "closedAt": 1619882660330,
      "version": 40
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619882653625,
      "version": 125,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

レビュー依頼

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d72a5733c0b0be3ab",
    "mainKey": "608d72a5733c0b0be3ab",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "bot",
    "personId": "48622",
    "language": "ja",
    "createdAt": 1619882661472,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": "チャットが終了しました。簡単なレビューにご協力お願い致します。"
      }
    ],
    "plainText": "チャットが終了しました。簡単なレビューにご協力お願い致します。",
    "updatedAt": 1619882661472,
    "action": {
      "type": "userChat.close",
      "buttons": [
        {
          "key": "like",
          "text": ":heart_eyes:"
        },
        {
          "key": "dislike",
          "text": ":rage:"
        }
      ]
    },
    "options": [
      "doNotPost"
    ],
    "system": "close",
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "closed-608d72a5733c07e606f6",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "closed",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "managerIds": [
        "105437",
        "33250"
      ],
      "assigneeId": "33250",
      "categoryId": "40958",
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619882524947,
      "firstReplierType": "manager",
      "firstReplierId": "33250",
      "firstRepliedAt": 1619882099067,
      "createdAt": 1619881126913,
      "frontMessageId": "608d72a5733c0b0be3ab",
      "frontUpdatedAt": 1619882661472,
      "deskMessageId": "608d72a5733c0b0be3ab",
      "deskUpdatedAt": 1619882661472,
      "oneStop": true,
      "waitingTime": 504156,
      "avgReplyTime": 971887,
      "totalReplyTime": 971887,
      "replyCount": 1,
      "resolutionTime": 135383,
      "askedAt": 1619882524947,
      "closedAt": 1619882660330,
      "version": 41
    },
    "bot": {
      "id": "48622",
      "channelId": "18591",
      "name": "モバイルアプリちゃん",
      "createdAt": 1577889697788,
      "avatar": {
        "bucket": "bin.channel.io",
        "key": "file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec",
        "width": 200,
        "height": 200
      },
      "color": "#9edfff",
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec"
    },
    "online": {
      "channelId": "18591",
      "personType": "user",
      "personId": "5facdcf935f31685012d",
      "id": "user-5facdcf935f31685012d"
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619882660348,
      "version": 126,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

満足度調査

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "608d72e78ed2853e03ce",
    "mainKey": "608d72e78ed2853e03ce",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "user",
    "personId": "5facdcf935f31685012d",
    "requestId": "1619882727330zOoc",
    "createdAt": 1619882727585,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": ":heart_eyes:"
      }
    ],
    "plainText": "😍",
    "updatedAt": 1619882727587,
    "submit": {
      "id": "608d72a5733c0b0be3ab",
      "key": "like"
    },
    "options": [
      "quiet",
      "immutable"
    ],
    "system": "close",
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "closed-608d72e78ed28f9b9b81",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "closed",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "managerIds": [
        "105437",
        "33250"
      ],
      "assigneeId": "33250",
      "categoryId": "40958",
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619882524947,
      "firstReplierType": "manager",
      "firstReplierId": "33250",
      "firstRepliedAt": 1619882099067,
      "createdAt": 1619881126913,
      "frontMessageId": "608d72e78ed2853e03ce",
      "frontUpdatedAt": 1619882727585,
      "deskMessageId": "608d72a5733c0b0be3ab",
      "deskUpdatedAt": 1619882727585,
      "oneStop": true,
      "waitingTime": 504156,
      "avgReplyTime": 971887,
      "totalReplyTime": 971887,
      "replyCount": 1,
      "resolutionTime": 135383,
      "askedAt": 1619882524947,
      "review": "like",
      "closedAt": 1619882660330,
      "version": 43
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396307078"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 22,
        "lastSeenAt": 1619880924640
      },
      "sessionsCount": 22,
      "lastSeenAt": 1619880924640,
      "createdAt": 1605164281220,
      "updatedAt": 1619882669334,
      "version": 127,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

削除

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d6ca6df3e69fd99b4",
    "id": "6090082255f00c0f97cf",
    "mainKey": "6090082255f00c0f97cf",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d6ca6df3e69fd99b4",
    "personType": "manager",
    "personId": "33250",
    "createdAt": 1620052002352,
    "version": 1,
    "updatedAt": 1620052002351,
    "log": {
      "action": "remove"
    },
    "options": [
      "private",
      "quiet",
      "immutable"
    ],
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "manager": {
      "id": "33250",
      "channelId": "18591",
      "accountId": "1768",
      "username": "aya",
      "name": "aya",
      "email": "aya@zoyi.co",
      "mobileNumber": "+819011112222",
      "role": "owner",
      "removed": false,
      "createdAt": 1577888124226,
      "defaultWatch": "info",
      "operator": true,
      "operatorScore": 8.87,
      "touchScore": 52.22,
      "watchOpenUserChatViaEmail": true,
      "watchOpenUserChatViaMobile": true,
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/0/5e662b1a205c9364a0f1/avatar-e48e1a8b12bc2d6cfda2897eaad053e3"
    },
    "userChat": {
      "id": "608d6ca6df3e69fd99b4",
      "channelId": "18591",
      "stateKey": "trash-6090082255f006d9daf8",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "description": "#店舗相談 #銀座店",
      "state": "trash",
      "pluginId": "19967",
      "sourcePage": "https://desk.channel.io/demo.html?pluginId=afd6a19e-908c-4834-9e71-0e12db92f245#/",
      "sourceType": "supportBot",
      "sourceId": "21854",
      "managerIds": [
        "105437",
        "33250"
      ],
      "assigneeId": "33250",
      "categoryId": "40958",
      "firstOpenedAt": 1619881594911,
      "openedAt": 1619882524947,
      "firstReplierType": "manager",
      "firstReplierId": "33250",
      "firstRepliedAt": 1619882099067,
      "createdAt": 1619881126913,
      "frontMessageId": "608d72e78ed2853e03ce",
      "frontUpdatedAt": 1619882727585,
      "deskMessageId": "608d72a5733c0b0be3ab",
      "deskUpdatedAt": 1620052002352,
      "oneStop": true,
      "waitingTime": 504156,
      "avgReplyTime": 971887,
      "totalReplyTime": 971887,
      "replyCount": 1,
      "resolutionTime": 135383,
      "askedAt": 1619882524947,
      "review": "like",
      "closedAt": 1619882660330,
      "version": 45
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "396381756",
        "email": "ayaaason@gmail.com"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6631,
      "longitude": 139.7069,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 90.0.4430.85",
        "browserName": "Chrome",
        "sessionsCount": 24,
        "lastSeenAt": 1619887189504
      },
      "sessionsCount": 24,
      "lastSeenAt": 1619887189504,
      "createdAt": 1605164281220,
      "updatedAt": 1620052002318,
      "version": 337,
      "managedKey": 1619887189504,
      "member": false,
      "email": "ayaaason@gmail.com",
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

LINE

LINE お客様メッセージ(最初)

{
  "event": "push",
  "entity": {
    "id": "608d64c8a43db79691bf",
    "channelId": "18591",
    "stateKey": "unassigned-608d64c8c67c862cbb08",
    "userId": "5fa4d7b567dda8efbfd7",
    "name": "坂本彩",
    "state": "unassigned",
    "messengerType": "appLine",
    "messengerId": "1096",
    "appUserKey": "appLine-1653758986-Uf5fd686c89ea7f7429a344ed6e1ad3a5",
    "firstOpenedAt": 1619879112813,
    "openedAt": 1619879112813,
    "createdAt": 1619879112672,
    "frontMessageId": "608d64c8c67c8e23632a",
    "frontUpdatedAt": 1619879112813,
    "deskMessageId": "608d64c8c67c8e23632a",
    "deskUpdatedAt": 1619879112813,
    "askedAt": 1619879112813,
    "version": 2
  },
  "refers": {
    "message": {
      "chatKey": "userChat-608d64c8a43db79691bf",
      "id": "608d64c8c67c8e23632a",
      "mainKey": "608d64c8c67c8e23632a",
      "root": false,
      "channelId": "18591",
      "chatType": "userChat",
      "chatId": "608d64c8a43db79691bf",
      "personType": "user",
      "personId": "5fa4d7b567dda8efbfd7",
      "language": "ja",
      "createdAt": 1619879112813,
      "version": 1,
      "blocks": [
        {
          "type": "text",
          "value": "こんにちは!"
        }
      ],
      "plainText": "こんにちは!",
      "updatedAt": 1619879112813,
      "options": [
        "immutable"
      ],
      "threadMsg": false,
      "broadcastedMsg": false
    },
    "user": {
      "id": "5fa4d7b567dda8efbfd7",
      "channelId": "18591",
      "name": "坂本彩",
      "profile": {
        "name": "坂本彩",
        "avatarUrl": "https://sprofile.line-scdn.net/0hW8MBTBB0CBdgOyNukhd2aBBrC31DSlEFHl5GIwU6AnAOX0ZDRQ9GJFZpUSVcX08URVlBdFMzUXJsKH9xfm30I2cLViBZCUlFRVVO9g"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "lastSeenAt": 1619879099648,
      "createdAt": 1604638645424,
      "updatedAt": 1619879099648,
      "version": 8,
      "member": false,
      "avatarUrl": "https://sprofile.line-scdn.net/0hW8MBTBB0CBdgOyNukhd2aBBrC31DSlEFHl5GIwU6AnAOX0ZDRQ9GJFZpUSVcX08URVlBdFMzUXJsKH9xfm30I2cLViBZCUlFRVVO9g",
      "systemLanguage": "ja"
    }
  },
  "type": "userChat"
}

LINE(自動応答メッセージ)

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d64c8a43db79691bf",
    "id": "608d6505d36d067fac63",
    "mainKey": "608d6505d36d067fac63",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d64c8a43db79691bf",
    "personType": "bot",
    "personId": "48622",
    "createdAt": 1619879173866,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": "現在返信まで少し時間がかかっております。お問い合わせ内容をご送信下さい。できるだけ早く回答いたします :blush:"
      }
    ],
    "plainText": "現在返信まで少し時間がかかっております。お問い合わせ内容をご送信下さい。できるだけ早く回答いたします 😊",
    "updatedAt": 1619879173866,
    "options": [
      "quiet",
      "doNotPost",
      "immutable"
    ],
    "system": "delay",
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "userChat": {
      "id": "608d64c8a43db79691bf",
      "channelId": "18591",
      "stateKey": "unassigned-608d6505d36d0ae75d47",
      "userId": "5fa4d7b567dda8efbfd7",
      "name": "坂本彩",
      "state": "unassigned",
      "messengerType": "appLine",
      "messengerId": "1096",
      "appUserKey": "appLine-1653758986-Uf5fd686c89ea7f7429a344ed6e1ad3a5",
      "firstOpenedAt": 1619879112813,
      "openedAt": 1619879112813,
      "createdAt": 1619879112672,
      "frontMessageId": "608d6505d36d067fac63",
      "frontUpdatedAt": 1619879173866,
      "deskMessageId": "608d64c8c67c8e23632a",
      "deskUpdatedAt": 1619879173866,
      "askedAt": 1619879112813,
      "version": 3
    },
    "bot": {
      "id": "48622",
      "channelId": "18591",
      "name": "モバイルアプリちゃん",
      "createdAt": 1577889697788,
      "avatar": {
        "bucket": "bin.channel.io",
        "key": "file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec",
        "width": 200,
        "height": 200
      },
      "color": "#9edfff",
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/18591/5e6616c7e6af954b1d88/avatar-3e3e6d39d7471de09a4134dd38a15fec"
    },
    "user": {
      "id": "5fa4d7b567dda8efbfd7",
      "channelId": "18591",
      "name": "坂本彩",
      "profile": {
        "name": "坂本彩",
        "avatarUrl": "https://sprofile.line-scdn.net/0hW8MBTBB0CBdgOyNukhd2aBBrC31DSlEFHl5GIwU6AnAOX0ZDRQ9GJFZpUSVcX08URVlBdFMzUXJsKH9xfm30I2cLViBZCUlFRVVO9g"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "lastSeenAt": 1619879099648,
      "createdAt": 1604638645424,
      "updatedAt": 1619879099648,
      "version": 8,
      "member": false,
      "avatarUrl": "https://sprofile.line-scdn.net/0hW8MBTBB0CBdgOyNukhd2aBBrC31DSlEFHl5GIwU6AnAOX0ZDRQ9GJFZpUSVcX08URVlBdFMzUXJsKH9xfm30I2cLViBZCUlFRVVO9g",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

LINE(参加者になる)

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d65349cdb1d55e75b",
    "id": "608d6534a5870a3442d2",
    "mainKey": "608d6534a5870a3442d2",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d65349cdb1d55e75b",
    "personType": "manager",
    "personId": "33250",
    "createdAt": 1619879220678,
    "version": 1,
    "updatedAt": 1619879220678,
    "log": {
      "action": "join"
    },
    "options": [
      "immutable",
      "private",
      "quiet"
    ],
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "manager": {
      "id": "33250",
      "channelId": "18591",
      "accountId": "1768",
      "username": "aya",
      "name": "aya",
      "email": "aya@zoyi.co",
      "mobileNumber": "+819011112222",
      "role": "owner",
      "removed": false,
      "createdAt": 1577888124226,
      "defaultWatch": "info",
      "operator": true,
      "operatorScore": 6,
      "touchScore": 13.4,
      "watchOpenUserChatViaEmail": true,
      "watchOpenUserChatViaMobile": true,
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/0/5e662b1a205c9364a0f1/avatar-e48e1a8b12bc2d6cfda2897eaad053e3"
    },
    "userChat": {
      "id": "608d65349cdb1d55e75b",
      "channelId": "18591",
      "userId": "5facdcf935f31685012d",
      "name": "坂本",
      "managerIds": [
        "33250"
      ],
      "createdAt": 1619879220642,
      "frontUpdatedAt": 1619879220642,
      "deskUpdatedAt": 1619879220678,
      "version": 3
    },
    "user": {
      "id": "5facdcf935f31685012d",
      "channelId": "18591",
      "memberId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "veilId": "3375ed39-a590-48d2-a205-77bd8cb8a6bb",
      "name": "坂本",
      "profile": {
        "name": "坂本",
        "referrer": "https://admin.thebase.in/",
        "ticketId": "379347740"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "country": "JP",
      "city": "Tokyo",
      "latitude": 35.6778,
      "longitude": 139.7082,
      "web": {
        "device": "Apple Macintosh",
        "os": "Mac OS X 10.14.6",
        "osName": "Mac OS X",
        "browser": "Chrome 89.0.4389.128",
        "browserName": "Chrome",
        "sessionsCount": 21,
        "lastSeenAt": 1619140414982
      },
      "sessionsCount": 21,
      "lastSeenAt": 1619140414982,
      "createdAt": 1605164281220,
      "updatedAt": 1619878381343,
      "version": 88,
      "member": false,
      "avatarUrl": "https://cf.channel.io/avatar/emoji/cherries.e9f1a3.png",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

LINE(担当者になる)

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d64c8a43db79691bf",
    "id": "608d6633182b83eeeea2",
    "mainKey": "608d6633182b83eeeea2",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d64c8a43db79691bf",
    "personType": "manager",
    "personId": "33250",
    "createdAt": 1619879475099,
    "version": 1,
    "updatedAt": 1619879475099,
    "log": {
      "action": "assign"
    },
    "options": [
      "immutable",
      "private",
      "quiet"
    ],
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "manager": {
      "id": "33250",
      "channelId": "18591",
      "accountId": "1768",
      "username": "aya",
      "name": "aya",
      "email": "aya@zoyi.co",
      "mobileNumber": "+819011112222",
      "role": "owner",
      "removed": false,
      "createdAt": 1577888124226,
      "defaultWatch": "info",
      "operator": true,
      "operatorScore": 6,
      "touchScore": 13.4,
      "watchOpenUserChatViaEmail": true,
      "watchOpenUserChatViaMobile": true,
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/0/5e662b1a205c9364a0f1/avatar-e48e1a8b12bc2d6cfda2897eaad053e3"
    },
    "userChat": {
      "id": "608d64c8a43db79691bf",
      "channelId": "18591",
      "stateKey": "assigned-608d6633182b860e1e27",
      "userId": "5fa4d7b567dda8efbfd7",
      "name": "坂本彩",
      "state": "assigned",
      "messengerType": "appLine",
      "messengerId": "1096",
      "appUserKey": "appLine-1653758986-Uf5fd686c89ea7f7429a344ed6e1ad3a5",
      "managerIds": [
        "33250"
      ],
      "assigneeId": "33250",
      "firstOpenedAt": 1619879112813,
      "openedAt": 1619879112813,
      "createdAt": 1619879112672,
      "frontMessageId": "608d6505d36d067fac63",
      "frontUpdatedAt": 1619879173866,
      "deskMessageId": "608d64c8c67c8e23632a",
      "deskUpdatedAt": 1619879475099,
      "askedAt": 1619879112813,
      "version": 5
    },
    "user": {
      "id": "5fa4d7b567dda8efbfd7",
      "channelId": "18591",
      "name": "坂本彩",
      "profile": {
        "name": "坂本彩",
        "avatarUrl": "https://sprofile.line-scdn.net/0hW8MBTBB0CBdgOyNukhd2aBBrC31DSlEFHl5GIwU6AnAOX0ZDRQ9GJFZpUSVcX08URVlBdFMzUXJsKH9xfm30I2cLViBZCUlFRVVO9g"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "lastSeenAt": 1619879099648,
      "createdAt": 1604638645424,
      "updatedAt": 1619879099648,
      "version": 8,
      "member": false,
      "avatarUrl": "https://sprofile.line-scdn.net/0hW8MBTBB0CBdgOyNukhd2aBBrC31DSlEFHl5GIwU6AnAOX0ZDRQ9GJFZpUSVcX08URVlBdFMzUXJsKH9xfm30I2cLViBZCUlFRVVO9g",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

LINE(担当者返事)

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d64c8a43db79691bf",
    "id": "608d66b334bc0f7b34b5",
    "mainKey": "608d66b334bc0f7b34b5",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d64c8a43db79691bf",
    "personType": "manager",
    "personId": "33250",
    "requestId": "d6769879-b86b-41e6-8ce0-af891087b5ee",
    "language": "ja",
    "createdAt": 1619879603216,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": "よろしくお願いいたします🙌"
      }
    ],
    "plainText": "よろしくお願いいたします🙌",
    "updatedAt": 1619879603216,
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "manager": {
      "id": "33250",
      "channelId": "18591",
      "accountId": "1768",
      "username": "aya",
      "name": "aya",
      "email": "aya@zoyi.co",
      "mobileNumber": "+819011112222",
      "role": "owner",
      "removed": false,
      "createdAt": 1577888124226,
      "defaultWatch": "info",
      "operator": true,
      "operatorScore": 7,
      "touchScore": 13.4,
      "watchOpenUserChatViaEmail": true,
      "watchOpenUserChatViaMobile": true,
      "avatarUrl": "https://cf.channel.io/thumb/200x200/file/0/5e662b1a205c9364a0f1/avatar-e48e1a8b12bc2d6cfda2897eaad053e3"
    },
    "userChat": {
      "id": "608d64c8a43db79691bf",
      "channelId": "18591",
      "stateKey": "assigned-608d66b334bc0fbd4e9d",
      "userId": "5fa4d7b567dda8efbfd7",
      "name": "坂本彩",
      "state": "assigned",
      "messengerType": "appLine",
      "messengerId": "1096",
      "appUserKey": "appLine-1653758986-Uf5fd686c89ea7f7429a344ed6e1ad3a5",
      "managerIds": [
        "33250"
      ],
      "assigneeId": "33250",
      "firstOpenedAt": 1619879112813,
      "openedAt": 1619879112813,
      "firstReplierType": "manager",
      "firstReplierId": "33250",
      "firstRepliedAt": 1619879603216,
      "createdAt": 1619879112672,
      "frontMessageId": "608d66b334bc0f7b34b5",
      "frontUpdatedAt": 1619879603216,
      "deskMessageId": "608d66b334bc0f7b34b5",
      "deskUpdatedAt": 1619879603216,
      "waitingTime": 490403,
      "avgReplyTime": 490403,
      "totalReplyTime": 490403,
      "replyCount": 1,
      "version": 6
    },
    "user": {
      "id": "5fa4d7b567dda8efbfd7",
      "channelId": "18591",
      "name": "坂本彩",
      "profile": {
        "name": "坂本彩",
        "avatarUrl": "https://sprofile.line-scdn.net/0hW8MBTBB0CBdgOyNukhd2aBBrC31DSlEFHl5GIwU6AnAOX0ZDRQ9GJFZpUSVcX08URVlBdFMzUXJsKH9xfm30I2cLViBZCUlFRVVO9g"
      },
      "alert": 0,
      "unread": 0,
      "blocked": false,
      "unsubscribed": false,
      "hasChat": true,
      "hasPushToken": false,
      "language": "ja",
      "lastSeenAt": 1619879099648,
      "createdAt": 1604638645424,
      "updatedAt": 1619879099648,
      "version": 8,
      "member": false,
      "avatarUrl": "https://sprofile.line-scdn.net/0hW8MBTBB0CBdgOyNukhd2aBBrC31DSlEFHl5GIwU6AnAOX0ZDRQ9GJFZpUSVcX08URVlBdFMzUXJsKH9xfm30I2cLViBZCUlFRVVO9g",
      "systemLanguage": "ja"
    }
  },
  "type": "message"
}

LINE お客様メッセージ

{
  "event": "push",
  "entity": {
    "chatKey": "userChat-608d64c8a43db79691bf",
    "id": "608d66f33d090dbe34df",
    "mainKey": "608d66f33d090dbe34df",
    "root": false,
    "channelId": "18591",
    "chatType": "userChat",
    "chatId": "608d64c8a43db79691bf",
    "personType": "user",
    "personId": "5fa4d7b567dda8efbfd7",
    "language": "ja",
    "createdAt": 1619879667250,
    "version": 1,
    "blocks": [
      {
        "type": "text",
        "value": "質問があります:relaxed:"
      }
    ],
    "plainText": "質問があります☺️",
    "updatedAt": 1619879667250,
    "options": [
      "immutable"
    ],
    "threadMsg": false,
    "broadcastedMsg": false
  },
  "refers": {
    "userChat": {
      "id": "608d64c8a43db79691bf",
      "channelId": "18591",
      "stateKey": "assigned-608d66f33d090c707284",
      "userId": "5fa4d7b567dda8efbfd7",
      "name": "坂本彩",
      "state": "assigned"