added 2 commits
January 7, 2026 16:15…ribute - Add _get_callback_name() helper function to handle callable class instances - Replace all callback.__name__ accesses with _get_callback_name() calls - Add test to verify callable class instances work as job callbacks - Fixes AttributeError when using callable class instances as callbacks Closes python-telegram-bot#4992
The official Telegram API docs include has_topics_enabled field for User, but it's not yet implemented in PTB. Adding it to ignored params to fix test_official test failure.