[BS] Telegram [Deleted]

hi
I cannot activate Telegram in Connected account providers
I have a bot key
But in Connected accounts needs:Token
Should I get the Token from the same bot that I created with BotFather?
 
me
/token
BotFather
Choose a bot to generate a new token.
me
@MesterPerfectBot
BotFather
You can use this token to access HTTP API:
nnnnnnnnnnnnnnnn

When I put the Token:
Container key 'smodders.telegram' was not found
where is the problem
 
Server error log
Error: Call to a member function getId() on null · src/addons/BS/Telegram/Pub/Controller/Bot.php:23
Generated by: Unknown account · Feb 10, 2021 at 2:28 PM
Stack trace
#0 src/XF/Mvc/Dispatcher.php(350): BS\Telegram\Pub\Controller\Bot->actionWebhook(Object(XF\Mvc\ParameterBag))
#1 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('BS\\Telegram:Bot', 'Webhook', Object(XF\Mvc\RouteMatch), Object(BS\Telegram\Pub\Controller\Bot), NULL)
#2 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(BS\Telegram\Pub\Controller\Bot), NULL)
#3 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#4 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#5 src/XF.php(488): XF\App->run()
#6 index.php(20): XF::runApp('XF\\Pub\\App')
#7 {main}
Request state
array(4) {
["url"] => string(72) "/telegram/bot/webhook?t=1661202231%3AAAEmDM13IxAsa82GYr0aC4_fQXrVWffYsRw"
["referrer"] => bool(false)
["_GET"] => array(1) {
["t"] => string(46) "1661202231:AAEmDM13IxAsa82GYr0aC4_fQXrVWffYsRw"
}
["_POST"] => array(0) {
}
}
 
  • Like
Reactions: 021
I am running it on XF2.2
Just a question to @021 : is it possible to sent new thread or posting notification in to Telegram channel ?
 
Back
Top Bottom