
    dh?                    X    d dl mZ d dlmZmZ ddlmZmZ ddlm	Z	  G d de	e
         Zy	)
    )annotations)TYPE_CHECKINGAny   )ChatIdUnion	InputFile   )TelegramMethodc                  b     e Zd ZU dZeZdZded<   	 ded<   	 er	 	 	 	 	 	 	 	 d fdZ	 xZ
S  xZ
S )	SetChatPhotoa=  
    Use this method to set a new profile photo for the chat. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns :code:`True` on success.

    Source: https://core.telegram.org/bots/api#setchatphoto
    setChatPhotor   chat_idr   photoc               *    t        |   d||d| y )N)r   r    )super__init__)__pydantic__self__r   r   _SetChatPhoto__pydantic_kwargs	__class__s       X/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/methods/set_chat_photo.pyr   zSetChatPhoto.__init__   s     GOWEO=NO    )r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__bool__returning____api_method____annotations__r   r   __classcell__)r   s   @r   r   r   	   s^     M#Nz<	P,7	P@I	P`c	P	P 	P	 r   r   N)
__future__r   typingr   r   typesr   r   baser
   r   r   r   r   r   <module>r(      s$    " % *  P>$' Pr   