
    dhX                       d dl mZ d dlmZmZ d dlmZ er4d dlmZm	Z	m
Z
 d dlmZ d dlmZ d dlmZ d dlmZ d d	lmZmZmZ d d
lmZmZ  G d ded      Z G d ded      Z G d ded      Z G d ded      Z G d deeed      Zy)    )annotations)TYPE_CHECKING	TypedDict)NotRequired)Bot
DispatcherRouter)HandlerObject)EventContext)
FSMContext)BaseStorage)ChatUpdateUser)I18nI18nMiddlewarec                  X    e Zd ZU dZded<   	 ded<   	 ded<   	 ded	<   	 d
ed<   	 ded<   y)DispatcherDataz*
    Dispatcher and bot related data.
    r   
dispatcherr   botzNotRequired[list[Bot]]botsr   event_updater	   event_routerzNotRequired[HandlerObject]handlerN__name__
__module____qualname____doc____annotations__     ]/var/www/netwell/bot/venv/lib/python3.12/site-packages/aiogram/dispatcher/middlewares/data.pyr   r      sA     G	H'
  H33''Cr"   r   F)totalc                  L    e Zd ZU dZded<   	 ded<   	 ded<   	 ded	<   	 d
ed<   y)UserContextDataz9
    Event context related data about user and chat.
    r   event_contextzNotRequired[User]event_from_userzNotRequired[Chat]
event_chatzNotRequired[int]event_thread_idzNotRequired[str]event_business_connection_idNr   r!   r"   r#   r&   r&   %   sA      @&&1!!3 &%3 #32Er"   r&   c                  4    e Zd ZU dZded<   	 ded<   	 ded<   y)	FSMDataz
    FSM related data.
    r   fsm_storagezNotRequired[FSMContext]statezNotRequired[str | None]	raw_stateNr   r!   r"   r#   r-   r-   <   s$     ""#&&r"   r-   c                  (    e Zd ZU dZded<   	 ded<   y)I18nDatazw
    I18n related data.

    Is not included by default, you need to add it to your own Data class if you need it.
    r   i18nr   i18n_middlewareNr   r!   r"   r#   r2   r2   I   s     J##r"   r2   c                      e Zd ZdZy)MiddlewareDatazp
    Data passed to the handler by the middlewares.

    You can add your own data by extending this class.
    N)r   r   r   r   r!   r"   r#   r6   r6   V   s    r"   r6   N)
__future__r   typingr   r   typing_extensionsr   aiogramr   r   r	    aiogram.dispatcher.event.handlerr
   +aiogram.dispatcher.middlewares.user_contextr   aiogram.fsm.contextr   aiogram.fsm.storage.baser   aiogram.typesr   r   r   aiogram.utils.i18nr   r   r   r&   r-   r2   r6   r!   r"   r#   <module>rA      s~    " + )//>H.4007CYe C(Eiu E.
 iu 
 
y 

r"   