
    > /i{                         d Z ddlmZmZmZmZmZ ddlmZ ddl	m
Z
 ddlmZ ddlmZ ddlmZmZ erddlmZ  G d	 d
e
      Zy)zGThis module contains an object that represents a Telegram InputSticker.    )TYPE_CHECKINGOptionalSequenceTupleUnion)MaskPosition)TelegramObject)parse_sequence_arg)parse_file_input)	FileInputJSONDict)	InputFilec                   f     e Zd ZdZdZ	 	 ddddedee   dee	   deee      d	ee
   f
 fd
Z xZS )InputStickera  
    This object describes a sticker to be added to a sticker set.

    .. versionadded:: 20.2

    Args:
        sticker (:obj:`str` | :term:`file object` | :obj:`bytes` | :class:`pathlib.Path`): The
            added sticker. |uploadinputnopath| Animated and video stickers can't be uploaded via
            HTTP URL.
        emoji_list (Sequence[:obj:`str`]): Sequence of
            :tg-const:`telegram.constants.StickerLimit.MIN_STICKER_EMOJI` -
            :tg-const:`telegram.constants.StickerLimit.MAX_STICKER_EMOJI` emoji associated with the
            sticker.
        mask_position (:obj:`telegram.MaskPosition`, optional): Position where the mask should be
            placed on faces. For ":tg-const:`telegram.constants.StickerType.MASK`" stickers only.
        keywords (Sequence[:obj:`str`], optional): Sequence of
            0-:tg-const:`telegram.constants.StickerLimit.MAX_SEARCH_KEYWORDS` search keywords
            for the sticker with the total length of up to
            :tg-const:`telegram.constants.StickerLimit.MAX_KEYWORD_LENGTH` characters. For
            ":tg-const:`telegram.constants.StickerType.REGULAR`" and
            ":tg-const:`telegram.constants.StickerType.CUSTOM_EMOJI`" stickers only.

    Attributes:
        sticker (:obj:`str` | :class:`telegram.InputFile`): The added sticker.
        emoji_list (Tuple[:obj:`str`]): Tuple of
            :tg-const:`telegram.constants.StickerLimit.MIN_STICKER_EMOJI` -
            :tg-const:`telegram.constants.StickerLimit.MAX_STICKER_EMOJI` emoji associated with the
            sticker.
        mask_position (:obj:`telegram.MaskPosition`): Optional. Position where the mask should be
            placed on faces. For ":tg-const:`telegram.constants.StickerType.MASK`" stickers only.
        keywords (Tuple[:obj:`str`]): Optional. Tuple of
            0-:tg-const:`telegram.constants.StickerLimit.MAX_SEARCH_KEYWORDS` search keywords
            for the sticker with the total length of up to
            :tg-const:`telegram.constants.StickerLimit.MAX_KEYWORD_LENGTH` characters. For
            ":tg-const:`telegram.constants.StickerType.REGULAR`" and
            ":tg-const:`telegram.constants.StickerType.CUSTOM_EMOJI`" stickers only.

    )sticker
emoji_listmask_positionkeywordsN
api_kwargsr   r   r   r   r   c                    t         |   |       t        |dd      | _        t	        |      | _        || _        t	        |      | _        | j                          y )Nr   T)
local_modeattach)	super__init__r   r   r
   r   r   r   _freeze)selfr   r   r   r   r   	__class__s         R/srv/sistema/bot/venv/lib/python3.12/site-packages/telegram/_files/inputsticker.pyr   zInputSticker.__init__K   sW     	J/ /?/

 ,>j+I5B);H)E    )NN)__name__
__module____qualname____doc__	__slots__r   r   strr   r   r   r   __classcell__)r   s   @r   r   r   !   st    %N GI 15,0 *. SM  -	
 8C=) X& r    r   N)r$   typingr   r   r   r   r   telegram._files.stickerr   telegram._telegramobjectr	   telegram._utils.argumentparsingr
   telegram._utils.filesr   telegram._utils.typesr   r   telegram._files.inputfiler   r    r    r   <module>r0      s4   & N B B 0 3 > 2 53@> @r    