You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i've installed th bot on my server but even when I add it to a channel/group it doesn't seem to add the chan_id.
See logs :
2021-02-17 02:08:55,585 - main - INFO - I have been added to 1 chats
2021-02-17 02:08:55,585 - main - INFO - Invited by XXX to chat XXXXX (XXXXX)
bot.py:181: TelegramDeprecationWarning: The @run_async decorator is deprecated. Use the run_async parameter of your Handler or Dispatcher.run_async instead.
send_async(context, chat_id=chat_id, text=text)
2021-02-17 02:08:55,605 - telegram.ext.dispatcher - ERROR - A promise with deactivated error handling raised an error.
(I replaced by XXXX but informations are correct)
And so every command I do it answer me : Please add me to a group first!
The text was updated successfully, but these errors were encountered:
To remove the warning, just replace @run_async by run_async.
Users must have the right to post message or else bot will remove chat id instantantly.
With all these changes I got no more error and bot said its first message in Group but still no commands work (except /help)..
Hello,
i've installed th bot on my server but even when I add it to a channel/group it doesn't seem to add the chan_id.
See logs :
2021-02-17 02:08:55,585 - main - INFO - I have been added to 1 chats
2021-02-17 02:08:55,585 - main - INFO - Invited by XXX to chat XXXXX (XXXXX)
bot.py:181: TelegramDeprecationWarning: The @run_async decorator is deprecated. Use the
run_async
parameter of your Handler orDispatcher.run_async
instead.send_async(context, chat_id=chat_id, text=text)
2021-02-17 02:08:55,605 - telegram.ext.dispatcher - ERROR - A promise with deactivated error handling raised an error.
(I replaced by XXXX but informations are correct)
And so every command I do it answer me : Please add me to a group first!
The text was updated successfully, but these errors were encountered: