diff --git a/telegram/constants.py b/telegram/constants.py index 0414e05a0af..fc895f66e3b 100644 --- a/telegram/constants.py +++ b/telegram/constants.py @@ -1236,9 +1236,12 @@ class GiftLimit(IntEnum): __slots__ = () - MAX_TEXT_LENGTH = 255 + MAX_TEXT_LENGTH = 128 """:obj:`int`: Maximum number of characters in a :obj:`str` passed as the :paramref:`~telegram.Bot.send_gift.text` parameter of :meth:`~telegram.Bot.send_gift`. + + .. versionchanged:: NEXT.VERSION + Updated Value to 128 based on Bot API 8.3 """