diff --git a/telebot/types.py b/telebot/types.py index cb98b9f..a622d29 100644 --- a/telebot/types.py +++ b/telebot/types.py @@ -479,8 +479,11 @@ class Message(JsonDeserializable): "pre" : "
{text}
", "code" : "{text}", #"url" : "{text}", # @badiboy plain URLs have no text and do not need tags - "text_link": "{text}" - } + "text_link": "{text}", + "strikethrough": "{text}", + "underline": "{text}" + } + if hasattr(self, "custom_subs"): for key, value in self.custom_subs.items(): _subs[key] = value