{
"data": {
"channel": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"senler_channel_id": 123456789,
"name": "My Channel",
"type": "vk",
"external_id": "@mychannel",
"avatar_url": "string",
"is_active": true,
"is_paused": false,
"webhook_secret": "string",
"project_id": "550e8400-e29b-41d4-a716-446655440000",
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z",
"data_tg": {
"bot_id": "123456789",
"bot_username": "mybot",
"bot_name": "My Awesome Agent",
"bot_avatar_url": "https://avatars-ai.senler.ru/bots/telegram/123456789.jpg",
"webhook_enabled": true,
"webhook_status": "not_set",
"webhook_error": "string"
},
"data_vk": {
"group_id": 158819144,
"screen_name": "my_community",
"callback_server_id": "12345",
"confirmation_token": "abc123def",
"group_avatar_url": "https://avatars-ai.senler.ru/bots/vk/158819144.jpg",
"webhook_enabled": true,
"webhook_status": "not_set",
"webhook_error": "string"
},
"data_max": {
"bot_id": "123456",
"bot_username": "my_bot",
"bot_name": "My Agent",
"bot_avatar_url": "https://avatars-ai.senler.ru/bots/max/123456.jpg",
"subscription_id": "sub_12345",
"webhook_enabled": true,
"webhook_status": "not_set",
"webhook_error": "string"
},
"data_widget": {
"allowed_domains": [
"example.com",
"*.example.com"
],
"theme": {
"position": "bottom-right",
"welcome_message": {
"ru": "Здравствуйте! Чем могу помочь?",
"en": "Hello! How can I help you?"
},
"button": {
"position": "bottom-right",
"light": {
"background": "#3B82F6",
"icon": "#ffffff"
},
"dark": {
"background": "#3B82F6",
"icon": "#ffffff"
}
},
"toggle_button": {
"light": {
"background": "#3B82F6",
"icon": "#ffffff"
},
"dark": {
"background": "#3B82F6",
"icon": "#ffffff"
}
},
"width": 400,
"height": 600,
"theme_mode": "light",
"border_radius": 12
},
"features": {
"file_upload": true,
"voice_messages": false,
"emoji": true
},
"config_source": "local"
},
"data_streamvi": {
"streamvi_channel_id": "12345",
"webhook_enabled": true,
"webhook_status": "not_set",
"webhook_error": "string"
},
"data_email": {
"email_address": "support@company.com",
"provider": "yandex",
"imap_host": "imap.yandex.com",
"imap_port": 993,
"smtp_host": "smtp.yandex.com",
"smtp_port": 465,
"imap_status": "not_set",
"smtp_status": "not_set",
"connection_error": "string"
},
"senler": {
"isLinked": true,
"senlerChannelId": 123456,
"tokenValid": true
}
}
}
}