Closed aelkheir closed 3 months 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.
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.
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 theMQBot
to decoratesend_document
instead, it does not seem to work.