mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-27 08:19:47 +03:00
fix according to bot api
This commit is contained in:
parent
32c10eafe7
commit
c909221042
|
@ -48,7 +48,7 @@ class HTMLToTelegramParser(HTMLParser):
|
|||
EntityType = MessageEntityStrike
|
||||
elif tag == "blockquote":
|
||||
EntityType = MessageEntityBlockquote
|
||||
elif tag == "spoiler":
|
||||
elif tag == "spoiler" or tag == "tg-spoiler":
|
||||
EntityType = MessageEntitySpoiler
|
||||
elif tag == "code":
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user