e-caste / boggle-telegram-bot

A Telegram bot to play boggle (ITA: il paroliere) with friends
https://t.me/boggle_paroliere_bot
GNU General Public License v3.0
1 stars 0 forks source link

Update python-telegram-bot to v14 and use the new MessageQueue #53

Closed aelkheir closed 3 months ago

aelkheir commented 2 years ago

In the documentation for the function telegram.ext.messagequeue.queuedmessage in the source code, it says it's used with "send* methods". However when following the guide in avoiding flood limits and replacing the MQBot to decorate send_document instead, it does not seem to work.

e-caste commented 2 years ago

MessageQueue is currently deprecated and should be available in v14 of python-telegram-bot.
I will use this issue as a reminder to update the library when the new major comes out.
In the meantime, try to ask around on their Telegram group and let me know if you find a temporary fix.

aelkheir commented 2 years ago

Oh-Oh, Sorry I don't how this issue ended up here, I feel so stupid 😅. I meant to open it in PTB and switched tabs apparently. Yeah I think v 14 is still a work in progress, and they suggested to use JobQueue instead and it works like a charm.