a
    y{Jhä  ã                   @   sP   d dl mZmZmZmZmZ ddlmZmZ ddl	m
Z
 G dd„ de
e ƒZdS )	é    )ÚTYPE_CHECKINGÚAnyÚListÚOptionalÚUnioné   )ÚReactionTypeCustomEmojiÚReactionTypeEmojié   )ÚTelegramMethodc                       s¦   e Zd ZU dZeZdZeee	f e
d< ee
d< dZeeeeef   e
d< dZee e
d< erždddœeee	f eeeeeef   ee edd	œ‡ fd
d„Z‡  ZS )ÚSetMessageReactionaV  
    Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. Returns :code:`True` on success.

    Source: https://core.telegram.org/bots/api#setmessagereaction
    ZsetMessageReactionÚchat_idÚ
message_idNÚreactionÚis_big)r   r   )r   r   r   r   Ú$_SetMessageReaction__pydantic_kwargsÚreturnc                   s    t ƒ jf ||||dœ|¤Ž d S )N)r   r   r   r   )ÚsuperÚ__init__)Z__pydantic__self__r   r   r   r   r   ©Ú	__class__© úV/var/www/shaz/venv/lib/python3.9/site-packages/aiogram/methods/set_message_reaction.pyr      s    üûzSetMessageReaction.__init__)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚboolZ__returning__Z__api_method__r   ÚintÚstrÚ__annotations__r   r   r   r	   r   r   r   r   r   Ú__classcell__r   r   r   r   r      s$   
	ú
ør   N)Útypingr   r   r   r   r   Útypesr   r	   Úbaser   r   r   r   r   r   r   Ú<module>   s   