-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Add show_caption_above_media
parameter to Defaults
#4306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
show_caption_above_media
parameter to telegram.ext.Defaults
show_caption_above_media
parameter to Defaults
Thanks for reaching out. I double checked the implementation of I vote +0 on this, i.e. I would accept a PR but don't see a need for the PTB dev team to work on this actively. @python-telegram-bot/developers what do you think? |
-0.5. We can't have all/many parameters of bot methods in Defaults. This parameter in particular is not as significant as say "disable_notification", which is in all send_* methods. Similarly, |
I would very much also accept a PR, I see how people would like to have this for their whole bot whenever applicable. |
show_caption_above_media
parameter to Defaults
show_caption_above_media
parameter to Defaults
What kind of feature are you missing? Where do you notice a shortcoming of PTB?
Currently when you want to set the
show_caption_above_media
parameter to every bot method that supports it (such assend_video
,send_photo
,edit_message_caption
, etc.) you need to do so manually on each method callDescribe the solution you'd like
It would be nice to set a default value for it via the
telegram.ext.Defaults
class, since you typically set it everywhere anyway just for consistency sakeDescribe alternatives you've considered
No response
Additional context
I would also like to contribute for this feature myself if that's fine
The text was updated successfully, but these errors were encountered: