
    YPi=                     B    d Z ddlmZ ddlmZ ddlmZ  G d de      Zy)zIThis module contains an object that represents a Telegram CopyTextButton.    )Optional)TelegramObject)JSONDictc                   <     e Zd ZdZdZdddedee   f fdZ xZ	S )CopyTextButtona  
    This object represents an inline keyboard button that copies specified text to the clipboard.

    Objects of this class are comparable in terms of equality. Two objects of this class are
    considered equal, if their :attr:`text` is equal.

    .. versionadded:: 21.7

    Args:
        text (:obj:`str`): The text to be copied to the clipboard;
            :tg-const:`telegram.constants.InlineKeyboardButtonLimit.MIN_COPY_TEXT`-
            :tg-const:`telegram.constants.InlineKeyboardButtonLimit.MAX_COPY_TEXT` characters

    Attributes:
        text (:obj:`str`): The text to be copied to the clipboard;
            :tg-const:`telegram.constants.InlineKeyboardButtonLimit.MIN_COPY_TEXT`-
            :tg-const:`telegram.constants.InlineKeyboardButtonLimit.MAX_COPY_TEXT` characters

    )textN
api_kwargsr   r
   c                x    t         |   |       || _        | j                  f| _        | j	                          y )Nr	   )super__init__r   	_id_attrs_freeze)selfr   r
   	__class__s      N/root/twitch_bot/venv/lib/python3.12/site-packages/telegram/_copytextbutton.pyr   zCopyTextButton.__init__2   s0    J/	))    )
__name__
__module____qualname____doc__	__slots__strr   r   r   __classcell__)r   s   @r   r   r      s/    ( IFJ S (1C  r   r   N)r   typingr   telegram._telegramobjectr   telegram._utils.typesr   r    r   r   <module>r      s    & P  3 *^ r   