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
use_context argument of Dispatcher and Updater (this is discussable. we could keep that until v15 as convenience for everyone who already switched to context based callbacks - then again, for adjusting your code to v14, this will be the easiest part …) Dropping non context #2617
Think about removing Defaults from tg.Bot completey and moving them to tg.ext.ExtBot. We may have to think about how to handle signatures with DefaultVaule, then, i.e. if _insert_defaults should stay in tg.Bot or should be moved to tg.ext.ExtBot. Move defaults to ext #2648
Things we should drop in v14. The list is probably not complete. This includes everything deprecated in v12.x and v13.x.
__dict__from__slots__#2619 & Update python version in Readme andsetup.py#2636pass_*arguments) Dropping non context #2617allow_editedargument of CommandHandler Dropping non context #2617RegexHandlerDropping non context #2617botargument ofJobQueueDoc fixes #2597use_contextargument ofDispatcherandUpdater(this is discussable. we could keep that until v15 as convenience for everyone who already switched to context based callbacks - then again, for adjusting your code to v14, this will be the easiest part …) Dropping non context #2617MessageQueue&DelayQueueas a whole (we might want to add some of the logic back in Refactor MessageQueue #2139 after the asyncio switch, but maybe it's cleaner to just remove everything in case Refactor MessageQueue #2139 will make it only to v14.1 or so) Remove deprecated things #2644__dict__from__slots__(users won't be able to set custom attributes on PTB objects) Remove__dict__from__slots__#2619BP.refresh_*_dataabstract methods Make basepersistence methods abstractmethod #2624Persistence.store_callback_datadefault toTrueand makeBP.get/update_callback_dataabstract methods. Make basepersistence methods abstractmethod #2624TelegramDecryptionErrortoerror.py(851f0b7, it was reverted since it was breaking) move telegramdecryptionerror to error.py #2621Originally from #2347:
@run_asyncdecorator Remove deprecated things #2644Filters.{private, group}Remove deprecated things #2644utils.{promise, webhookhandler}Remove deprecated things #2644cleanargument ofUpdater.start_{polling, webhook}Remove deprecated things #2644Defaultsfromtg.Botcompletey and moving them totg.ext.ExtBot. We may have to think about how to handle signatures withDefaultVaule, then, i.e. if_insert_defaultsshould stay intg.Botor should be moved totg.ext.ExtBot. Move defaults to ext #2648ChatMemberFix method signatures and expandtest_official#2643Bot.{kick_chat_member, get_chat_members_count}Remove deprecated things #2644Chat.{kick_member, get_members_count}Remove deprecated things #2644ChatAction.{RECORD, UPLOAD}_AUDIO? Remove deprecated things #2644