mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2026-06-19 07:35:19 +00:00
Add constants.MessageLimit.DEEP_LINK_LENGTH (#3315)
This commit is contained in:
@@ -28,6 +28,7 @@ The following wonderful people contributed directly or indirectly to this projec
|
||||
- `Avanatiker <https://github.com/Avanatiker>`_
|
||||
- `Balduro <https://github.com/Balduro>`_
|
||||
- `Bibo-Joshi <https://github.com/Bibo-Joshi>`_
|
||||
- `Biruk Alamirew <https://github.com/BAcode-X>`_
|
||||
- `bimmlerd <https://github.com/bimmlerd>`_
|
||||
- `cyc8 <https://github.com/cyc8>`_
|
||||
- `d-qoi <https://github.com/d-qoi>`_
|
||||
|
||||
@@ -655,6 +655,8 @@ class MessageLimit(IntEnum):
|
||||
CAPTION_LENGTH = 1024
|
||||
""":obj:`int`: Maximum number of characters for a message caption."""
|
||||
# constants above this line are tested
|
||||
DEEP_LINK_LENGTH = 64
|
||||
""":obj:`int`: Maximum number of characters for a deep link."""
|
||||
MESSAGE_ENTITIES = 100
|
||||
""":obj:`int`: Maximum number of entities that can be displayed in a message. Further entities
|
||||
will simply be ignored by Telegram.
|
||||
|
||||
Reference in New Issue
Block a user