[Telegram] Notifications

[Telegram] Notifications 2.0.0 RC 4

No permission to download

Kruzya

Well-known member
This is permission.
You can globally disable all notifications in Options, and you can control, who is users can receive Telegram notifications.
Check your user group permissions.
 
Error


Code:
Registro de errores del servidor
TelegramBot\Api\HttpException: Conflict: can't use getUpdates method while webhook is active; use deleteWebhook to delete the webhook first src/addons/SModders/TelegramCore/vendor/telegram-bot/api/src/BotApi.php:281
Generado por: Cuenta desconocida 6 Feb 2020 a las 18:31
Seguimiento
#0 src/addons/SModders/TelegramCore/vendor/telegram-bot/api/src/BotApi.php(258): TelegramBot\Api\BotApi::curlValidate(Resource id #75, '{"ok":false,"er...')
#1 src/addons/SModders/TelegramCore/vendor/telegram-bot/api/src/BotApi.php(227): TelegramBot\Api\BotApi->executeCurl(Array)
#2 src/addons/SModders/TelegramCore/vendor/telegram-bot/api/src/BotApi.php(474): TelegramBot\Api\BotApi->call('getUpdates', Array)
#3 [internal function]: TelegramBot\Api\BotApi->getUpdates(994683914, 55, 1)
#4 src/addons/SModders/TelegramCore/vendor/telegram-bot/api/src/Client.php(405): call_user_func_array(Array, Array)
#5 src/addons/SModders/TelegramCore/Cron/LongPoll.php(39): TelegramBot\Api\Client->__call('getUpdates', Array)
#6 [internal function]: SModders\TelegramCore\Cron\LongPoll::process(Object(XF\Entity\CronEntry))
#7 src/XF/Job/Cron.php(35): call_user_func(Array, Object(XF\Entity\CronEntry))
#8 src/XF/Job/Manager.php(253): XF\Job\Cron->run(G)
#9 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#10 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#11 job.php(42): XF\Job\Manager->runQueue(false, 8)
#12 {main}
Estado de la solicitud
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(38) "https://relojinteligente.org/admin.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Great..this addon works! Why not enable all notification types at first place whenever account successfully associated? I think it be more proper as a default setting. How can i do this?
 
Well, you can force-enable for all notifications in Telegram with one query:
SQL:
UPDATE
  xf_user_option
SET
  smodders_tgnotifications_optout = alert_optout
 
I think that's only reflected to existing members only, not future members. Could you enable it in the script at first place?
 
Hello there! :)

Wonderful shot Kruzya!
Any chance to point me to some instructions on how to configure upon installation? Can't figure it out, I'm pretty new here 😇
I've installed Notification as well, but beside enabling it, don't understand what to do next...

Thanks!
 
Alright Mate!

Got it up and running after searching and reading around!! (y)

Is there any chance I can translate notifications sent by the bot into my own language? :)
Even the auth message from Telegram was in English... Is that possible at all?
 
Back
Top Bottom