1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Added spoiler

This commit is contained in:
_run 2022-01-02 14:12:15 +04:00
parent e7d0ec1f6c
commit b71507387f

View File

@ -582,7 +582,8 @@ class Message(JsonDeserializable):
# "url": "<a href=\"{url}\">{text}</a>", # @badiboy plain URLs have no text and do not need tags # "url": "<a href=\"{url}\">{text}</a>", # @badiboy plain URLs have no text and do not need tags
"text_link": "<a href=\"{url}\">{text}</a>", "text_link": "<a href=\"{url}\">{text}</a>",
"strikethrough": "<s>{text}</s>", "strikethrough": "<s>{text}</s>",
"underline": "<u>{text}</u>" "underline": "<u>{text}</u>",
"spoiler": "<span class=\"tg-spoiler\">{text}</span>",
} }
if hasattr(self, "custom_subs"): if hasattr(self, "custom_subs"):