Skip to content

Commit

Permalink
add parse mode type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
z44d committed Sep 27, 2024
1 parent d64b215 commit d38f73f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tgram/types/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pathlib import Path as _Path
from typing import Union as _Union
from typing import Union as _Union, Literal as _Literal
from io import BytesIO as _BytesIo

from ._animation import Animation
Expand Down Expand Up @@ -283,6 +283,8 @@
"TransactionPartnerTelegramAds",
]

ParseMode = _Literal["Markdown", "MarkdownV2", "HTML"]

__all__ = [
"Animation",
"Audio",
Expand Down

0 comments on commit d38f73f

Please sign in to comment.