+
    ÁFñjÅà  ã                   ó  € R t ^ RIt^ RIHt ^ RIHtHt ^ RIH	t	 ^ RI
Ht ^ RIHt ^ RIHt ^ RIHt ^ R	IHt ^ R
IHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RI H!t! ^ RI"H#t# ^ RI$H%t% ^ RI&H't'H(t(H)t)H*t* ^ RI+H,t,H-t-H.t. ^ RI/H0t0 ^ RI1H2t2H3t3 ^ RI4H5t5H6t6H7t7 ^ RI8H9t9 ^ RI:H;t; ]'       d   ^ RIH<t<H=t=H>t>  ! R R]!4      t? ! R R]!4      t@ ! R R ]!4      tA ! R! R"]!4      tB ! R# R$]!4      tC ! R% R&]!4      tD ! R' R(]!4      tER# ))z?This module contains an object that represents a Telegram Poll.N)ÚSequence)ÚTYPE_CHECKINGÚFinal)Ú	constants)ÚChat)Ú	Animation)ÚAudio)ÚDocument)Ú	LivePhoto)ÚLocation)Ú	PhotoSize)ÚSticker)ÚVenue)ÚVideo)ÚMessageEntity)ÚTelegramObject)ÚUser)Úenum)Úde_json_optionalÚde_list_optionalÚparse_sequence_argÚto_timedelta)Úextract_tzinfo_from_defaultsÚfrom_timestampÚget_timedelta_value)ÚDEFAULT_NONE)Úparse_message_entitiesÚparse_message_entity)ÚJSONDictÚODVInputÚ
TimePeriod)Úwarn)ÚPTBDeprecationWarning)ÚBotÚInputPollOptionMediaÚMaybeInaccessibleMessagec                   óx   a a€ ] tR t^=t oRtR	tR
RR/V3R lV 3R llllt]RV3R lV 3R lll4       tRt	Vt
V ;t# )Ú	PollMediaa»	  
At most one of the optional fields can be present in any given object.

Objects of this class are comparable in terms of equality. Two objects of this class are
considered equal, if all of their attributes are equal.

.. versionadded:: 22.8

Args:
    animation (:class:`telegram.Animation`, optional): Media is an animation, information about
        the animation
    audio (:class:`telegram.Audio`, optional): Media is an audio file, information about the
        file; currently, can't be received in a poll option
    document (:class:`telegram.Document`, optional): Media is a general file, information about
        the file; currently, can't be received in a poll option
    live_photo (:class:`telegram.LivePhoto`, optional): Media is a live photo, information
        about the live photo
    location (:class:`telegram.Location`, optional): Media is a shared location, information
        about the location
    photo (Sequence[:class:`telegram.PhotoSize`], optional): Media is a photo, available sizes
        of the photo
    sticker (:class:`telegram.Sticker`, optional): Media is a sticker, information about the
        sticker; currently, for poll options only
    venue (:class:`telegram.Venue`, optional): Media is a venue, information about the venue
    video (:class:`telegram.Video`, optional): Media is a video, information about the video

Attributes:
    animation (:class:`telegram.Animation`): Optional. Media is an animation, information about
        the animation
    audio (:class:`telegram.Audio`): Optional. Media is an audio file, information about the
        file; currently, can't be received in a poll option
    document (:class:`telegram.Document`): Optional. Media is a general file, information about
        the file; currently, can't be received in a poll option
    live_photo (:class:`telegram.LivePhoto`, optional): Media is a live photo, information
        about the live photo
    location (:class:`telegram.Location`): Optional. Media is a shared location, information
        about the location
    photo (tuple[:class:`telegram.PhotoSize`]): Optional. Media is a photo, available sizes
        of the photo
    sticker (:class:`telegram.Sticker`): Optional. Media is a sticker, information about the
        sticker; currently, for poll options only
    venue (:class:`telegram.Venue`): Optional. Media is a venue, information about the venue
    video (:class:`telegram.Video`): Optional. Media is a video, information about the video
