2019-06-17 13:59:14 +03:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"id": 30,
|
|
|
|
"avatar": "",
|
|
|
|
"name": "",
|
|
|
|
"channel": {
|
|
|
|
"id": 72,
|
|
|
|
"avatar": "",
|
|
|
|
"transport_id": 4,
|
|
|
|
"type": "fbmessenger",
|
|
|
|
"settings": {
|
|
|
|
"status": {
|
|
|
|
"delivered": "send"
|
|
|
|
},
|
|
|
|
"text": {
|
|
|
|
"creating": "both",
|
|
|
|
"editing": "both",
|
|
|
|
"quoting": "both",
|
|
|
|
"deleting": "receive",
|
|
|
|
"max_chars_count": 4096
|
|
|
|
},
|
|
|
|
"product": {
|
|
|
|
"creating": "receive",
|
|
|
|
"editing": "receive"
|
|
|
|
},
|
|
|
|
"order": {
|
|
|
|
"creating": "receive",
|
|
|
|
"editing": "receive"
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"creating": "both",
|
|
|
|
"editing": "both",
|
|
|
|
"quoting": "both",
|
|
|
|
"deleting": "receive",
|
|
|
|
"max_items_count": 10
|
|
|
|
},
|
|
|
|
"file": {
|
|
|
|
"creating": "both",
|
|
|
|
"editing": "both",
|
|
|
|
"quoting": "both",
|
|
|
|
"deleting": "receive",
|
|
|
|
"max_items_count": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "testbot",
|
|
|
|
"is_active": true
|
|
|
|
},
|
|
|
|
"members": null,
|
|
|
|
"customer": {
|
|
|
|
"id": 39,
|
|
|
|
"type": "customer",
|
|
|
|
"avatar": "",
|
|
|
|
"name": "Иван",
|
|
|
|
"username": "Иван",
|
|
|
|
"first_name": "Иван"
|
|
|
|
},
|
|
|
|
"author_id": 0,
|
|
|
|
"last_message": null,
|
|
|
|
"last_activity": "2019-06-11T17:36:20+03:00",
|
|
|
|
"created_at": "2019-06-11T12:49:26.938879Z",
|
|
|
|
"updated_at": "2019-06-14T14:40:28.7111Z"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 29,
|
|
|
|
"avatar": "",
|
|
|
|
"name": "",
|
|
|
|
"channel": {
|
|
|
|
"id": 68,
|
|
|
|
"avatar": "",
|
|
|
|
"transport_id": 5,
|
|
|
|
"type": "fbmessenger",
|
|
|
|
"settings": {
|
|
|
|
"status": {
|
|
|
|
"delivered": "send",
|
|
|
|
"read": "send"
|
|
|
|
},
|
|
|
|
"text": {
|
|
|
|
"creating": "both",
|
|
|
|
"quoting": "receive",
|
|
|
|
"max_chars_count": 2000
|
|
|
|
},
|
|
|
|
"product": {
|
|
|
|
"creating": "receive"
|
|
|
|
},
|
|
|
|
"order": {
|
|
|
|
"creating": "receive"
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"creating": "both",
|
|
|
|
"max_items_count": 10
|
|
|
|
},
|
|
|
|
"file": {
|
|
|
|
"creating": "both",
|
|
|
|
"max_items_count": 10
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "testbot",
|
|
|
|
"is_active": false
|
|
|
|
},
|
|
|
|
"members": null,
|
|
|
|
"customer": {
|
|
|
|
"id": 38,
|
|
|
|
"type": "customer",
|
|
|
|
"avatar": "",
|
|
|
|
"name": "Пётр Петрович",
|
|
|
|
"username": "Пётр",
|
|
|
|
"first_name": "Пётр",
|
|
|
|
"last_name": "Петрович"
|
|
|
|
},
|
|
|
|
"author_id": 0,
|
2022-12-22 13:46:12 +03:00
|
|
|
"last_message": {
|
|
|
|
"id": 1,
|
|
|
|
"time": "2022-12-21T17:15:54+01:00",
|
|
|
|
"type": "command",
|
|
|
|
"scope": "private",
|
|
|
|
"chat_id": 1053,
|
|
|
|
"is_read": false,
|
|
|
|
"is_edit": false,
|
|
|
|
"status": "received",
|
|
|
|
"from": {
|
|
|
|
"id": 2,
|
|
|
|
"external_id": "12",
|
|
|
|
"type": "user",
|
|
|
|
"avatar": null,
|
|
|
|
"name": "Cuenta Soporte",
|
|
|
|
"first_name": "Cuenta",
|
|
|
|
"last_name": "Soporte",
|
|
|
|
"is_technical_account": true
|
|
|
|
}
|
|
|
|
},
|
2019-06-17 13:59:14 +03:00
|
|
|
"last_activity": "2019-06-13T11:07:14+03:00",
|
|
|
|
"created_at": "2019-06-11T07:34:16.082957Z",
|
|
|
|
"updated_at": "2019-06-16T08:10:28.657972Z"
|
2023-01-20 13:06:36 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 28,
|
|
|
|
"avatar": "",
|
|
|
|
"name": "",
|
|
|
|
"channel": {
|
|
|
|
"id": 61,
|
|
|
|
"avatar": "",
|
|
|
|
"transport_id": 1,
|
|
|
|
"type": "fbmessenger",
|
|
|
|
"settings": {
|
|
|
|
"status": {
|
|
|
|
"delivered": "send",
|
|
|
|
"read": "send"
|
|
|
|
},
|
|
|
|
"text": {
|
|
|
|
"creating": "both",
|
|
|
|
"quoting": "receive",
|
|
|
|
"max_chars_count": 2000
|
|
|
|
},
|
|
|
|
"product": {
|
|
|
|
"creating": "receive"
|
|
|
|
},
|
|
|
|
"order": {
|
|
|
|
"creating": "receive"
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"creating": "both",
|
|
|
|
"max_items_count": 10
|
|
|
|
},
|
|
|
|
"file": {
|
|
|
|
"creating": "both",
|
|
|
|
"max_items_count": 10
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"name": "testbot",
|
|
|
|
"is_active": false
|
|
|
|
},
|
|
|
|
"members": null,
|
|
|
|
"customer": {
|
|
|
|
"id": 38,
|
|
|
|
"type": "customer",
|
|
|
|
"avatar": "",
|
|
|
|
"name": "Пётр Петрович",
|
|
|
|
"username": "Пётр",
|
|
|
|
"first_name": "Пётр",
|
|
|
|
"last_name": "Петрович"
|
|
|
|
},
|
|
|
|
"author_id": 0,
|
|
|
|
"last_message": {
|
|
|
|
"id": 1,
|
|
|
|
"time": "2022-12-21T17:15:54+01:00",
|
|
|
|
"type": "command",
|
|
|
|
"scope": "private",
|
|
|
|
"chat_id": 1053,
|
|
|
|
"is_read": false,
|
|
|
|
"is_edit": false,
|
|
|
|
"status": "received",
|
|
|
|
"from": {
|
|
|
|
"id": 2,
|
|
|
|
"external_id": "12",
|
|
|
|
"type": "user",
|
|
|
|
"avatar": null,
|
|
|
|
"name": "Cuenta Soporte",
|
|
|
|
"first_name": "Cuenta",
|
|
|
|
"last_name": "Soporte",
|
|
|
|
"is_technical_account": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"last_activity": "2019-06-13T11:07:14+03:00",
|
|
|
|
"created_at": "2019-06-11T07:34:16Z",
|
|
|
|
"updated_at": "2019-06-16T08:10:28Z"
|
2019-06-17 13:59:14 +03:00
|
|
|
}
|
2022-12-22 13:46:12 +03:00
|
|
|
]
|