
    G˝i                         d dl mZ d dlmZmZ d dlmZ ddlmZ ddl	m
Z
mZmZmZmZmZmZ ddlmZ  G d	 d
ee         Zy)    )annotations)TYPE_CHECKINGAny)Field   )Default)ChatIdUnionDateTimeUnionInputPollOptionUnionMessageMessageEntityReplyMarkupUnionReplyParameters   )TelegramMethodc                      e Zd ZU dZeZdZded<   	 ded<   	 ded<   	 d	Zd
ed<   	 d	Z	ded<   	  e
d      Zded<   	 d	Zded<   	 d	Zded<   	 d	Zd
ed<   	 d	Zded<   	 d	Zded<   	 d	Zd
ed<   	  e
d      Zded<   	 d	Zded<   	 d	Zded<   	 d	Zded<   	 d	Zded<   	 d	Zded<   	  e
d       Zd!ed <   	 d	Zded"<   	 d	Zd
ed#<   	 d	Zd$ed%<   	 d	Zd&ed'<   	  ed	d(d)i*      Zded+<   	  ed	d(d)i*      Zded,<   	 e rid	d	 e
d      d	d	d	d	d	d	 e
d      d	d	d	d	d	 e
d       d	d	d	d	d	d	d-	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d/ fd.Z! xZ"S  xZ"S )0SendPollz
    Use this method to send a native poll. On success, the sent :class:`aiogram.types.message.Message` is returned.

    Source: https://core.telegram.org/bots/api#sendpoll
    sendPollr	   chat_idstrquestionlist[InputPollOptionUnion]optionsN
str | Nonebusiness_connection_id
int | Nonemessage_thread_id
parse_modestr | Default | Nonequestion_parse_modelist[MessageEntity] | Nonequestion_entitiesbool | Noneis_anonymoustypeallows_multiple_answerscorrect_option_idexplanationexplanation_parse_modeexplanation_entitiesopen_periodDateTimeUnion | None
close_date	is_closeddisable_notificationprotect_contentbool | Default | Noneallow_paid_broadcastmessage_effect_idReplyParameters | Nonereply_parametersReplyMarkupUnion | Nonereply_markup
deprecatedT)json_schema_extraallow_sending_without_replyreply_to_message_id)r   r   r    r"   r$   r%   r&   r'   r(   r)   r*   r+   r-   r.   r/   r0   r2   r3   r5   r7   r:   r;   c                   t        |   di d|d|d|d|d|d|d|d|d	|	d
|
d|d|d|d|d|d|d|d|d|d|d|d|d|d|d|| y )Nr   r   r   r   r   r    r"   r$   r%   r&   r'   r(   r)   r*   r+   r-   r.   r/   r0   r2   r3   r5   r7   r:   r;    )super__init__)__pydantic__self__r   r   r   r   r   r    r"   r$   r%   r&   r'   r(   r)   r*   r+   r-   r.   r/   r0   r2   r3   r5   r7   r:   r;   _SendPoll__pydantic_kwargs	__class__s                              R/home/leshdev/mybot/venv/lib/python3.12/site-packages/aiogram/methods/send_poll.pyr?   zSendPoll.__init__[   s   D G !   (>	
 #4 %8 #4 *  )@ #4 ( (> &: (  &!" $#$ &:%& !0'( &:)* #4+, "2-. */0 -H12 %8#5    )6r   r	   r   r   r   r   r   r   r   r   r    r   r"   r!   r$   r#   r%   r   r&   r#   r'   r   r(   r   r)   r   r*   r!   r+   r   r-   r,   r.   r#   r/   r#   r0   r1   r2   r#   r3   r   r5   r4   r7   r6   r:   r#   r;   r   rA   r   returnNone)#__name__
__module____qualname____doc__r   __returning____api_method____annotations__r   r   r   r    r"   r$   r%   r&   r'   r(   r)   r*   r+   r-   r.   r/   r0   r2   r3   r5   r7   r   r:   r;   r   r?   __classcell__)rB   s   @rC   r   r      s+    MN rM)''7)-J-b$(z( a070E-E K4818 L $L+$SD*?+/[/v$(z(Z"K" v3:<3H0H \7;4; R"K"|'+J$+ !I{!l(,+, S-45F-GO*GN(,+, k$(z(d/3,30,0L)0 o/4Tl\`Ma/bbD ',D\SWDX&YYD
  26,08?8M<@(,#37,0&*;B<;P?C&*/3%)045<=N5O04,07;487;.27=	 !=	 	=	
 0=	 %/=	  *=	 "6=	  :=	 &=	 =	 &1=	  *=	 $=	 %9=	  #=!=	" $#=	$ -%=	& #'=	( #.)=	* 3+=	, #.-=	.  */=	0 51=	2 23=	4 *55=	6 ",7=	8 "%9=	: ;=	 =		 rD   r   N)
__future__r   typingr   r   pydanticr   client.defaultr   typesr	   r
   r   r   r   r   r   baser   r   r=   rD   rC   <module>rU      s8    " %  $   !D~g& DrD   