
    ڈib*                        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<   	 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'<   	  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	d0d1i2      Z%ded3<   	  e$d	d0d1i2      Z&ded4<   	  e$d	d0d1i2      Z'ded5<   	 e(rd	d	 e
d      d	d	d	d	d	d	d	d	d	d	 e
d      d	d	d	d	d	 e
d      d	d	 e
d(      d	d	d	d	d	d	d	d6	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d8 fd7Z) xZ*S  xZ*S )9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allows_revotingshuffle_optionsallow_adding_optionshide_results_until_closeslist[int] | Nonecorrect_option_idsexplanationexplanation_parse_modeexplanation_entitiesopen_periodDateTimeUnion | None
close_date	is_closeddescriptiondescription_parse_modedescription_entities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correct_option_idreply_to_message_id)r   r   r    r"   r$   r%   r&   r'   r(   r)   r*   r,   r-   r.   r/   r0   r2   r3   r4   r5   r6   r7   r8   r:   r;   r=   r?   rB   rC   rD   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|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   r4   r5   r6   r7   r8   r:   r;   r=   r?   rB   rC   rD    )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   r4   r5   r6   r7   r8   r:   r;   r=   r?   rB   rC   rD   _SendPoll__pydantic_kwargs	__class__s$                                      [/var/www/html/bot/test_files/venv/lib/python3.12/site-packages/aiogram/methods/send_poll.pyrH   zSendPoll.__init__n   sc   T G ##!#  # (>	#
 #4# %8# #4# *# # )@# !0# !0# &:# +D# $6#  (!#" (>##$ &:%#& ('#( &)#* $+#, (-#. (>/#0 &:1#2 &:3#4 !05#6 &:7#8 #49#: "2;#< *=#> -H?#@ #4A#B %8#E#    )Fr   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   r   r2   r1   r3   r#   r4   r   r5   r   r6   r!   r7   r#   r8   r9   r:   r#   r;   r   r=   r<   r?   r>   rB   r#   rC   r   rD   r   rJ   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   r4   r5   r6   r7   r8   r:   r;   r=   r?   r   rB   rC   rD   r   rH   __classcell__)rK   s   @rL   r   r      sc    MN rM)''7)-J-b$(z( a070E-E K4818 L $L+$SD*?+/[/[#'O[' ]#'O['N(,+, F-1{1U+/(/ P"K" v3:<3H0H \7;4; R"K" A'+J$+ C!I{!l"K"V3:<3H0H a7;4; U(,+, S-45F-GO*GN(,+, k$(z(d/3,30,0L)0 o/4Tl\`Ma/bbD %*$<QUBV$WzW@ ',D\SWDX&YYD
  26,08?8M<@(,#37+/+/045937&*;B<;P?C&*/3%)&*;B<;P?C045<=N5O04,07;487;,0.2GM	 !M	 	M	
 0M	 %/M	  *M	 "6M	  :M	 &M	 M	 &1M	 )M	 )M	 #.M	  (3!M	" !1#M	$ $%M	& %9'M	( #=)M	* $+M	, --M	. #/M	0 $1M	2 %93M	4 #=5M	6 #.7M	8 39M	: #.;M	<  *=M	> 5?M	@ 2AM	B *5CM	D  *EM	F ",GM	H "%IM	J KM	 M		 rM   r   N)
__future__r   typingr   r   pydanticr   client.defaultr   typesr	   r
   r   r   r   r   r   baser   r   rF   rM   rL   <module>r^      s8    " %  $   !g~g& grM   