
    Yi<                     B    S r SSKJr  SSKJr  SSKJr   " S S\5      rg)zIThis module contains an object that represents a Telegram CopyTextButton.    )Optional)TelegramObject)JSONDictc                   J   ^  \ rS rSrSrSrSS.S\S\\   4U 4S jjjr	S	r
U =r$ )
CopyTextButton   a  
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                p   > [         TU ]  US9  Xl        U R                  4U l        U R	                  5         g )Nr
   )super__init__r	   	_id_attrs_freeze)selfr	   r   	__class__s      C/app/.venv/lib/python3.13/site-packages/telegram/_copytextbutton.pyr   CopyTextButton.__init__1   s.    J/	))    )r   r	   )__name__
__module____qualname____firstlineno____doc__	__slots__strr   r   r   __static_attributes____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   