
    dh                    ^    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
e            Zy	)
    )annotations)TYPE_CHECKINGAnyOptional   )Update   )TelegramMethodc                       e Zd ZU dZee   ZdZdZde	d<   	 dZ
de	d<   	 dZde	d<   	 dZde	d	<   	 erddddd
	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS  xZS )
GetUpdatesa  
    Use this method to receive incoming updates using long polling (`wiki <https://en.wikipedia.org/wiki/Push_technology#Long_polling>`_). Returns an Array of :class:`aiogram.types.update.Update` objects.

     **Notes**

     **1.** This method will not work if an outgoing webhook is set up.

     **2.** In order to avoid getting duplicate updates, recalculate *offset* after each server response.

    Source: https://core.telegram.org/bots/api#getupdates
    
getUpdatesNOptional[int]offsetlimittimeoutOptional[list[str]]allowed_updatesr   r   r   r   c               .    t        |   d||||d| y )Nr    )super__init__)__pydantic__self__r   r   r   r   _GetUpdates__pydantic_kwargs	__class__s         U/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/methods/get_updates.pyr   zGetUpdates.__init__&   s-     G  /	
 $    )r   r   r   r   r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__listr   __returning____api_method__r   __annotations__r   r   r   r   r   __classcell__)r   s   @r   r   r   	   s    
 LM!N FM  _E=k!G]! d+/O(/ ^ %)#'%)37	 "	 !		
 #	 1	 "%	 	 		 r   r   N)
__future__r   typingr   r   r   typesr   baser
   r$   r   r   r   r   <module>r-      s)    " / /   0V- 0r   