
    dh                    X    d dl mZ d dlmZ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Optional   )ChatIdUnion   )TelegramMethodc                       e Zd ZU dZeZdZded<   	 dZded<   	 dZ	ded	<   	 e
rddd
	 	 	 	 	 	 	 	 	 d fdZ xZS  xZS )UnpinChatMessagea  
    Use this method to remove a message from the list of pinned messages in a chat. In private chats and channel direct messages chats, all messages can be unpinned. Conversely, the bot must be an administrator with the 'can_pin_messages' right or the 'can_edit_messages' right to unpin messages in groups and channels respectively. Returns :code:`True` on success.

    Source: https://core.telegram.org/bots/api#unpinchatmessage
    unpinChatMessager   chat_idNOptional[str]business_connection_idOptional[int]
message_id)r   r   c               ,    t        |   d|||d| y )N)r   r   r    )super__init__)__pydantic__self__r   r   r   "_UnpinChatMessage__pydantic_kwargs	__class__s        \/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/methods/unpin_chat_message.pyr   zUnpinChatMessage.__init__   s*     G '=% $	    )
r   r   r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__bool__returning____api_method____annotations__r   r   r   r   __classcell__)r   s   @r   r   r   	   s     M'Nz,0M0f $J$ v 59(,	 !	 %2		
 &	 "%	 	 		 r   r   N)
__future__r   typingr   r   r   typesr   baser
   r"   r   r   r   r   <module>r+      s%    " / /   &~d+ &r   