[*] комбинированный класс для работы с телеграм
This commit is contained in:
1 parent
1d6124a975
commit
f74c23b527
3 files changed
+22
-5
No files matched your search
+2
-3
@@ -15,8 +15,7 @@
|
||||
$tg = new Telegram2(TELEGRAM_BOT_TOKEN);
|
||||
$tg->setRemoteRequest($data);
|
||||
|
||||
$tg->setChat(TELEGRAM_ADMIN_CHAT_ID)->sendMessage(print_r($tg->getChat('bitrix'), true));
|
||||
//$tg->setChat(TELEGRAM_ADMIN_CHAT_ID)->sendLocation( '54.007143', '38.046204');
|
||||
$res = $tg->setChat(TELEGRAM_ADMIN_CHAT_ID)->updateMessage(121, '');
|
||||
|
||||
|
||||
// sendTelegram(print_r($data, true));
|
||||
sendTelegram(print_r($res, true));
|
||||
Reference in new issue
Block a user