mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Added spoiler
This commit is contained in:
parent
e7d0ec1f6c
commit
b71507387f
@ -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"):
|
||||||
|
Loading…
Reference in New Issue
Block a user