mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-28 23:38:31 +01:00
Add constants.MessageLimit.DEEP_LINK_LENGTH
(#3315)
This commit is contained in:
parent
a1e6a6e779
commit
55106d6d57
2 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,7 @@ The following wonderful people contributed directly or indirectly to this projec
|
||||||
- `Avanatiker <https://github.com/Avanatiker>`_
|
- `Avanatiker <https://github.com/Avanatiker>`_
|
||||||
- `Balduro <https://github.com/Balduro>`_
|
- `Balduro <https://github.com/Balduro>`_
|
||||||
- `Bibo-Joshi <https://github.com/Bibo-Joshi>`_
|
- `Bibo-Joshi <https://github.com/Bibo-Joshi>`_
|
||||||
|
- `Biruk Alamirew <https://github.com/BAcode-X>`_
|
||||||
- `bimmlerd <https://github.com/bimmlerd>`_
|
- `bimmlerd <https://github.com/bimmlerd>`_
|
||||||
- `cyc8 <https://github.com/cyc8>`_
|
- `cyc8 <https://github.com/cyc8>`_
|
||||||
- `d-qoi <https://github.com/d-qoi>`_
|
- `d-qoi <https://github.com/d-qoi>`_
|
||||||
|
|
|
@ -655,6 +655,8 @@ class MessageLimit(IntEnum):
|
||||||
CAPTION_LENGTH = 1024
|
CAPTION_LENGTH = 1024
|
||||||
""":obj:`int`: Maximum number of characters for a message caption."""
|
""":obj:`int`: Maximum number of characters for a message caption."""
|
||||||
# constants above this line are tested
|
# constants above this line are tested
|
||||||
|
DEEP_LINK_LENGTH = 64
|
||||||
|
""":obj:`int`: Maximum number of characters for a deep link."""
|
||||||
MESSAGE_ENTITIES = 100
|
MESSAGE_ENTITIES = 100
|
||||||
""":obj:`int`: Maximum number of entities that can be displayed in a message. Further entities
|
""":obj:`int`: Maximum number of entities that can be displayed in a message. Further entities
|
||||||
will simply be ignored by Telegram.
|
will simply be ignored by Telegram.
|
||||||
|
|
Loading…
Reference in a new issue