
    ,hk                    T    d dl mZ d dlmZmZ ddlmZ ddlmZ  G d dee	         Z
y	)
    )annotations)TYPE_CHECKINGAny   )ChatIdUnion   )TelegramMethodc                  R     e Zd ZU dZeZdZded<   	 er	 	 	 	 	 	 d fdZ	 xZ
S  xZ
S )UnpinAllChatMessagesa  
    Use this method to clear the list of pinned messages in a chat. In private chats and channel direct messages chats, no additional rights are required to unpin all pinned messages. Conversely, the bot must be an administrator with the 'can_pin_messages' right or the 'can_edit_messages' right to unpin all pinned messages in groups and channels respectively. Returns :code:`True` on success.

    Source: https://core.telegram.org/bots/api#unpinallchatmessages
    unpinAllChatMessagesr   chat_idc               (    t        |   dd|i| y )Nr    )super__init__)__pydantic__self__r   &_UnpinAllChatMessages__pydantic_kwargs	__class__s      Z/var/www/html/venv/lib/python3.12/site-packages/aiogram/methods/unpin_all_chat_messages.pyr   zUnpinAllChatMessages.__init__   s     GBWB0AB    )r   r   r   r   returnNone)__name__
__module____qualname____doc__bool__returning____api_method____annotations__r   r   __classcell__)r   s   @r   r   r   	   sL     M+Nz	C,7	CNQ	C	C 	C	 r   r   N)
__future__r   typingr   r   typesr   baser	   r   r   r   r   r   <module>r&      s$    " %   C>$/ Cr   