NÚ
api_kwargsc                óò   <€ V ^8„  d   QhRS[ R,          RS[R,          RS[R,          RS[R,          RS[R,          RS[S[,          R,          RS[R,          R	S[R,          R
S[	R,          RS[
R,          /
# )é   Ú	animationNÚaudioÚdocumentÚ
live_photoÚlocationÚphotoÚstickerÚvenueÚvideor(   )r   r   r	   r
   r   r   r   r   r   r   r   )ÚformatÚ__classdict__s   "€ÚD/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/_poll.pyÚ__annotate__ÚPollMedia.__annotate__w   sŸ   ø€ ÷ %ñ %á˜tÕ#ð%ñ �t�|ð%ñ ˜T•/ð	%ñ
  Õ$ð%ñ ˜T•/ð%ñ ™	Õ" TÕ)ð%ñ ˜4•ð%ñ �t�|ð%ñ �t�|ð%ñ ˜t•Oñ%ó    c
          	     óœ  <€ \         SV `  V
R 7       Wn        W n        W0n        W@n        WPn        \        V4      V n        Wpn	        W€n
        W�n        V P                  V P                  V P                  V P
                  V P                  V P                  V P                  V P                  V P                  3	V n        V P                  4        R# ©©r(   N)ÚsuperÚ__init__r+   r,   r-   r.   r/   r   r0   r1   r2   r3   Ú	_id_attrsÚ_freeze)Úselfr+   r,   r-   r.   r/   r0   r1   r2   r3   r(   Ú	__class__s   &&&&&&&&&&$€r6   r>   ÚPollMedia.__init__w   sž   ø€ ô 	‰Ñ JÐÔ/Ø+4ŒØ#(Œ
Ø)1ŒØ,6ŒØ)1ŒÜ,>¸uÓ,EˆŒ
Ø'.ŒØ#(Œ
Ø#(Œ
ð �N‰NØ�J‰JØ�M‰MØ�O‰OØ�M‰MØ�J‰JØ�L‰LØ�J‰JØ�J‰Jð

ˆŒð 	�‰Žr9   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r*   ÚdataÚbotú
Bot | NoneÚreturnr'   ©r   )r4   r5   s   "€r6   r7   r8   Ÿ   s"   ø€ ÷ 3ñ 3™8ð 3¨,ð 3À+ñ 3r9   c                ó¼  <€ V P                  V4      p\        VP                  R4      \        V4      VR&   \        VP                  R4      \        V4      VR&   \        VP                  R4      \
        V4      VR&   \        VP                  R4      \        V4      VR&   \        VP                  R4      \        V4      VR&   \        VP                  R4      \        V4      VR&   \        VP                  R4      \        V4      VR&   \        VP                  R4      \        V4      VR&   \        VP                  R	4      \        V4      VR	&   \        SV `9  WR
7      # )ú,See :meth:`telegram.TelegramObject.de_json`.r+   r,   r-   r.   r/   r0   r1   r2   r3   ©rE   rF   )Ú_parse_datar   Úgetr   r   r	   r
   r   r   r   r   r   r   r=   Úde_json©ÚclsrE   rF   rB   s   &&&€r6   rO   ÚPollMedia.de_jsonž   s  ø€ ð �‰˜tÓ$ˆä,¨T¯X©X°kÓ-BÄIÈsÓSˆˆ[ÑÜ(¨¯©°'Ó):¼EÀ3ÓGˆˆW‰Ü+¨D¯H©H°ZÓ,@Ä(ÈCÓPˆˆZÑÜ-¨d¯h©h°|Ó.DÄiÐQTÓUˆˆ\ÑÜ+¨D¯H©H°ZÓ,@Ä(ÈCÓPˆˆZÑÜ(¨¯©°'Ó):¼IÀsÓKˆˆW‰Ü*¨4¯8©8°IÓ+>ÄÈÓMˆˆY‰Ü(¨¯©°'Ó):¼EÀ3ÓGˆˆW‰Ü(¨¯©°'Ó):¼EÀ3ÓGˆˆW‰ä‰w‰ DˆÓ2Ð2r9   )
r?   r+   r,   r-   r.   r/   r0   r1   r2   r3   )	r+   r,   r-   r.   r/   r0   r1   r2   r3   )	NNNNNNNNN©N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r>   ÚclassmethodrO   Ú__static_attributes__Ú__classdictcell__Ú__classcell__©rB   r5   s   @@r6   r'   r'   =   sE   ù‡ € ñ+ðZ
€Iñ%ð '+÷%ö %ðN ÷3ô 3ó ÷3ð 3r9   r'   c                   ó~   a a€ ] tR t^°t oRtR	t]RR3RR/V3R lV 3R llllt]R
V3R lV 3R lll4       t	Rt
VtV ;t# )ÚInputPollOptiona¬  
This object contains information about one answer option in a poll to be sent.

Objects of this class are comparable in terms of equality. Two objects of this class are
considered equal, if their :attr:`text` is equal.

.. versionadded:: 21.2

Args:
    text (:obj:`str`): Option text,
        :tg-const:`telegram.PollOption.MIN_LENGTH`-:tg-const:`telegram.PollOption.MAX_LENGTH`
        characters.
    text_parse_mode (:obj:`str`, optional): |parse_mode|
        Currently, only custom emoji entities are allowed.
    text_entities (Sequence[:class:`telegram.MessageEntity`], optional): Special entities
        that appear in the option :paramref:`text`. It can be specified instead of
        :paramref:`text_parse_mode`.
        Currently, only custom emoji entities are allowed.
        This list is empty if the text does not contain entities.
    media (:class:`telegram.InputPollOptionMedia`, optional): Media added to the poll option.

        .. versionadded:: 22.8

Attributes:
    text (:obj:`str`): Option text,
        :tg-const:`telegram.PollOption.MIN_LENGTH`-:tg-const:`telegram.PollOption.MAX_LENGTH`
        characters.
    text_parse_mode (:obj:`str`): Optional. |parse_mode|
        Currently, only custom emoji entities are allowed.
    text_entities (Sequence[:class:`telegram.MessageEntity`]): Special entities
        that appear in the option :paramref:`text`. It can be specified instead of
        :paramref:`text_parse_mode`.
        Currently, only custom emoji entities are allowed.
        This list is empty if the text does not contain entities.
    media (:class:`telegram.InputPollOptionMedia`): Optional. Media added to the poll option.

        .. versionadded:: 22.8
Nr(   c                ór   <€ V ^8„  d   QhRS[ RS[S[ ,          RS[S[,          R,          RRRS[R,          /# )r*   ÚtextÚtext_parse_modeÚtext_entitiesNÚmediazInputPollOptionMedia | Noner(   )Ústrr   r   r   r   )r4   r5   s   "€r6   r7   ÚInputPollOption.__annotate__Ú   sO   ø€ ÷ ñ áðñ "¡#�ðñ  ¡Õ.°Õ5ð	ð
 -ðñ ˜t•Oñr9   c               ó°   <€ \         SV `  VR 7       Wn        W n        \	        V4      V n        W@n        V P                  3V n        V P                  4        R# r;   )	r=   r>   rc   rd   r   re   rf   r?   r@   )rA   rc   rd   re   rf   r(   rB   s   &&&&&$€r6   r>   ÚInputPollOption.__init__Ú   sH   ø€ ô 	‰Ñ JÐÔ/ØŒ	Ø.=ÔÜ8JÈ=Ó8YˆÔØ27Œ
àŸ)™)˜ˆŒà�‰Žr9   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r*   rE   rF   rG   rH   ra   rI   )r4   r5   s   "€r6   r7   rh   ï   s#   ø€ ÷ 3ñ 3™8ð 3¨,ð 3ÐBSñ 3r9   c                óº   <€ \        \        RR4      ^R7       V P                  V4      p\        VP	                  R4      \
        V4      VR&   \        SV `  WR7      # )zÏSee :meth:`telegram.TelegramObject.de_json`. The :paramref:`media` field will
not be included for deserialization.

.. deprecated:: 22.8
    This class is input only and will be removed in the next version.
ú22.8z¦`InputPollOption.de_json` is deprecated. This class is input only and will be removed in the next version. The `media` field will not be included for deserialization.©Ú
stacklevelre   rL   )r!   r"   rM   r   rN   r   r=   rO   rP   s   &&&€r6   rO   ÚInputPollOption.de_jsonî   s`   ø€ ô 	Ü!Øð#óð õ	
ð �‰˜tÓ$ˆä 0°·±¸/Ó1JÌMÐ[^Ó _ˆˆ_Ñä‰w‰ DˆÓ2Ð2r9   )r?   rf   rc   re   rd   )rf   rc   re   rd   rS   )rU   rV   rW   rX   rY   rZ   r   r>   r[   rO   r\   r]   r^   r_   s   @@r6   ra   ra   °   sP   ù‡ € ñ%ðN F€Ið
 *6Ø8<Ø/3ñð '+÷ö ð( ÷3ô 3ó ÷3ð 3r9   ra   c                   ó  a a€ ] tR tRt oRtRtRRR/V3R lV 3R llllt]RV3R lV 3R lll4       tV3R	 lR
 lt	RV3R lR llt
]P                  P                  t ]P                  P                  t V3R ltRtVtV ;t# )Ú
PollOptioni  aÃ  
This object contains information about one answer option in a poll.

Objects of this class are comparable in terms of equality. Two objects of this class are
considered equal, if their :attr:`text`, :attr:`voter_count` and :attr:`persistent_id`
are equal.

.. versionchanged:: 22.8
    Added attribute :attr:`persistent_id` to equality checks.


Args:
    persistent_id (:obj:`str`): Unique identifier of the option, persistent on option addition
        and deletion.

        .. versionadded:: 22.8
    text (:obj:`str`): Option text,
        :tg-const:`telegram.PollOption.MIN_LENGTH`-:tg-const:`telegram.PollOption.MAX_LENGTH`
        characters.
    voter_count (:obj:`int`): Number of users that voted for this option.
    text_entities (Sequence[:class:`telegram.MessageEntity`], optional): Special entities
        that appear in the option text. Currently, only custom emoji entities are allowed in
        poll option texts.

        .. versionadded:: 21.2
    media (:class:`telegram.PollMedia`, optional): Media added to the poll option.

        .. versionadded:: 22.8
    added_by_user (:class:`telegram.User`, optional): User who added the option;
        omitted if the option wasn't added by a user after poll creation.

        .. versionadded:: 22.8
    added_by_chat (:class:`telegram.Chat`, optional): Chat that added the option;
        omitted if the option wasn't added by a chat after poll creation.

        .. versionadded:: 22.8
    addition_date (:obj:`datetime.datetime`, optional): Point in time
        when the option was added; omitted if the option existed in the original poll.

        .. versionadded:: 22.8

Attributes:
    persistent_id (:obj:`str`): Unique identifier of the option, persistent on option addition
        and deletion.

        .. versionadded:: 22.8
    text (:obj:`str`): Option text,
        :tg-const:`telegram.PollOption.MIN_LENGTH`-:tg-const:`telegram.PollOption.MAX_LENGTH`
        characters.
    voter_count (:obj:`int`): Number of users that voted for this option.
    text_entities (tuple[:class:`telegram.MessageEntity`]): Special entities
        that appear in the option text. Currently, only custom emoji entities are allowed in
        poll option texts.
        This list is empty if the question does not contain entities.

        .. versionadded:: 21.2
    media (:class:`telegram.PollMedia`): Optional. Media added to the poll option.

        .. versionadded:: 22.8
    added_by_user (:class:`telegram.User`): Optional. User who added the option;
        omitted if the option wasn't added by a user after poll creation.

        .. versionadded:: 22.8
    added_by_chat (:class:`telegram.Chat`): Optional. Chat that added the option;
        omitted if the option wasn't added by a chat after poll creation.

        .. versionadded:: 22.8
    addition_date (:obj:`datetime.datetime`): Optional. Point in time
        when the option was added; omitted if the option existed in the original poll.

        .. versionadded:: 22.8
Nr(   c                óÖ   <€ V ^8„  d   QhRS[ RS[RS[S[,          R,          RS[R,          RS[R,          RS[P                  R,          RS[R,          R	S[ R,          R
S[	R,          /	# )r*   rc   Úvoter_countre   NÚadded_by_userÚadded_by_chatÚaddition_daterf   Úpersistent_idr(   )
rg   Úintr   r   r   r   ÚdtmÚdatetimer'   r   )r4   r5   s   "€r6   r7   ÚPollOption.__annotate__[  s�   ø€ ÷ ñ áðñ ðñ  ¡Õ.°Õ5ð	ñ
 ˜d•{ðñ ˜d•{ðñ —|‘| dÕ*ðñ ˜4Õðñ ˜T•zðñ ˜t•Oñr9   c	               ó*  <€ Vf   \        R4      h\        S
V `	  V	R7       Wn        W n        W@n        WPn        W`n        W€n        Wpn	        \        V4      V n        V P                  V P                  V P                  3V n        V P                  4        R # )Nz8`persistent_id` is a required argument since Bot API 9.6r<   )Ú	TypeErrorr=   r>   rc   rt   ru   rv   rw   rx   rf   r   re   r?   r@   )rA   rc   rt   re   ru   rv   rw   rf   rx   r(   rB   s   &&&&&&&&&$€r6   r>   ÚPollOption.__init__[  sƒ   ø€ ð Ò ÜÐVÓWÐWä‰Ñ JÐÔ/ØŒ	Ø +ÔØ*7ÔØ*7ÔØ2?ÔØ"/ÔØ',Œ
ä8JÈ=Ó8YˆÔàŸ)™) T×%5Ñ%5°t×7IÑ7IÐJˆŒà�‰Žr9   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r*   rE   rF   rG   rH   rr   rI   )r4   r5   s   "€r6   r7   r|   }  s"   ø€ ÷ 3ñ 3™8ð 3¨,ð 3À,ñ 3r9   c                ó²  <€ V P                  V4      p\        V4      p\        VP                  R4      \        V4      VR&   \        VP                  R4      \        V4      VR&   \        VP                  R4      \        V4      VR&   \        VP                  R4      VR7      VR&   \        VP                  R4      \        V4      VR&   \        SV `-  WR7      # )rK   re   ru   rv   rw   ©Útzinforf   rL   )rM   r   r   rN   r   r   r   r   r   r'   r=   rO   ©rQ   rE   rF   Ú
loc_tzinforB   s   &&& €r6   rO   ÚPollOption.de_json|  s½   ø€ ð �‰˜tÓ$ˆô 2°#Ó6ˆ
ä 0°·±¸/Ó1JÌMÐ[^Ó _ˆˆ_ÑÜ 0°·±¸/Ó1JÌDÐRUÓ Vˆˆ_ÑÜ 0°·±¸/Ó1JÌDÐRUÓ Vˆˆ_ÑÜ .¨t¯x©x¸Ó/HÐQ[Ô \ˆˆ_ÑÜ(¨¯©°'Ó):¼IÀsÓKˆˆW‰ä‰w‰ DˆÓ2Ð2r9   c                ó&   <€ V ^8„  d   QhRS[ RS[/# ©r*   ÚentityrH   ©r   rg   )r4   r5   s   "€r6   r7   r|   Œ  s   ø€ ÷ 7ñ 7¡=ð 7±Sñ 7r9   c                ó.   € \        V P                  V4      # )aT  Returns the text in :attr:`text`
from a given :class:`telegram.MessageEntity` of :attr:`text_entities`.

Note:
    This method is present because Telegram calculates the offset and length in
    UTF-16 codepoint pairs, which some versions of Python don't handle automatically.
    (That is, you can't just slice ``Message.text`` with the offset and length.)

.. versionadded:: 21.2

Args:
    entity (:class:`telegram.MessageEntity`): The entity to extract the text from. It must
        be an entity that belongs to :attr:`text_entities`.

Returns:
    :obj:`str`: The text of the given entity.
)r   rc   ©rA   r‰   s   &&r6   Úparse_entityÚPollOption.parse_entityŒ  s   € ô$ $ D§I¡I¨vÓ6Ð6r9   c                óZ   <€ V ^8„  d   QhRS[ S[,          R,          RS[S[S[3,          /# ©r*   ÚtypesNrH   ©Úlistrg   Údictr   )r4   r5   s   "€r6   r7   r|      s3   ø€ ÷ Lñ L¡D©¥I°Õ$4ð LÁÁ]ÑTWÐEWÕ@Xñ Lr9   c                óD   € \        V P                  V P                  V4      # )a¨  
Returns a :obj:`dict` that maps :class:`telegram.MessageEntity` to :obj:`str`.
It contains entities from this polls question filtered by their ``type`` attribute as
the key, and the text that each entity belongs to as the value of the :obj:`dict`.

Note:
    This method should always be used instead of the :attr:`text_entities`
    attribute, since it calculates the correct substring from the message text based on
    UTF-16 codepoints. See :attr:`parse_entity` for more info.

.. versionadded:: 21.2

Args:
    types (list[:obj:`str`], optional): List of ``MessageEntity`` types as strings. If the
            ``type`` attribute of an entity is contained in this list, it will be returned.
            Defaults to :attr:`telegram.MessageEntity.ALL_TYPES`.

Returns:
    dict[:class:`telegram.MessageEntity`, :obj:`str`]: A dictionary of entities mapped to
    the text that belongs to them, calculated based on UTF-16 codepoints.
)r   rc   re   ©rA   r‘   s   &&r6   Úparse_entitiesÚPollOption.parse_entities   s   € ô, & d§i¡i°×1CÑ1CÀUÓKÐKr9   c                óR   <€ V ^8„  d   Qh/ S[ S[,          ;R&   S[ S[,          ;R&   # )r*   Ú
MIN_LENGTHÚ
MAX_LENGTH)r   ry   )r4   r5   s   "€r6   r7   r|     s+   ø‡ ‚ ñd ‘c•
ÑBñe ñn ‘c•
ÑBòo r9   )	r?   rv   ru   rw   rf   rx   rc   re   rt   )rv   ru   rw   rf   rx   rc   re   rt   )NNNNNNrS   )rU   rV   rW   rX   rY   rZ   r>   r[   rO   r�   r—   r   Ú	PollLimitÚMIN_OPTION_LENGTHrš   ÚMAX_OPTION_LENGTHr›   Ú__annotate_func__r\   r]   r^   r_   s   @@r6   rr   rr     s�   ù‡ € ñGðR	€Iñð '+÷ö ðB ÷3ô 3ó ð3÷7ð 7÷(Lò Lð0 '×0Ñ0×BÑB€Jðð '×0Ñ0×BÑB€Jð÷q … r9   rr   c                   óx   a a€ ] tR tRt oRtR
tRRR/V3R lV 3R llllt]RV3R lV 3R lll4       tR	t	Vt
V ;t# )Ú
PollAnsweriÄ  a¤	  
This object represents an answer of a user in a non-anonymous poll.

Objects of this class are comparable in terms of equality. Two objects of this class are
considered equal, if their :attr:`poll_id`, :attr:`user` and :attr:`option_ids` are equal.

.. versionchanged:: 20.5
    The order of :paramref:`option_ids` and :paramref:`user` is changed in
    20.5 as the latter one became optional.

.. versionchanged:: 20.6
   Backward compatiblity for changed order of :paramref:`option_ids` and :paramref:`user`
   was removed.

Args:
    poll_id (:obj:`str`): Unique poll identifier.
    option_ids (Sequence[:obj:`int`]): Identifiers of answer options, chosen by the user. May
        be empty if the user retracted their vote.

        .. versionchanged:: 20.0
            |sequenceclassargs|
    option_persistent_ids (Sequence[:obj:`str`]): Persistent identifiers of the
        chosen answer options. May be empty if the vote was retracted.

        .. versionadded:: 22.8
    user (:class:`telegram.User`, optional): The user that changed the answer to the poll,
        if the voter isn't anonymous. If the voter is anonymous, this field will contain the
        user :tg-const:`telegram.constants.ChatID.FAKE_CHANNEL` for backwards compatibility.

        .. versionchanged:: 20.5
            :paramref:`user` became optional.
    voter_chat (:class:`telegram.Chat`, optional): The chat that changed the answer to the
        poll, if the voter is anonymous.

        .. versionadded:: 20.5

Attributes:
    poll_id (:obj:`str`): Unique poll identifier.
    option_ids (tuple[:obj:`int`]): Identifiers of answer options, chosen by the user. May
        be empty if the user retracted their vote.

        .. versionchanged:: 20.0
            |tupleclassattrs|
    option_persistent_ids (tuple[:obj:`str`]): Persistent identifiers of the
        chosen answer options. May be empty if the vote was retracted.

        .. versionadded:: 22.8
    user (:class:`telegram.User`): Optional. The user, who changed the answer to the
        poll, if the voter isn't anonymous. If the voter is anonymous, this field will contain
        the user :tg-const:`telegram.constants.ChatID.FAKE_CHANNEL` for backwards compatibility

        .. versionchanged:: 20.5
            :paramref:`user` became optional.
    voter_chat (:class:`telegram.Chat`): Optional. The chat that changed the answer to the
        poll, if the voter is anonymous.

        .. versionadded:: 20.5
Nr(   c                ó–   <€ V ^8„  d   QhRS[ RS[S[,          RS[R,          RS[R,          RS[S[ ,          R,          RS[R,          /# )r*   Úpoll_idÚ
option_idsÚuserNÚ
voter_chatÚoption_persistent_idsr(   )rg   r   ry   r   r   r   )r4   r5   s   "€r6   r7   ÚPollAnswer.__annotate__  s`   ø€ ÷ ñ áðñ ™S•Mðñ �T�kð	ñ
 ˜4•Kðñ  (©�}¨tÕ3ðñ ˜t•Oñr9   c               ó0  <€ Vf   \        R4      h\        SV `	  VR7       Wn        W@n        \        V4      V n        W0n        \        V4      V n        V P                  V P                  V P                  V P                  3V n	        V P                  4        R # )Nz@`option_persistent_ids` is a required argument since Bot API 9.6r<   )r~   r=   r>   r£   r¦   r   r¤   r¥   r§   r?   r@   )rA   r£   r¤   r¥   r¦   r§   r(   rB   s   &&&&&&$€r6   r>   ÚPollAnswer.__init__  s‚   ø€ ð !Ò(ÜÐ^Ó_Ð_ä‰Ñ JÐÔ/Ø#ŒØ'1ŒÜ+=¸jÓ+IˆŒØ!%Œ	Ü6HÐI^Ó6_ˆÔ"ð �L‰LØ�O‰OØ�I‰IØ�O‰Oð	
ˆŒð 	�‰Žr9   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r*   rE   rF   rG   rH   r¡   rI   )r4   r5   s   "€r6   r7   r¨   "  s"   ø€ ÷ 3ñ 3™8ð 3¨,ð 3À,ñ 3r9   c                óÒ   <€ V P                  V4      p\        VP                  R4      \        V4      VR&   \        VP                  R4      \        V4      VR&   \
        SV `  WR7      # )rK   r¥   r¦   rL   )rM   r   rN   r   r   r=   rO   rP   s   &&&€r6   rO   ÚPollAnswer.de_json!  s[   ø€ ð �‰˜tÓ$ˆä'¨¯©°Ó(8¼$ÀÓDˆˆV‰Ü-¨d¯h©h°|Ó.DÄdÈCÓPˆˆ\Ñä‰w‰ DˆÓ2Ð2r9   )r?   r¤   r§   r£   r¥   r¦   )r¤   r§   r£   r¥   r¦   )NNNrS   rT   r_   s   @@r6   r¡   r¡   Ä  sE   ù‡ € ñ9ðv Y€Iñð '+÷ö ð> ÷3ô 3ó ÷3ð 3r9   r¡   c                   ó    a a€ ] tR tRt oRtRtRRR/V3R lV 3R llllt]RV3R lV 3R lll4       tV3R	 lR
 lt	RV3R lR llt
RtVtV ;t# )ÚPollOptionAddedi,  a£  
Describes a service message about an option added to a poll.

Objects of this class are comparable in terms of equality. Two objects of this class are
considered equal, if their :attr:`option_persistent_id`, and :attr:`option_text` are equal.

.. versionadded:: 22.8

Args:
    option_persistent_id (:obj:`str`): Unique identifier of the added option.
    option_text (:obj:`str`): Option text.
    poll_message (:class:`telegram.MaybeInaccessibleMessage`, optional): Message
        containing the poll to which the option was added, if known.
        Note that the Message object in this field will not contain the
        :attr:`~telegram.Message.reply_to_message` field even if it itself is a reply.
    option_text_entities (Sequence[:class:`telegram.MessageEntity`], optional): Special
        entities that appear in the :paramref:`option_text`.

Attributes:
    option_persistent_id (:obj:`str`): Unique identifier of the added option.
    option_text (:obj:`str`): Option text.
    poll_message (:class:`telegram.MaybeInaccessibleMessage`): Optional. Message
        containing the poll to which the option was added, if known.
        Note that the Message object in this field will not contain the
        :attr:`~telegram.Message.reply_to_message` field even if it itself is a reply.
    option_text_entities (tuple[:class:`telegram.MessageEntity`]): Optional. Special
        entities that appear in the :paramref:`option_text`.
Nr(   c                ób   <€ V ^8„  d   QhRS[ RS[ RRRS[S[,          R,          RS[R,          /# ©r*   Úoption_persistent_idÚoption_textÚpoll_messagezMaybeInaccessibleMessage | NoneÚoption_text_entitiesNr(   ©rg   r   r   r   )r4   r5   s   "€r6   r7   ÚPollOptionAdded.__annotate__L  óK   ø€ ÷ ñ á!ðñ ðð 8ð	ñ
 '¡}Õ5¸Õ<ðñ ˜t•Oñr9   c               óÆ   <€ \         SV `  VR 7       Wn        W n        W0n        \        V4      V n        V P                  V P                  3V n        V P                  4        R# r;   ©	r=   r>   r²   r³   r´   r   rµ   r?   r@   ©rA   r²   r³   r´   rµ   r(   rB   s   &&&&&$€r6   r>   ÚPollOptionAdded.__init__L  ó[   ø€ ô 	‰Ñ JÐÔ/Ø)=Ô!Ø +ÔØ=IÔä?QØ ó@
ˆÔ!ð ×3Ñ3°T×5EÑ5EÐFˆŒà�‰Žr9   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r*   rE   rF   rG   rH   r¯   rI   )r4   r5   s   "€r6   r7   r·   c  s#   ø€ ÷ 3ñ 3™8ð 3¨,ð 3ÐBSñ 3r9   c                óÔ   <€ ^ RI Hp V P                  V4      p\        VP	                  R4      W24      VR&   \        VP	                  R4      \        V4      VR&   \        SV `!  WR7      # ©rK   )r%   r´   rµ   rL   ©	Útelegram._messager%   rM   r   rN   r   r   r=   rO   ©rQ   rE   rF   r%   rB   s   &&& €r6   rO   ÚPollOptionAdded.de_jsonb  ól   ø€ õ	
ð �‰˜tÓ$ˆä/Ø�H‰H�^Ó$Ð&>ó 
ˆˆ^Ñô (8Ø�H‰HÐ+Ó,¬m¸Só(
ˆÐ#Ñ$ô ‰w‰ DˆÓ2Ð2r9   c                ó&   <€ V ^8„  d   QhRS[ RS[/# rˆ   rŠ   )r4   r5   s   "€r6   r7   r·   t  ó   ø€ ÷ >ñ >©}ð >Áñ >r9   c                ó.   € \        V P                  V4      # ©aQ  Returns the text in :attr:`option_text`
from a given :class:`telegram.MessageEntity` of :attr:`option_text_entities`.

Note:
    This method is present because Telegram calculates the offset and length in
    UTF-16 codepoint pairs, which some versions of Python don't handle automatically.
    (That is, you can't just slice ``Message.text`` with the offset and length.)

Args:
    entity (:class:`telegram.MessageEntity`): The entity to extract the text from. It must
        be an entity that belongs to :attr:`option_text_entities`.

Returns:
    :obj:`str`: The text of the given entity.
©r   r³   rŒ   s   &&r6   Úparse_option_text_entityÚ(PollOptionAdded.parse_option_text_entityt  ó   € ô  $ D×$4Ñ$4°fÓ=Ð=r9   c                óZ   <€ V ^8„  d   QhRS[ S[,          R,          RS[S[S[3,          /# r�   r’   )r4   r5   s   "€r6   r7   r·   †  ó4   ø€ ÷ Zñ ZÙ™#•Y Õ%ðZá	‰m™SÐ Õ	!ñZr9   c                óD   € \        V P                  V P                  V4      # ©aš  
Returns a :obj:`dict` that maps :class:`telegram.MessageEntity` to :obj:`str`.
It contains entities from this polls option text filtered by their ``type`` attribute as
the key, and the text that each entity belongs to as the value of the :obj:`dict`.

Note:
    This method should always be used instead of the :attr:`option_text_entities`
    attribute, since it calculates the correct substring from the message text based on
    UTF-16 codepoints. See :attr:`parse_entity` for more info.

Args:
    types (list[:obj:`str`], optional): List of ``MessageEntity`` types as strings. If the
            ``type`` attribute of an entity is contained in this list, it will be returned.
            Defaults to :attr:`telegram.MessageEntity.ALL_TYPES`.

Returns:
    dict[:class:`telegram.MessageEntity`, :obj:`str`]: A dictionary of entities mapped to
    the text that belongs to them, calculated based on UTF-16 codepoints.
©r   r³   rµ   r–   s   &&r6   Úparse_option_text_entitiesÚ*PollOptionAdded.parse_option_text_entities†  ó    € ô, & d×&6Ñ&6¸×8QÑ8QÐSXÓYÐYr9   ©r?   r²   r³   rµ   r´   ©r²   r³   rµ   r´   ©NNrS   ©rU   rV   rW   rX   rY   rZ   r>   r[   rO   rË   rÓ   r\   r]   r^   r_   s   @@r6   r¯   r¯   ,  ó[   ù‡ € ñð: `€Iñð '+÷ö ð, ÷3ô 3ó ð3÷">ð >÷$Z÷ Zò Zr9   r¯   c                   ó    a a€ ] tR tRt oRtRtRRR/V3R lV 3R llllt]RV3R lV 3R lll4       tV3R	 lR
 lt	RV3R lR llt
RtVtV ;t# )ÚPollOptionDeletediŸ  a“  
Describes a service message about an option deleted from a poll.

Objects of this class are comparable in terms of equality. Two objects of this class are
considered equal, if their :attr:`option_persistent_id`, :attr:`option_text` are equal.

.. versionadded:: 22.8

Args:
    option_persistent_id (:obj:`str`): Unique identifier of the deleted option.
    option_text (:obj:`str`): Option text.
    poll_message (:class:`telegram.MaybeInaccessibleMessage`, optional): Message
        containing the poll to which the option was deleted, if known.
        Note that the Message object in this field will not contain the
        :attr:`~telegram.Message.reply_to_message` field even if it itself is a reply.
    option_text_entities (Sequence[:class:`telegram.MessageEntity`], optional): Special
        entities that appear in the option_text.

Attributes:
    option_persistent_id (:obj:`str`): Unique identifier of the deleted option.
    option_text (:obj:`str`): Option text.
    poll_message (:class:`telegram.MaybeInaccessibleMessage`): Optional. Message
        containing the poll to which the option was deleted, if known.
        Note that the Message object in this field will not contain the
        :attr:`~telegram.Message.reply_to_message` field even if it itself is a reply.
    option_text_entities (tuple[:class:`telegram.MessageEntity`]): Optional. Special
        entities that appear in the option_text.
Nr(   c                ób   <€ V ^8„  d   QhRS[ RS[ RRRS[S[,          R,          RS[R,          /# r±   r¶   )r4   r5   s   "€r6   r7   ÚPollOptionDeleted.__annotate__¿  r¸   r9   c               óÆ   <€ \         SV `  VR 7       Wn        W n        W0n        \        V4      V n        V P                  V P                  3V n        V P                  4        R# r;   rº   r»   s   &&&&&$€r6   r>   ÚPollOptionDeleted.__init__¿  r½   r9   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r*   rE   rF   rG   rH   rÜ   rI   )r4   r5   s   "€r6   r7   rÞ   Ö  s#   ø€ ÷ 3ñ 3™8ð 3¨,ð 3ÐBUñ 3r9   c                óÔ   <€ ^ RI Hp V P                  V4      p\        VP	                  R4      W24      VR&   \        VP	                  R4      \        V4      VR&   \        SV `!  WR7      # rÀ   rÁ   rÃ   s   &&& €r6   rO   ÚPollOptionDeleted.de_jsonÕ  rÅ   r9   c                ó&   <€ V ^8„  d   QhRS[ RS[/# rˆ   rŠ   )r4   r5   s   "€r6   r7   rÞ   ç  rÇ   r9   c                ó.   € \        V P                  V4      # rÉ   rÊ   rŒ   s   &&r6   rË   Ú*PollOptionDeleted.parse_option_text_entityç  rÍ   r9   c                óZ   <€ V ^8„  d   QhRS[ S[,          R,          RS[S[S[3,          /# r�   r’   )r4   r5   s   "€r6   r7   rÞ   ù  rÏ   r9   c                óD   € \        V P                  V P                  V4      # rÑ   rÒ   r–   s   &&r6   rÓ   Ú,PollOptionDeleted.parse_option_text_entitiesù  rÕ   r9   rÖ   r×   rØ   rS   rÙ   r_   s   @@r6   rÜ   rÜ   Ÿ  rÚ   r9   rÜ   c                   ó¸  a a€ ] tR tRt oRtRtRRR/V3R lV 3R llllt]V3R lR l4       t]	RV3R	 lV 3R
 lll4       t
V3R lR ltRV3R lR lltV3R lR ltRV3R lR lltV3R lR ltRV3R lR llt]V3R lR l4       t]P&                  P(                  t ]P&                  P*                  t ]P,                  P.                  t ]P,                  P0                  t ]P,                  P2                  t ]P,                  P4                  t ]P,                  P6                  t ]P,                  P8                  t ]P,                  P:                  t ]P,                  P<                  t ]P,                  P>                  t ]P,                  P@                  t  ]P,                  PB                  t! ]P,                  PD                  t" V3R lt#Rt$Vt%V ;t&# )ÚPolli  a   
This object contains information about a poll.

Objects of this class are comparable in terms of equality. Two objects of this class are
considered equal, if their :attr:`id` is equal.

Examples:
    :any:`Poll Bot <examples.pollbot>`

Args:
    id (:obj:`str`): Unique poll identifier.
    question (:obj:`str`): Poll question, :tg-const:`telegram.Poll.MIN_QUESTION_LENGTH`-
        :tg-const:`telegram.Poll.MAX_QUESTION_LENGTH` characters.
    options (Sequence[:class:`~telegram.PollOption`]): List of poll options.

        .. versionchanged:: 20.0
            |sequenceclassargs|
    is_closed (:obj:`bool`): :obj:`True`, if the poll is closed.
    is_anonymous (:obj:`bool`): :obj:`True`, if the poll is anonymous.
    type (:obj:`str`): Poll type, currently can be :attr:`REGULAR` or :attr:`QUIZ`.
    allows_multiple_answers (:obj:`bool`): :obj:`True`, if the poll allows multiple answers.
    members_only (:obj:`bool`): :obj:`True`, if voting is limited to users who have been
        members of the chat where the poll was originally sent for more than
        :tg-const:`telegram.Poll.MIN_MEMBERSHIP_HOURS` hours.

        .. versionadded:: 22.8
    correct_option_id (:obj:`int`, optional): A zero based identifier of the correct answer
        option. Available only for closed polls in the quiz mode, which were sent
        (not forwarded), by the bot or to a private chat with the bot.

        .. deprecated:: 22.8
            Use :paramref:`correct_option_ids` instead.
    explanation (:obj:`str`, optional): Text that is shown when a user chooses an incorrect
        answer or taps on the lamp icon in a quiz-style poll,
        0-:tg-const:`telegram.Poll.MAX_EXPLANATION_LENGTH` characters.
    explanation_entities (Sequence[:class:`telegram.MessageEntity`], optional): Special
        entities like usernames, URLs, bot commands, etc. that appear in the
        :attr:`explanation`. This list is empty if the message does not contain explanation
        entities.

        .. versionchanged:: 20.0

           * This attribute is now always a (possibly empty) list and never :obj:`None`.
           * |sequenceclassargs|
    explanation_media (:class:`telegram.PollMedia`, optional): Media added to the quiz
        explanation.

        .. versionadded:: 22.8
    open_period (:obj:`int` | :class:`datetime.timedelta`, optional): Amount of time in seconds
        the poll will be active after creation.

        .. versionchanged:: v22.2
            |time-period-input|
    close_date (:obj:`datetime.datetime`, optional): Point in time (Unix timestamp) when the
        poll will be automatically closed. Converted to :obj:`datetime.datetime`.

        .. versionchanged:: 20.3
            |datetime_localization|
    question_entities (Sequence[:class:`telegram.MessageEntity`], optional): Special entities
        that appear in the :attr:`question`. Currently, only custom emoji entities are allowed
        in poll questions.

        .. versionadded:: 21.2
    allows_revoting (:obj:`bool`, optional): :obj:`True`, if the poll allows to
        change the chosenanswer options.

        .. versionadded:: 22.8
    correct_option_ids (Sequence[:class:`int`], optional): Array of 0-based identifiers of
        the correct answer options. Available only for polls in quiz mode which are closed or
        were sent (not forwarded) by the bot or to the private chat with the bot.

        .. versionadded:: 22.8
    country_codes (Sequence[:obj:`str`], optional): A list of two-letter ``ISO 3166-1 alpha-2``
        country codes indicating the countries from which users can vote in the poll. The
        country code ``"FT"`` is used for users with anonymous numbers. If omitted, then users
        from any country can participate in the poll.

        .. versionadded:: 22.8
    description (:obj:`str`, optional): Description of the poll;
        for polls inside the :class:`~telegram.Message` object only.

        .. versionadded:: 22.8
    description_entities (Sequence[:class:`telegram.MessageEntity`], optional): Special
        entities like usernames, URLs, bot commands, etc. that appear in the description

        .. versionadded:: 22.8
    media (:class:`telegram.PollMedia`, optional): Media added to the poll description;
        for polls inside the :class:`~telegram.Message` object only.

        .. versionadded:: 22.8

Attributes:
    id (:obj:`str`): Unique poll identifier.
    question (:obj:`str`): Poll question, :tg-const:`telegram.Poll.MIN_QUESTION_LENGTH`-
        :tg-const:`telegram.Poll.MAX_QUESTION_LENGTH` characters.
    options (tuple[:class:`~telegram.PollOption`]): List of poll options.

        .. versionchanged:: 20.0
            |tupleclassattrs|
    total_voter_count (:obj:`int`): Total number of users that voted in the poll.
    is_closed (:obj:`bool`): :obj:`True`, if the poll is closed.
    is_anonymous (:obj:`bool`): :obj:`True`, if the poll is anonymous.
    type (:obj:`str`): Poll type, currently can be :attr:`REGULAR` or :attr:`QUIZ`.
    allows_multiple_answers (:obj:`bool`): :obj:`True`, if the poll allows multiple answers.
    members_only (:obj:`bool`): :obj:`True`, if voting is limited to users who have been
        members of the chat where the poll was originally sent for more than
        :tg-const:`telegram.Poll.MIN_MEMBERSHIP_HOURS` hours.

        .. versionadded:: 22.8
    explanation (:obj:`str`): Optional. Text that is shown when a user chooses an incorrect
        answer or taps on the lamp icon in a quiz-style poll,
        0-:tg-const:`telegram.Poll.MAX_EXPLANATION_LENGTH` characters.
    explanation_entities (tuple[:class:`telegram.MessageEntity`]): Special entities
        like usernames, URLs, bot commands, etc. that appear in the :attr:`explanation`.
        This list is empty if the message does not contain explanation entities.

        .. versionchanged:: 20.0
            |tupleclassattrs|

        .. versionchanged:: 20.0
           This attribute is now always a (possibly empty) list and never :obj:`None`.
    explanation_media (:class:`telegram.PollMedia`): Optional. Media added to the quiz
        explanation.

        .. versionadded:: 22.8
    open_period (:obj:`int` | :class:`datetime.timedelta`): Optional. Amount of time in seconds
        the poll will be active after creation.

        .. deprecated:: v22.2
            |time-period-int-deprecated|
    close_date (:obj:`datetime.datetime`): Optional. Point in time when the poll will be
        automatically closed.

        .. versionchanged:: 20.3
            |datetime_localization|
    question_entities (tuple[:class:`telegram.MessageEntity`]): Special entities
        that appear in the :attr:`question`. Currently, only custom emoji entities are allowed
        in poll questions.
        This list is empty if the question does not contain entities.

        .. versionadded:: 21.2
    allows_revoting (:obj:`bool`): :obj:`True`, if the poll
        allows to change the chosenanswer options

        .. versionadded:: 22.8
    correct_option_ids (tuple[:class:`int`]): Array of 0-based identifiers of the
        correct answer options. Available only for polls in quiz mode which are closed or were
        sent (not forwarded) by the bot or to the private chat with the bot.

        .. versionadded:: 22.8
    country_codes (tuple[:obj:`str`]): Optional. A list of two-letter ``ISO 3166-1 alpha-2``
        country codes indicating the countries from which users can vote in the poll. The
        country code ``"FT"`` is used for users with anonymous numbers. If omitted, then users
        from any country can participate in the poll.

        .. versionadded:: 22.8
    description (:obj:`str`): Optional. Description of the poll;
        for polls inside the Message object only

        .. versionadded:: 22.8
    description_entities (tuple[:class:`telegram.MessageEntity`]): Special
        entities like usernames, URLs, bot commands, etc. that appear in the description

        .. versionadded:: 22.8
    media (:class:`telegram.PollMedia`): Optional. Media added to the poll description;
        for polls inside the Message object only.

        .. versionadded:: 22.8

Nr(   c          /      óê  <€ V ^8„  d   QhRS[ RS[ RS[S[,          RS[RS[RS[RS[ RS[R	S[R
,          RS[ R
,          RS[S[,          R
,          RS[R
,          RS[P                  R
,          RS[S[,          R
,          RS[R
,          RS[R
,          RS[S[,          R
,          RS[ R
,          RS[S[,          R
,          RS[S[ ,          R
,          RS[	R
,          RS[	R
,          RS[
R
,          /# )r*   ÚidÚquestionÚoptionsÚtotal_voter_countÚ	is_closedÚis_anonymousÚtypeÚallows_multiple_answersÚcorrect_option_idNÚexplanationÚexplanation_entitiesÚopen_periodÚ
close_dateÚquestion_entitiesÚallows_revotingÚmembers_onlyÚcorrect_option_idsÚdescriptionÚdescription_entitiesÚcountry_codesrf   Úexplanation_mediar(   )rg   r   rr   ry   Úboolr   r    rz   r{   r'   r   )r4   r5   s   "€r6   r7   ÚPoll.__annotate__Ö  so  ø€ ÷ Rñ RáðRñ ðRñ ™*Õ%ð	Rñ
 ðRñ ðRñ ðRñ ðRñ "&ðRñ  �:ðRñ ˜4•ZðRñ '¡}Õ5¸Õ<ðRñ    $Õ&ð!Rñ" —L‘L 4Õ'ð#Rñ$ $¡MÕ2°TÕ9ð%Rñ*  �ð+Rñ, ˜T•kð-Rñ0 %¡S�M¨DÕ0ð1Rñ2 ˜4•Zð3Rñ4 '¡}Õ5¸Õ<ð5Rñ6  ¡•} tÕ+ð7Rñ8 ˜4Õð9Rñ: % tÕ+ð;Rñ> ˜t•Oñ?Rr9   c               óÄ  <€ Vf   \        R4      hVf   \        R4      h\        SV `	  VR7       Wn        W n        \        V4      V n        W@n        WPn        W`n	        \        P                  ! \        P                  Ww4      V n        W€n        Wðn        VV n        V	e   \%        \'        RR4      ^R7       Vf   V	.p\        V4      V n        VV n        \        V4      V n        W n        \        V4      V n        \3        V4      V n        WÐn        \        V4      V n        \        V4      V n        VV n        VV n        V P                  3V n         V PC                  4        R # )Nz:`allows_revoting` is a required argument since Bot API 9.6z8`members_only` is a required argument since Bot API 10.0r<   rm   zRThe parameter `correct_option_id` is deprecated. Use `correct_option_ids` instead.rn   )"r~   r=   r>   rí   rî   r   rï   rð   rñ   rò   r   Ú
get_memberr   ÚPollTyperó   rô   rû   rü   r!   r"   rý   rþ   rÿ   rö   r÷   r   Ú_open_periodrù   rú   r   rf   r  r?   r@   )rA   rí   rî   rï   rð   rñ   rò   ró   rô   rõ   rö   r÷   rø   rù   rú   rû   rü   rý   rþ   rÿ   r   rf   r  r(   rB   s   &&&&&&&&&&&&&&&&&&&&&&&$€r6   r>   ÚPoll.__init__Ö  sW  ø€ ðB Ò"ÜÐXÓYÐYàÒÜÐVÓWÐWä‰Ñ JÐÔ/ØŒØ%ŒÜ/AÀ'Ó/JˆŒØ&7ÔØ(ŒØ".ÔÜŸš¬×);Ñ);¸TÓHˆŒ	Ø-DÔ$Ø%4ÔØ".ˆÔð Ò(ÜÜ%Øð8óð
 õð "Ò)Ø&7Ð%8Ð"ä3EÐFXÓ3YˆÔØ'2ˆÔÜ?QØ ó@
ˆÔ!ð (3ÔÜ?QØ ó@
ˆÔ!ô 3?¸{Ó2KˆÔØ/9ŒÜ<NÐO`Ó<aˆÔÜ.@ÀÓ.OˆÔØ',ˆŒ
Ø3DˆÔàŸ'™'˜ˆŒà�‰Žr9   c                óR   <€ V ^8„  d   QhRS[ S[P                  ,          R,          /# ©r*   rH   N)ry   rz   Ú	timedelta)r4   r5   s   "€r6   r7   r  +  s%   ø€ ÷ Oñ O™S¡3§=¡=Õ0°4Õ7ñ Or9   c                ó0   € \        V P                  R R7      # )rø   )Ú	attribute)r   r  ©rA   s   &r6   rø   ÚPoll.open_period*  s   € ä" 4×#4Ñ#4ÀÔNÐNr9   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r*   rE   rF   rG   rH   rë   rI   )r4   r5   s   "€r6   r7   r  /  s"   ø€ ÷ 3ñ 3™8ð 3¨,ð 3À&ñ 3r9   c                ó>  <€ V P                  V4      p\        V4      p\        VP                  R4      \        V4      VR&   \        VP                  R4      \
        V4      VR&   \        VP                  R4      VR7      VR&   \        VP                  R4      \
        V4      VR&   \        VP                  R4      \
        V4      VR&   \        VP                  R4      \        V4      VR&   \        VP                  R4      \        V4      VR&   \        SV `)  WR	7      # )
rK   rï   r÷   rù   r‚   rú   rÿ   rf   r  rL   )rM   r   r   rN   rr   r   r   r   r'   r=   rO   r„   s   &&& €r6   rO   ÚPoll.de_json.  s	  ø€ ð �‰˜tÓ$ˆô 2°#Ó6ˆ
ä*¨4¯8©8°IÓ+>Ä
ÈCÓPˆˆY‰Ü'7Ø�H‰HÐ+Ó,¬m¸Só(
ˆÐ#Ñ$ô ,¨D¯H©H°\Ó,BÈ:ÔVˆˆ\ÑÜ$4Ø�H‰HÐ(Ó)¬=¸#ó%
ˆÐ Ñ!ô (8Ø�H‰HÐ+Ó,¬m¸Só(
ˆÐ#Ñ$ô )¨¯©°'Ó):¼IÀsÓKˆˆW‰Ü$4°T·X±XÐ>QÓ5RÔT]Ð_bÓ$cˆÐ Ñ!ä‰w‰ DˆÓ2Ð2r9   c                ó&   <€ V ^8„  d   QhRS[ RS[/# rˆ   rŠ   )r4   r5   s   "€r6   r7   r  F  s   ø€ ÷ >ñ >©}ð >Áñ >r9   c                óh   € V P                   '       g   \        R4      h\        V P                   V4      # )a�  Returns the text in :attr:`explanation` from a given :class:`telegram.MessageEntity` of
:attr:`explanation_entities`.

Note:
    This method is present because Telegram calculates the offset and length in
    UTF-16 codepoint pairs, which some versions of Python don't handle automatically.
    (That is, you can't just slice ``Message.text`` with the offset and length.)

Args:
    entity (:class:`telegram.MessageEntity`): The entity to extract the text from. It must
        be an entity that belongs to :attr:`explanation_entities`.

Returns:
    :obj:`str`: The text of the given entity.

Raises:
    RuntimeError: If the poll has no explanation.

úThis Poll has no 'explanation'.)rö   ÚRuntimeErrorr   rŒ   s   &&r6   Úparse_explanation_entityÚPoll.parse_explanation_entityF  s/   € ð( ××ÐÜÐ@ÓAÐAä# D×$4Ñ$4°fÓ=Ð=r9   c                óZ   <€ V ^8„  d   QhRS[ S[,          R,          RS[S[S[3,          /# r�   r’   )r4   r5   s   "€r6   r7   r  _  s4   ø€ ÷ Zñ ZÙ™#•Y Õ%ðZá	‰m™SÐ Õ	!ñZr9   c                ó~   € V P                   '       g   \        R4      h\        V P                   V P                  V4      # )aâ  
Returns a :obj:`dict` that maps :class:`telegram.MessageEntity` to :obj:`str`.
It contains entities from this polls explanation filtered by their ``type`` attribute as
the key, and the text that each entity belongs to as the value of the :obj:`dict`.

Note:
    This method should always be used instead of the :attr:`explanation_entities`
    attribute, since it calculates the correct substring from the message text based on
    UTF-16 codepoints. See :attr:`parse_explanation_entity` for more info.

Args:
    types (list[:obj:`str`], optional): List of ``MessageEntity`` types as strings. If the
            ``type`` attribute of an entity is contained in this list, it will be returned.
            Defaults to :attr:`telegram.MessageEntity.ALL_TYPES`.

Returns:
    dict[:class:`telegram.MessageEntity`, :obj:`str`]: A dictionary of entities mapped to
    the text that belongs to them, calculated based on UTF-16 codepoints.

Raises:
    RuntimeError: If the poll has no explanation.

r  )rö   r  r   r÷   r–   s   &&r6   Úparse_explanation_entitiesÚPoll.parse_explanation_entities_  s8   € ð4 ××ÐÜÐ@ÓAÐAä% d×&6Ñ&6¸×8QÑ8QÐSXÓYÐYr9   c                ó&   <€ V ^8„  d   QhRS[ RS[/# rˆ   rŠ   )r4   r5   s   "€r6   r7   r  ~  s   ø€ ÷ ;ñ ;©Mð ;¹cñ ;r9   c                ó.   € \        V P                  V4      # )a`  Returns the text in :attr:`question` from a given :class:`telegram.MessageEntity` of
:attr:`question_entities`.

.. versionadded:: 21.2

Note:
    This method is present because Telegram calculates the offset and length in
    UTF-16 codepoint pairs, which some versions of Python don't handle automatically.
    (That is, you can't just slice ``Message.text`` with the offset and length.)

Args:
    entity (:class:`telegram.MessageEntity`): The entity to extract the text from. It must
        be an entity that belongs to :attr:`question_entities`.

Returns:
    :obj:`str`: The text of the given entity.
)r   rî   rŒ   s   &&r6   Úparse_question_entityÚPoll.parse_question_entity~  s   € ô$ $ D§M¡M°6Ó:Ð:r9   c                óZ   <€ V ^8„  d   QhRS[ S[,          R,          RS[S[S[3,          /# r�   r’   )r4   r5   s   "€r6   r7   r  ’  s3   ø€ ÷ Tñ T©T±#­Y¸Õ-=ð TÉÉmÑ]`ÐN`ÕIañ Tr9   c                óD   € \        V P                  V P                  V4      # )a¶  
Returns a :obj:`dict` that maps :class:`telegram.MessageEntity` to :obj:`str`.
It contains entities from this polls question filtered by their ``type`` attribute as
the key, and the text that each entity belongs to as the value of the :obj:`dict`.

.. versionadded:: 21.2

Note:
    This method should always be used instead of the :attr:`question_entities`
    attribute, since it calculates the correct substring from the message text based on
    UTF-16 codepoints. See :attr:`parse_question_entity` for more info.

Args:
    types (list[:obj:`str`], optional): List of ``MessageEntity`` types as strings. If the
            ``type`` attribute of an entity is contained in this list, it will be returned.
            Defaults to :attr:`telegram.MessageEntity.ALL_TYPES`.

Returns:
    dict[:class:`telegram.MessageEntity`, :obj:`str`]: A dictionary of entities mapped to
    the text that belongs to them, calculated based on UTF-16 codepoints.

)r   rî   rú   r–   s   &&r6   Úparse_question_entitiesÚPoll.parse_question_entities’  s   € ô. & d§m¡m°T×5KÑ5KÈUÓSÐSr9   c                ó&   <€ V ^8„  d   QhRS[ RS[/# rˆ   rŠ   )r4   r5   s   "€r6   r7   r  «  s   ø€ ÷ >ñ >©}ð >Áñ >r9   c                óh   € V P                   '       g   \        R4      h\        V P                   V4      # )a¥  Returns the text in :attr:`description` from a given :class:`telegram.MessageEntity` of
:attr:`description_entities`.

.. versionadded:: 22.8

Note:
    This method is present because Telegram calculates the offset and length in
    UTF-16 codepoint pairs, which some versions of Python don't handle automatically.
    (That is, you can't just slice ``Message.text`` with the offset and length.)

Args:
    entity (:class:`telegram.MessageEntity`): The entity to extract the text from. It must
        be an entity that belongs to :attr:`description_entities`.

Returns:
    :obj:`str`: The text of the given entity.

Raises:
    RuntimeError: If the poll has no description.

úThis Poll has no 'description'.)rþ   r  r   rŒ   s   &&r6   Úparse_description_entityÚPoll.parse_description_entity«  s/   € ð, ××ÐÜÐ@ÓAÐAä# D×$4Ñ$4°fÓ=Ð=r9   c                óZ   <€ V ^8„  d   QhRS[ S[,          R,          RS[S[S[3,          /# r�   r’   )r4   r5   s   "€r6   r7   r  Æ  s4   ø€ ÷ Zñ ZÙ™#•Y Õ%ðZá	‰m™SÐ Õ	!ñZr9   c                ó~   € V P                   '       g   \        R4      h\        V P                   V P                  V4      # )a÷  
Returns a :obj:`dict` that maps :class:`telegram.MessageEntity` to :obj:`str`.
It contains entities from this polls description filtered by their ``type`` attribute as
the key, and the text that each entity belongs to as the value of the :obj:`dict`.

.. versionadded:: 22.8

Note:
    This method should always be used instead of the :attr:`description_entities`
    attribute, since it calculates the correct substring from the message text based on
    UTF-16 codepoints. See :attr:`parse_description_entity` for more info.

Args:
    types (list[:obj:`str`], optional): List of ``MessageEntity`` types as strings. If the
            ``type`` attribute of an entity is contained in this list, it will be returned.
            Defaults to :attr:`telegram.MessageEntity.ALL_TYPES`.
Returns:
    dict[:class:`telegram.MessageEntity`, :obj:`str`]: A dictionary of entities
    mapped to the text that belongs to them, calculated based on UTF-16 codepoints.
Raises:
    RuntimeError: If the poll has no description.
r'  )rþ   r  r   rÿ   r–   s   &&r6   Úparse_description_entitiesÚPoll.parse_description_entitiesÆ  s8   € ð2 ××ÐÜÐ@ÓAÐAä% d×&6Ñ&6¸×8QÑ8QÐSXÓYÐYr9   c                ó.   <€ V ^8„  d   QhRS[ R,          /# r
  )ry   )r4   r5   s   "€r6   r7   r  å  s   ø€ ÷ Oñ O¡3¨¥:ñ Or9   c                ó~   € \        \        RR4      ^R7       V P                  '       d   V P                  ^ ,          # R# )zùA zero based identifier of the correct answer
option. Available only for closed polls in the quiz mode, which were sent
(not forwarded), by the bot or to a private chat with the bot.

.. deprecated:: 22.8
    Use :attr:`correct_option_ids` instead.
rm   zRThe attribute `correct_option_id` is deprecated. Use `correct_option_ids` instead.rn   N)r!   r"   rý   r  s   &r6   rõ   ÚPoll.correct_option_idä  sD   € ô 	Ü!Øð4óð
 õ	
ð .2×-D×-DÐ-Dˆt×&Ñ& qÕ)ÐNÈ$ÐNr9   c                ó¢  <€ V ^8„  d   Qh/ S[ S[,          ;R&   S[ S[,          ;R&   S[ S[,          ;R&   S[ S[,          ;R&   S[ S[,          ;R&   S[ S[,          ;R&   S[ S[,          ;R&   S[ S[,          ;R&   S[ S[,          ;R	&   S[ S[,          ;R
&   S[ S[,          ;R&   S[ S[,          ;R&   S[ S[,          ;R&   S[ S[,          ;R&   # )r*   ÚREGULARÚQUIZÚMAX_EXPLANATION_LENGTHÚMAX_EXPLANATION_LINE_FEEDSÚMIN_OPEN_PERIODÚMAX_OPEN_PERIODÚMIN_QUESTION_LENGTHÚMAX_QUESTION_LENGTHr�   rž   ÚMIN_OPTION_NUMBERÚMAX_OPTION_NUMBERÚMAX_DESCRIPTION_CHARACTERSÚMIN_MEMBERSHIP_HOURS)r   rg   ry   )r4   r5   s   "€r6   r7   r    s  ø‡ ‚ ñJ ‘3�ZÑ4ñK ñN ‘�*Ñ.ñO ñR "¡#�JÑSñS ñ\ !&¡c¥
Ñ[ñ] ñf ™3•ZÑEñg ñp ™3•ZÑEñq ñz ™s�ÑMñ{ ñD ™s�ÑMñE ñN ™S•zÑIñO ñX ™S•zÑIñY ñb ™S•zÑIñc ñl ™S•zÑIñm ñv !&¡c¥
Ñ[ñw ñ@  ¡�*ÑOòA r9   )r?   r  rô   rû   rù   rý   r   rþ   rÿ   rö   r÷   r  rí   rò   rñ   rf   rü   rï   rî   rú   rð   ró   )r  rô   rû   rù   rý   r   rþ   rÿ   rö   r÷   r  rí   rò   rñ   rf   rü   rï   rî   rú   rð   ró   )NNNNNNNNNNNNNNrS   )'rU   rV   rW   rX   rY   rZ   r>   Úpropertyrø   r[   rO   r  r  r  r#  r(  r,  rõ   r   r  r2  r3  rœ   r4  r5  r6  r7  r8  r9  r�   rž   r:  r;  r<  r=  rŸ   r\   r]   r^   r_   s   @@r6   rë   rë     s  ù‡ € ñiðV€Iñ0Rð> '+÷?Rö Rðh ÷Oó ðOð ÷3ô 3ó ð3÷.>ð >÷2Zò Z÷>;ð ;÷(Tò T÷2>ð >÷6Zò Zð< ÷Oó ðOð$ $×,Ñ,×4Ñ4€GØ6Ø ×)Ñ)×.Ñ.€DØ3Ø)2×)<Ñ)<×)SÑ)SÐðð .7×-@Ñ-@×-[Ñ-[Ððð #,×"5Ñ"5×"EÑ"E€Oðð #,×"5Ñ"5×"EÑ"E€Oðð '0×&9Ñ&9×&MÑ&MÐðð '0×&9Ñ&9×&MÑ&MÐðð %.×$7Ñ$7×$IÑ$IÐðð %.×$7Ñ$7×$IÑ$IÐðð %.×$7Ñ$7×$IÑ$IÐðð %.×$7Ñ$7×$IÑ$IÐðð .7×-@Ñ-@×-[Ñ-[Ððð (1×':Ñ':×'OÑ'OÐð÷C … r9   rë   )FrY   r{   rz   Úcollections.abcr   Útypingr   r   Útelegramr   Útelegram._chatr   Útelegram._files.animationr   Útelegram._files.audior   Útelegram._files.documentr	   Útelegram._files.livephotor
   Útelegram._files.locationr   Útelegram._files.photosizer   Útelegram._files.stickerr   Útelegram._files.venuer   Útelegram._files.videor   Útelegram._messageentityr   Útelegram._telegramobjectr   Útelegram._userr   Útelegram._utilsr   Útelegram._utils.argumentparsingr   r   r   r   Útelegram._utils.datetimer   r   r   Útelegram._utils.defaultvaluer   Útelegram._utils.entitiesr   r   Útelegram._utils.typesr   r   r    Útelegram._utils.warningsr!   Útelegram.warningsr"   r#   r$   r%   r'   ra   rr   r¡   r¯   rÜ   rë   © r9   r6   Ú<module>rX     sÞ   ðñ& Fã Ý $ß 'å Ý Ý /Ý 'Ý -Ý /Ý -Ý /Ý +Ý 'Ý 'Ý 1Ý 3Ý Ý  ÷ó ÷ñ õ
 6ß Qß @Ñ @Ý )Ý 3çßLÑLôp3�ô p3ôfS3�nô S3ôl{�ô {ô|e3�ô e3ôPpZ�nô pZôfpZ˜ô pZôfdˆ>ö dr9   