o
    Zzjì  ã                   @   s0   d Z ddlmZ ddlmZ G dd„ deƒZdS )zNThis module contains an object that represents a Telegram ReplyKeyboardRemove.é    )ÚTelegramObject)ÚJSONDictc                       s>   e Zd ZdZdZd	ddœdedB dedB f‡ fdd„Z‡  ZS )
ÚReplyKeyboardRemovea|  
    Upon receiving a message with this object, Telegram clients will remove the current custom
    keyboard and display the default letter-keyboard. By default, custom keyboards are displayed
    until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are
    hidden immediately after the user presses a button (see :class:`telegram.ReplyKeyboardMarkup`).
    Not supported in channels and for messages sent on behalf of a Telegram Business account.

    Note:
        User will not be able to summon this keyboard; if you want to hide the keyboard from
        sight but keep it accessible, use :attr:`telegram.ReplyKeyboardMarkup.one_time_keyboard`.

    Examples:
        * Example usage: A user votes in a poll, bot returns confirmation message in reply to
          the vote and removes the keyboard for that user, while still showing the keyboard with
          poll options to users who haven't voted yet.
        * :any:`Conversation Bot <examples.conversationbot>`
        * :any:`Conversation Bot 2 <examples.conversationbot2>`

    Args:
        selective (:obj:`bool`, optional): Use this parameter if you want to remove the keyboard
            for specific users only. Targets:

            1) Users that are @mentioned in the text of the :class:`telegram.Message` object.
            2) If the bot's message is a reply to a message in the same chat and forum topic,
               sender of the original message.

    Attributes:
        remove_keyboard (:obj:`True`): Requests clients to remove the custom keyboard.
        selective (:obj:`bool`): Optional. Remove the keyboard for specific users only.
            Targets:

            1) Users that are @mentioned in the text of the :class:`telegram.Message` object.
            2) If the bot's message is a reply to a message in the same chat and forum topic,
                sender of the original message.

    )Úremove_keyboardÚ	selectiveN©Ú
api_kwargsr   r   c                   s&   t ƒ j|d� d| _|| _|  ¡  d S )Nr   T)ÚsuperÚ__init__r   r   Ú_freeze)Úselfr   r   ©Ú	__class__© úX/var/www/kodo/tsheker/venv/lib/python3.10/site-packages/telegram/_replykeyboardremove.pyr
   A   s   zReplyKeyboardRemove.__init__)N)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Úboolr   r
   Ú__classcell__r   r   r   r   r      s    %.r   N)r   Útelegram._telegramobjectr   Útelegram._utils.typesr   r   r   r   r   r   Ú<module>   s   