
    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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 )SendChatActionu(  
    Use this method when you need to tell the user that something is happening on the bot's side. The status is set for 5 seconds or less (when a message arrives from your bot, Telegram clients clear its typing status). Returns :code:`True` on success.

     Example: The `ImageBot <https://t.me/imagebot>`_ needs some time to process a request and upload the image. Instead of sending a text message along the lines of 'Retrieving image, please wait…', the bot may use :class:`aiogram.methods.send_chat_action.SendChatAction` with *action* = *upload_photo*. The user will see a 'sending photo' status for the bot.

    We only recommend using this method when a response from the bot will take a **noticeable** amount of time to arrive.

    Source: https://core.telegram.org/bots/api#sendchataction
    sendChatActionr   chat_idstractionNOptional[str]business_connection_idOptional[int]message_thread_id)r   r   c               .    t        |   d||||d| y )N)r   r   r   r    )super__init__)__pydantic__self__r   r   r   r    _SendChatAction__pydantic_kwargs	__class__s         Z/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/methods/send_chat_action.pyr   zSendChatAction.__init__$   s-     G '="3	
 $    )r   r   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 DK z,0M0a'+}+O 59/3	 !	 		
 %2	  -	 "%	 	 		 r   r   N)
__future__r   typingr   r   r   typesr   baser
   r$   r   r   r   r   <module>r-      s%    " / /   .^D) .r   