telebot icon indicating copy to clipboard operation
telebot copied to clipboard

Do not overwrite inline parsemode

Open LightningTipBot opened this issue 2 years ago • 1 comments

telebot v3 overwrites the default parsemode ModeDefault for inline results if it differs from the bot's parse mode. This is not always desirable: inline article results to not support, for example, Markdown.

This PR removes the code that overwrites the parse mode and hands the control over to the developer.

LightningTipBot avatar Mar 30 '22 12:03 LightningTipBot

inline article results to not support, for example, Markdown.

What do you mean? As far as I remember inline articles support any kind of formatting mode.

demget avatar Apr 22 '22 23:04 demget

Could you please show a specific example where it can be essentially useful?

demget avatar Oct 03 '22 12:10 demget