This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Имя и фамилия | Email-адрес (логин) | Пароль | Роль | |
---|---|---|---|---|
Василий Пертов|Vasiliy Petrov | vaspetr@yandex.ru | sadg90-83289u-239ghs | Первая линия поддержки | |
Екатерина Антонеску|Kate Antonescu | ek.antonescu@gmail.com | 394VHd-348201-TEei23 | Первая линия поддержки | |
Сергей Улюкаев|Serj Uliukaev | uliukserj@outlook.com | 429842-UFGwer-5093nb | Вторая линия поддержки | |
Александра Куценко|Alexandra Kutzenko | alexku@gmail.com | 45890f-UGHFi2-3509hg | Топ-менеджмент |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Ссылка для получения ID: | |
https://api.telegram.org/bot[токен_бота]/getUpdates | |
2) URL: | |
https://api.telegram.org/bot[токен_бота]/sendMessage | |
3) Кастомный запрос: | |
{ | |
"chat_id": [полученный_id], | |
"parse_mode": "Markdown", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
JWT можно скачать по адресу https://github.com/firebase/php-jwt | |
Также можно использовать JWT PEAR package http://pear.php.net/pepr/pepr-proposal-show.php?id=688 | |
*/ | |
include "Authentication/JWT.php"; | |
define('CURRENT_TIME', strtotime(gmdate("M d Y H:i:s").'+0000')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
/** | |
* Ваш сайт, для примеров работы с запросами | |
*/ | |
var URL = 'http://example.com'; | |
/** | |
* Некоторые переменные, доступные в глобальной видимости Омнидеска: | |
* CurrentCaseId | |
* CurrentUserId |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Пример страницы с виджетом</title> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// правило для входящих обращений | |
payload={"attachments":[ | |
{ | |
"fallback":"<[case_url]|[case_subject]> (#[case_number])", | |
"pretext":"<[case_url]|[case_subject]> (#[case_number])", | |
"color":"#4CA9E4", | |
"fields":[ | |
{ | |
"title":"Отправитель", |