47 lines
802 B
Python
47 lines
802 B
Python
"""Since telegram.text is based on a third-party module telegram-text,
|
|
you can find more examples of how to use markup components on
|
|
telegram-text.alinsky.tech or github.com/SKY-ALIN/telegram-text
|
|
"""
|
|
|
|
from telegram_text import (
|
|
Bold,
|
|
Chain,
|
|
Code,
|
|
Hashtag,
|
|
InlineCode,
|
|
InlineUser,
|
|
Italic,
|
|
Link,
|
|
OrderedList,
|
|
PlainText,
|
|
Spoiler,
|
|
Strikethrough,
|
|
TOMLSection,
|
|
Text,
|
|
Underline,
|
|
UnorderedList,
|
|
User,
|
|
)
|
|
from telegram_text.bases import Element
|
|
|
|
__all__ = [
|
|
"Bold",
|
|
"Chain",
|
|
"Code",
|
|
"Element",
|
|
"Hashtag",
|
|
"InlineCode",
|
|
"InlineUser",
|
|
"Italic",
|
|
"Link",
|
|
"OrderedList",
|
|
"PlainText",
|
|
"Spoiler",
|
|
"Strikethrough",
|
|
"TOMLSection",
|
|
"Text",
|
|
"Underline",
|
|
"UnorderedList",
|
|
"User",
|
|
]
|