U
    ;g                     @   s>   d dl mZ d dlZd dlmZ d dlmZ G dd dZdS )    )ListN)raw)typesc                   @   s&   e Zd Zdee ed dddZdS )GetCustomEmojiStickerszpyrogram.Clientztypes.Sticker)selfcustom_emoji_idsreturnc                    sf   |  tjjj|dI dH }g }|D ]4}dd |jD }tj| ||I dH }|	| q$t
j|S )a  Get information about custom emoji stickers by their identifiers.

        .. include:: /_includes/usable-by/users-bots.rst

        Parameters:
            custom_emoji_ids (List of ``int``):
                List of custom emoji identifiers.
                At most 200 custom emoji identifiers can be specified.

        Returns:
            List of :obj:`~pyrogram.types.Sticker`: On success, a list of sticker objects is returned.
        )Zdocument_idNc                 S   s   i | ]}t ||qS  )type).0ir	   r	   s/opt/bot/vods_filmes/script/venv/lib/python3.8/site-packages/pyrogram/methods/messages/get_custom_emoji_stickers.py
<dictcomp>3   s      zDGetCustomEmojiStickers.get_custom_emoji_stickers.<locals>.<dictcomp>)Zinvoker   Z	functionsmessagesZGetCustomEmojiDocuments
attributesr   ZSticker_parseappendpyrogramr   )r   r   resultZstickersitemr   Zstickerr	   r	   r   get_custom_emoji_stickers   s    
z0GetCustomEmojiStickers.get_custom_emoji_stickersN)__name__
__module____qualname__r   intr   r	   r	   r	   r   r      s   r   )typingr   r   r   r   r   r	   r	   r	   r   <module>   s   