Skip to content

Commit 6cb15f0

Browse files
committed
update: added deep link maximum character constant
1 parent 959e6a8 commit 6cb15f0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ The following wonderful people contributed directly or indirectly to this projec
2828
- `Avanatiker <https://github.com/Avanatiker>`_
2929
- `Balduro <https://github.com/Balduro>`_
3030
- `Bibo-Joshi <https://github.com/Bibo-Joshi>`_
31+
- `Biruk Alamirew <https://github.com/BAcode-X>`_
3132
- `bimmlerd <https://github.com/bimmlerd>`_
3233
- `cyc8 <https://github.com/cyc8>`_
3334
- `d-qoi <https://github.com/d-qoi>`_

telegram/constants.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,8 @@ class MessageLimit(IntEnum):
654654
""":obj:`int`: Maximum number of characters for a text message."""
655655
CAPTION_LENGTH = 1024
656656
""":obj:`int`: Maximum number of characters for a message caption."""
657+
DEEP_LINK_LENGTH = 64
658+
""":obj:`int`: Maximum number of characters for a deep link."""
657659
# constants above this line are tested
658660
MESSAGE_ENTITIES = 100
659661
""":obj:`int`: Maximum number of entities that can be displayed in a message. Further entities

0 commit comments

Comments
 (0)