
    G˝iu                    \    d dl mZ d dlmZmZ ddlmZmZmZ ddl	m
Z
  G d de
e         Zy	)
    )annotations)TYPE_CHECKINGAny   )ChatIdUnionInlineKeyboardMarkupPoll   )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 )StopPollz
    Use this method to stop a poll which was sent by the bot. On success, the stopped :class:`aiogram.types.poll.Poll` is returned.

    Source: https://core.telegram.org/bots/api#stoppoll
    stopPollr   chat_idint
message_idN
str | Nonebusiness_connection_idInlineKeyboardMarkup | Nonereply_markup)r   r   c               .    t        |   d||||d| y )N)r   r   r   r    )super__init__)__pydantic__self__r   r   r   r   _StopPoll__pydantic_kwargs	__class__s         R/home/leshdev/mybot/venv/lib/python3.12/site-packages/aiogram/methods/stop_poll.pyr   zStopPoll.__init__    s-     G %'=)	
 $    )r   r   r   r   r   r   r   r   r   r   returnNone)__name__
__module____qualname____doc__r	   __returning____api_method____annotations__r   r   r   r   __classcell__)r   s   @r   r   r   	   s     MNzO:)-J-k04L-4 D 268<	 !	 		
 %/	 6	 "%	 	 		 r   r   N)
__future__r   typingr   r   typesr   r   r	   baser   r   r   r   r   <module>r-      s%    " % ; ;  *~d# *r   