Added parse_mode parameter in Updater and in Bot class#1226
Added parse_mode parameter in Updater and in Bot class#1226ak4zh wants to merge 1 commit intopython-telegram-bot:masterfrom ak4zh:default_parse_mode
Conversation
…lt parse mode for bot
|
Hi @ak4zh We discussed this feature several times in the developers chat. But never came to a good way to offer it.
Right now your PR is not up to these requests. Are you willing to put in some work to try a solution as I just described? |
|
Regarding: What seems a better approach. -> Default parse mode is set, so it always uses the default one and use other parse_mode if something is passed specifically. To use no parse_mode you can pass parse_mode=False and no parse mode will be used. Will look something like: Or another approach can be, adding another parameter So whenever you pass nothing in parse_mode it’s None and will use default parse mode (if anything is set) If you want to use no parse mode, just pass |
|
will be implemented with #1490, closing |
Added parse_mode parameter in Updater and in Bot class to allow to set a default parse mode for your bot.