mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
* Render shortcuts * Render docs * Added enumerations * Added docs * Use enums, removed Helper * Bump butcher * Added InputMediaType enum * Added MaskPositionPoint, InlineQueryResultType enums * Update texts * Added StickerType enum * Cover tests * Update docs * Fixed imports * Re-enabled all pre-commit hooks
13 lines
234 B
Python
13 lines
234 B
Python
from enum import Enum
|
|
|
|
|
|
class ParseMode(str, Enum):
|
|
"""
|
|
Formatting options
|
|
|
|
Source: https://core.telegram.org/bots/api#formatting-options
|
|
"""
|
|
|
|
MARKDOWN_V2 = "MarkdownV2"
|
|
MARKDOWN = "Markdown"
|
|
HTML = "HTML"
|