+
    ÁFñjµÛ  ã                   ód  a € R6 tE0 t R t^ RIt^ RIHt ^ RIHt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!H"t" ^ RI#H$t$ ^ RI%H&t& ^ RI'H(t( ^ RI)H*t*H+t+H,t, ^ RI-H.t. ^ RI/H0t0 ^ RI1H2t2 ]'       d   ^ RI)H3t3  ! R R]4      t4 ! R R]44      t5 ! R R]4      t6 ! R R]64      t7 ! R  R!]64      t8 ! R" R#]64      t9 ! R$ R%]54      t: ! R& R']54      t; ! R( R)]54      t< ! R* R+]44      t= ! R, R-]44      t> ! R. R/]44      t? ! R0 R1]54      t@ ! R2 R3]54      tA ! R4 R5]54      tB]:]@,          ]A,          ]B,          ]=,          ];,          ]>,          ]<,          tC] ^ k  ]:]B,          ]=,          ];,          ]?,          ]>,          ]<,          tD] ^k R# )7zfBase classes for Telegram InputMedia, InputPaidMedia, InputPollMedia
and InputPollOptionMedia Objects.N)ÚSequence)ÚTYPE_CHECKINGÚFinalÚ	TypeAlias)Ú	constants)Ú	Animation)ÚAudio)ÚDocument)Ú	InputFile)Ú	PhotoSize)ÚSticker)ÚVideo)ÚMessageEntity)ÚTelegramObject)Úenum)Úparse_sequence_argÚto_timedelta)Úget_timedelta_value)ÚDEFAULT_NONE©Úparse_file_input)ÚJSONDictÚODVInputÚ
TimePeriod)Úwarn)ÚBaseInputMediaType)ÚPTBDeprecationWarning)Ú	FileInputc                   óN   a a€ ] tR t^2t oRtRtRR/V3R lV 3R llltRtVtV ;t	# )Ú_BaseInputMediazä
Base class for objects representing the various input media types.

Args:
    media_type (:obj:`str`): Type of media that the instance represents.

Attributes:
    type (:obj:`str`): Type of media that the instance represents.
Ú
api_kwargsNc                ó4   <€ V ^8„  d   QhRS[ RS[R,          /# )é   Ú
media_typer    N©Ústrr   )ÚformatÚ__classdict__s   "€ÚP/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/_files/inputmedia.pyÚ__annotate__Ú_BaseInputMedia.__annotate__?   s'   ø€ ÷ _ñ _áð_ñ ˜t•Oñ	_ó    c               ó|   <€ \         SV `  VR 7       \        P                  ! \        P
                  W4      V n        R# ©©r    N)ÚsuperÚ__init__r   Ú
get_memberr   r   Útype)Úselfr#   r    Ú	__class__s   &&$€r(   r0   Ú_BaseInputMedia.__init__?   s-   ø€ ô 	‰Ñ JÐÔ/ÜŸš¬×)EÑ)EÀzÓ^ˆŽ	r+   )r2   ©
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r0   Ú__static_attributes__Ú__classdictcell__Ú__classcell__©r4   r'   s   @@r(   r   r   2   s.   ù‡ € ñð €Ið_ð '+÷	_÷ _õ _r+   r   c                   ót   a a€ ] tR t^It oRtRtRR]3RR/V3R lV 3R llllt]V3R lR l4       t	Rt
VtV ;t# )	Ú
InputMediaa—  
This object represents the content of a media message to be sent. It should be one of:

* :class:`telegram.InputMediaAnimation`
* :class:`telegram.InputMediaAudio`
* :class:`telegram.InputMediaDocument`
* :class:`telegram.InputMediaLivePhoto`
* :class:`telegram.InputMediaPhoto`
* :class:`telegram.InputMediaVideo`

.. versionchanged:: 20.0
    Added arguments and attributes :attr:`type`, :attr:`media`, :attr:`caption`,
        :attr:`caption_entities`, :paramref:`parse_mode`.

.. seealso:: :wiki:`Working with Files and Media <Working-with-Files-and-Media>`

Args:
    media_type (:obj:`str`): Type of media that the instance represents.
    media (:obj:`str` | :class:`~telegram.InputFile`): File to send.
        |fileinputnopath|
    caption (:obj:`str`, optional): Caption of the media to be sent,
        0-:tg-const:`telegram.constants.MessageLimit.CAPTION_LENGTH` characters after entities
        parsing.
    caption_entities (Sequence[:class:`telegram.MessageEntity`], optional): |caption_entities|

        .. versionchanged:: 20.0
            |sequenceclassargs|

    parse_mode (:obj:`str`, optional): |parse_mode|

Attributes:
    type (:obj:`str`): Type of the input media.
    media (:obj:`str` | :class:`telegram.InputFile`): Media to send.
    caption (:obj:`str`): Optional. Caption of the media to be sent,
        0-:tg-const:`telegram.constants.MessageLimit.CAPTION_LENGTH` characters after entities
        parsing.
    parse_mode (:obj:`str`): Optional. |parse_mode|
    caption_entities (tuple[:class:`telegram.MessageEntity`]): Optional. |captionentitiesattr|

        .. versionchanged:: 20.0

            * |tupleclassattrs|
            * |alwaystuple|

Nr    c                ó˜   <€ V ^8„  d   QhRS[ RS[ S[,          RS[ R,          RS[S[,          R,          RS[S[ ,          RS[R,          /# )r"   r#   ÚmediaÚcaptionNÚcaption_entitiesÚ
parse_moder    )r%   r
   r   r   r   r   )r&   r'   s   "€r(   r)   ÚInputMedia.__annotate__z   sa   ø€ ÷ 8ñ 8áð8ñ ‘Y�ð8ñ �t•ð	8ñ
 #¡=Õ1°DÕ8ð8ñ ™S•Mð8ñ ˜t•Oñ8r+   c               óÖ   <€ \         SV `  WR 7       V P                  4       ;_uu_ 4        W n        W0n        \        V4      V n        WPn        RRR4       R#   + '       g   i     R# ; i©©r#   r    N)r/   r0   Ú	_unfrozenrD   rE   r   rF   rG   )r3   r#   rD   rE   rF   rG   r    r4   s   &&&&&&$€r(   r0   ÚInputMedia.__init__z   sN   ø€ ô 	‰Ñ JÐÔFØ�^‰^×ÕØ*/ŒJØ'.ŒLÜ?QÐRbÓ?cˆDÔ!Ø-7ŒO÷	 ××Òús   ª#AÁA(	c                óB   <€ V ^8„  d   QhRRRS[ S[,          R,          /# )r"   Ú	thumbnailúFileInput | NoneÚreturnN)r%   r
   )r&   r'   s   "€r(   r)   rH   Œ   s&   ø€ ÷ 
ñ 
Ð*<ð 
ÁÁyÅÐSWÕAWñ 
r+   c                ó*   € V e   \        V RRR7      # T # )NT©ÚattachÚ
local_moder   )rO   s   &r(   Ú_parse_thumbnail_inputÚ!InputMedia._parse_thumbnail_input‹   s'   € ð Ò$ô ˜Y¨tÀÔEð	
ð ð	
r+   )rE   rF   rD   rG   )r7   r8   r9   r:   r;   r<   r   r0   ÚstaticmethodrV   r=   r>   r?   r@   s   @@r(   rB   rB   I   sK   ù‡ € ñ,ð\ G€Ið #Ø;?Ø$0ñ8ð '+÷8ö 8ð" ÷
ó ÷
ð 
r+   rB   c                   óä   a a€ ] tR t^–t oRt]P                  P                  t ]P                  P                  t ]P                  P                  t	 Rt
RR/V3R lV 3R llltV3R ltRtVtV ;t# )ÚInputPaidMediaa`  
Base class for Telegram InputPaidMedia Objects. Currently, it can be one of:

* :class:`telegram.InputPaidMediaPhoto`
* :class:`telegram.InputPaidMediaVideo`
* :class:`telegram.InputPaidMediaLivePhoto`

.. seealso:: :wiki:`Working with Files and Media <Working-with-Files-and-Media>`

.. versionadded:: 21.4

Args:
    type (:obj:`str`): Type of media that the instance represents.
    media (:obj:`str` | :class:`~telegram.InputFile`): File
        to send. |fileinputnopath|

Attributes:
    type (:obj:`str`): Type of the input media.
    media (:obj:`str` | :class:`telegram.InputFile`): Media to send.
r    Nc                óJ   <€ V ^8„  d   QhRS[ RS[ S[,          RS[R,          /# )r"   r2   rD   r    N)r%   r
   r   )r&   r'   s   "€r(   r)   ÚInputPaidMedia.__annotate__¸   s1   ø€ ÷ ñ áðñ ‘Y�ðñ
 ˜t•Oñr+   c               ó¨   <€ \         SV `  VR 7       \        P                  ! \        P
                  W4      V n        W n        V P                  4        R# r-   )	r/   r0   r   r1   r   ÚInputPaidMediaTyper2   rD   Ú_freeze)r3   r2   rD   r    r4   s   &&&$€r(   r0   ÚInputPaidMedia.__init__¸   s;   ø€ ô 	‰Ñ JÐÔ/ÜŸš¬×)EÑ)EÀtÓRˆŒ	Ø&+Œ
à�‰Žr+   c                ón   <€ V ^8„  d   Qh/ S[ S[,          ;R&   S[ S[,          ;R&   S[ S[,          ;R&   # )r"   ÚPHOTOÚVIDEOÚ
LIVE_PHOTO)r   r%   )r&   r'   s   "€r(   r)   r\   –   s8   ø‡ ‚ ñ, ‘�:Ñ:ñ- ñ0 ‘�:Ñ:ñ1 ñ4 ‘c•
ÑDò5 r+   )rD   r2   )r7   r8   r9   r:   r;   r   r^   rb   rc   rd   r<   r0   Ú__annotate_func__r=   r>   r?   r@   s   @@r(   rZ   rZ   –   sm   ù‡ € ñð* "×4Ñ4×:Ñ:€EØ>Ø!×4Ñ4×:Ñ:€EØ>Ø&×9Ñ9×DÑD€Jðð
 "€Iðð
 '+÷õ ÷E … r+   rZ   c                   óN   a a€ ] tR t^Æt oRtRtRR/V3R lV 3R llltRtVtV ;t	# )ÚInputPaidMediaPhotoaj  The paid media to send is a photo.

.. seealso:: :wiki:`Working with Files and Media <Working-with-Files-and-Media>`

.. versionadded:: 21.4

Args:
    media (:obj:`str` | :term:`file object` | :class:`~telegram.InputFile` | :obj:`bytes` |             :class:`pathlib.Path` | :class:`telegram.PhotoSize`): File to send. |fileinputnopath|
        Lastly you can pass an existing :class:`telegram.PhotoSize` object to send.

Attributes:
    type (:obj:`str`): Type of the media, always
        :tg-const:`telegram.constants.InputPaidMediaType.PHOTO`.
    media (:obj:`str` | :class:`telegram.InputFile`): Photo to send.
r    Nc                ó2   <€ V ^8„  d   QhRRRS[ R,          /# )r"   rD   úFileInput | PhotoSizer    N©r   )r&   r'   s   "€r(   r)   Ú InputPaidMediaPhoto.__annotate__Ú   s#   ø€ ÷ ñ à&ðñ ˜t•Oñ	r+   c               óŒ   <€ \        V\        R R R7      p\        SV `  \        P
                  WR7       V P                  4        R# )TrS   ©r2   rD   r    N)r   r   r/   r0   rZ   rb   r_   )r3   rD   r    r4   s   &&$€r(   r0   ÚInputPaidMediaPhoto.__init__Ú   s6   ø€ ô ! ¬	¸$È4ÔPˆÜ‰Ñœn×2Ñ2¸%ÐÔWØ�‰Žr+   © r6   r@   s   @@r(   rg   rg   Æ   s*   ù‡ € ñð" €Iðð '+÷	÷ õ r+   rg   c                   ón   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]V3R lR l4       tRt	Vt
V ;t# )
ÚInputPaidMediaVideoa+
  
The paid media to send is a video.

.. seealso:: :wiki:`Working with Files and Media <Working-with-Files-and-Media>`

.. versionadded:: 21.4

Note:
    *  When using a :class:`telegram.Video` for the :attr:`media` attribute, it will take the
       width, height and duration from that video, unless otherwise specified with the optional
       arguments.
    *  :paramref:`thumbnail` will be ignored for small video files, for which Telegram can
       easily generate thumbnails. However, this behaviour is undocumented and might be
       changed by Telegram.

Args:
    media (:obj:`str` | :term:`file object` | :class:`~telegram.InputFile` | :obj:`bytes` |             :class:`pathlib.Path` | :class:`telegram.Video`): File to send. |fileinputnopath|
        Lastly you can pass an existing :class:`telegram.Video` object to send.
    thumbnail (:term:`file object` | :obj:`bytes` | :class:`pathlib.Path` | :obj:`str`,                 optional): |thumbdocstringnopath|
    cover (:term:`file object` | :obj:`bytes` | :class:`pathlib.Path` | :obj:`str`,                 optional): Cover for the video in the message. |fileinputnopath|

        .. versionchanged:: 21.11
    start_timestamp (:obj:`int`, optional): Start timestamp for the video in the message

        .. versionchanged:: 21.11
    width (:obj:`int`, optional): Video width.
    height (:obj:`int`, optional): Video height.
    duration (:obj:`int` | :class:`datetime.timedelta`, optional): Video duration in seconds.

        .. versionchanged:: v22.2
            |time-period-input|
    supports_streaming (:obj:`bool`, optional): Pass :obj:`True`, if the uploaded video is
        suitable for streaming.

Attributes:
    type (:obj:`str`): Type of the media, always
        :tg-const:`telegram.constants.InputPaidMediaType.VIDEO`.
    media (:obj:`str` | :class:`telegram.InputFile`): Video to send.
    thumbnail (:class:`telegram.InputFile`): Optional. |thumbdocstringbase|
    cover (:class:`telegram.InputFile`): Optional. Cover for the video in the message.
        |fileinputnopath|

        .. versionchanged:: 21.11
    start_timestamp (:obj:`int`): Optional. Start timestamp for the video in the message

        .. versionchanged:: 21.11
    width (:obj:`int`): Optional. Video width.
    height (:obj:`int`): Optional. Video height.
    duration (:obj:`int` | :class:`datetime.timedelta`): Optional. Video duration in seconds.

        .. deprecated:: v22.2
            |time-period-int-deprecated|
    supports_streaming (:obj:`bool`): Optional. :obj:`True`, if the uploaded video is
        suitable for streaming.
Nr    c                óž   <€ V ^8„  d   QhRRRRRS[ R,          RS[ R,          RS[R,          R	S[R,          R
RRS[ R,          RS[R,          /	# )r"   rD   úFileInput | VideorO   rP   ÚwidthNÚheightÚdurationÚsupports_streamingÚcoverÚstart_timestampr    )Úintr   Úboolr   )r&   r'   s   "€r(   r)   Ú InputPaidMediaVideo.__annotate__+  s~   ø€ ÷ !?ñ !?à"ð!?ð &ð!?ñ �T�zð	!?ñ
 �d•
ð!?ñ ˜tÕ#ð!?ñ ! 4�Kð!?ð "ð!?ñ ˜t�ð!?ñ ˜t•Oñ!?r+   c	               ó<  <€ \        V\        4      '       dD   Ve   TMVP                  pVe   TMVP                  pVe   TMVP                  pVP
                  pM\        VRRR7      p\        S
V `!  \        P                  WR7       V P                  4       ;_uu_ 4        \        P                  V4      V n        W0n        W@n        \        V4      V n        W`n        V'       d   \        VRRR7      MR V n        W€n        R R R 4       R #   + '       g   i     R # ; i)NTrS   rm   )Ú
isinstancer   rt   ru   Ú	_durationÚfile_idr   r/   r0   rZ   rc   rL   rB   rV   rO   r   rw   rx   ry   )r3   rD   rO   rt   ru   rv   rw   rx   ry   r    r4   s   &&&&&&&&&$€r(   r0   ÚInputPaidMediaVideo.__init__+  sß   ø€ ô �eœU×#Ò#Ø"Ò.‘E°E·K±KˆEØ%Ò1‘V°u·|±|ˆFØ#+Ò#7‘x¸U¿_¹_ˆHØ—M‘M‰Eô % U°4ÀDÔIˆEä‰Ñœn×2Ñ2¸%ÐÔWØ�^‰^×ÕÜ5?×5VÑ5VÐW`Ó5aˆDŒNØ%*ŒJØ&,ŒKÜ3?ÀÓ3IˆDŒNØ3EÔ#çINÔ  ¨tÀÕEÐTXð ŒJð 0?Ô ÷ ××Òús   Â A D
Ä
D	c                óR   <€ V ^8„  d   QhRS[ S[P                  ,          R,          /# ©r"   rQ   N©rz   ÚdtmÚ	timedelta)r&   r'   s   "€r(   r)   r|   O  ó%   ø€ ÷ Iñ I™#¡§¡Õ-°Õ4ñ Ir+   c                ó0   € \        V P                  R R7      # ©rv   )Ú	attribute©r   r   ©r3   s   &r(   rv   ÚInputPaidMediaVideo.durationN  ó   € ä" 4§>¡>¸ZÔHÐHr+   )r   rx   ru   ry   rw   rO   rt   )NNNNNNN)r7   r8   r9   r:   r;   r<   r0   Úpropertyrv   r=   r>   r?   r@   s   @@r(   rq   rq   å   sC   ù‡ € ñ9ðv€Iñ!?ð '+÷!?ö !?ðF ÷Ió ÷Ið Ir+   rq   c                   óN   a a€ ] tR tRt oRtRtRR/V3R lV 3R llltRtVtV ;t	# )ÚInputPaidMediaLivePhotoiS  a}  
The paid media to send is a live photo.

.. seealso:: :wiki:`Working with Files and Media <Working-with-Files-and-Media>`

.. versionadded:: 22.8

Args:
    media (:obj:`str` | :term:`file object` | :class:`~telegram.InputFile` | :obj:`bytes`             | :class:`pathlib.Path` | :class:`~telegram.Video`): Video of the live photo to send.
       Pass a ``file_id`` to send a file that exists on the Telegram servers (recommended).
       |uploadinputnopath| Sending live photos by a URL is currently unsupported. Lastly you
       can pass an existing :class:`telegram.Video` object to send.
    photo (:obj:`str` | :term:`file object` | :class:`~telegram.InputFile` | :obj:`bytes` |             :class:`pathlib.Path` | :class:`~telegram.PhotoSize`): Photo of the live photo to send.
        Pass a ``file_id`` to send a file that exists on the Telegram servers (recommended).
        |uploadinputnopath| Sending live photos by a URL is currently unsupported.
        Lastly you can pass an existing :class:`telegram.PhotoSize` object to send.

Attributes:
    type (:obj:`str`): Type of the media, always
        :tg-const:`telegram.constants.InputPaidMediaType.LIVE_PHOTO`.
    media (:obj:`str` | :class:`telegram.InputFile`): Video of the live photo to send.
        |fileinputnopath|
    photo (:obj:`str` | :class:`telegram.InputFile`): Photo of the live photo to send.
        |fileinputnopath|
r    Nc                ó6   <€ V ^8„  d   QhRRRRRS[ R,          /# )r"   rD   rs   Úphotori   r    Nrj   )r&   r'   s   "€r(   r)   Ú$InputPaidMediaLivePhoto.__annotate__r  s-   ø€ ÷ 0ñ 0à"ð0ð 'ð0ñ
 ˜t•Oñ0r+   c               ó  <€ \        V\        R R R7      p\        V\        R R R7      p\        SV `  \
        P                  WR7       V P                  4       ;_uu_ 4        W n        RRR4       R#   + '       g   i     R# ; i)T©Útg_typerT   rU   rm   N)	r   r   r   r/   r0   rZ   rd   rL   r“   )r3   rD   r“   r    r4   s   &&&$€r(   r0   Ú InputPaidMediaLivePhoto.__init__r  s_   ø€ ô ! ´¸dÈtÔTˆÜ  ´	À$ÐSWÔXˆÜ‰Ñœn×7Ñ7¸uÐÔ\Ø�^‰^×ÕØ*/ŒJ÷ ××Òús   ÁA0Á0B	)r“   r6   r@   s   @@r(   r‘   r‘   S  s*   ù‡ € ñð8 €Ið0ð
 '+÷0÷ 0õ 0r+   r‘   c            
       ó†   a a€ ] tR tRt oRtR
tR]RRRRRRRR3
RRRR/V3R lV 3R llllt]V3R lR	 l4       t	R
t
VtV ;t# )ÚInputMediaAnimationi€  aÝ  Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent.

Note:
    When using a :class:`telegram.Animation` for the :attr:`media` attribute, it will take the
    width, height and duration from that animation, unless otherwise specified with the
    optional arguments.

.. seealso:: :wiki:`Working with Files and Media <Working-with-Files-and-Media>`

.. versionchanged:: 20.5
  |removed_thumb_note|

Args:
    media (:obj:`str` | :term:`file object` | :class:`~telegram.InputFile` | :obj:`bytes` |             :class:`pathlib.Path` | :class:`telegram.Animation`): File to send. |fileinputnopath|
        Lastly you can pass an existing :class:`telegram.Animation` object to send.

        .. versionchanged:: 13.2
           Accept :obj:`bytes` as input.
    filename_depr (:obj:`str`, optional): Positional placeholder for keyword only parameter
        :paramref:`filename`. For backward compatibility.

        .. versionadded:: 22.8
        .. deprecated:: 22.8
            This parameter is deprecated, use :paramref:`filename` instead.
    caption (:obj:`str`, optional): Caption of the animation to be sent,
        0-:tg-const:`telegram.constants.MessageLimit.CAPTION_LENGTH` characters
        after entities parsing.
    parse_mode (:obj:`str`, optional): |parse_mode|
    caption_entities (Sequence[:class:`telegram.MessageEntity`], optional): |caption_entities|

        .. versionchanged:: 20.0
            |sequenceclassargs|

    width (:obj:`int`, optional): Animation width.
    height (:obj:`int`, optional): Animation height.
    duration (:obj:`int` | :class:`datetime.timedelta`, optional): Animation duration
        in seconds.

        .. versionchanged:: v22.2
            |time-period-input|
    has_spoiler (:obj:`bool`, optional): Pass :obj:`True`, if the animation needs to be covered
        with a spoiler animation.

        .. versionadded:: 20.0
    thumbnail (:term:`file object` | :obj:`bytes` | :class:`pathlib.Path` | :obj:`str`,                 optional): |thumbdocstringnopath|

        .. versionadded:: 20.2
    show_caption_above_media (:obj:`bool`, optional): Pass |show_cap_above_med|

        .. versionadded:: 21.3

Keyword Args:
    filename (:obj:`str`, optional): Custom file name for the animation, when uploading a
        new file. Convenience parameter, useful e.g. when sending files generated by the
        :obj:`tempfile` module.

        .. versionadded:: 13.1
        .. versionchanged:: 22.8
           This parameter is now keyword-only.

Attributes:
    type (:obj:`str`): :tg-const:`telegram.constants.BaseInputMediaType.ANIMATION`.
    media (:obj:`str` | :class:`telegram.InputFile`): Animation to send.
    caption (:obj:`str`): Optional. Caption of the animation to be sent,
        0-:tg-const:`telegram.constants.MessageLimit.CAPTION_LENGTH` characters
        after entities parsing.
    parse_mode (:obj:`str`): Optional. The parse mode to use for text formatting.
    caption_entities (tuple[:class:`telegram.MessageEntity`]): Optional. |captionentitiesattr|

        .. versionchanged:: 20.0

            * |tupleclassattrs|
            * |alwaystuple|
    width (:obj:`int`): Optional. Animation width.
    height (:obj:`int`): Optional. Animation height.
    duration (:obj:`int` | :class:`datetime.timedelta`): Optional. Animation duration
        in seconds.

        .. deprecated:: v22.2
            |time-period-int-deprecated|
    has_spoiler (:obj:`bool`): Optional. :obj:`True`, if the animation is covered with a
        spoiler animation.

        .. versionadded:: 20.0
    thumbnail (:class:`telegram.InputFile`): Optional. |thumbdocstringbase|

        .. versionadded:: 20.2
    show_caption_above_media (:obj:`bool`): Optional. |show_cap_above_med|

        .. versionadded:: 21.3
NÚfilenamer    c                ó  <€ V ^8„  d   QhRRRS[ R,          RS[S[ ,          RS[R,          RS[R,          RS[R,          R	S[S[,          R,          R
S[ R,          RS[R,          RRRS[R,          RS[ R,          RS[R,          /# )r"   rD   zFileInput | AnimationrE   NrG   rt   ru   rv   rF   Úfilename_deprÚhas_spoilerrO   rP   Úshow_caption_above_mediar›   r    )r%   r   rz   r   r   r   r{   r   )r&   r'   s   "€r(   r)   Ú InputMediaAnimation.__annotate__è  sÏ   ø€ ÷ :Rñ :Rà&ð:Rñ �t•ð:Rñ ™S•Mð	:Rñ
 �T�zð:Rñ �d•
ð:Rñ ˜tÕ#ð:Rñ #¡=Õ1°DÕ8ð:Rñ ˜T•zð:Rñ ˜D•[ð:Rð &ð:Rñ #'¨¥+ð:Rñ  ˜•*ð!:Rñ" ˜t•Oñ#:Rr+   c          	     óv  <€ Ve   Ve   \        R4      hVe   \        \        RR4      ^R7       \        V\        4      '       dD   Vf   VP
                  MTpVf   VP                  MTpVe   TMVP                  pVP                  pMT;'       g    Tp\        WRRR7      p\        SV `-  \        P                  VVVVVR7       V P                  4       ;_uu_ 4        V P                  V
4      V n        W@n        WPn        \#        V4      V n        W�n        W°n        R R R 4       R #   + '       g   i     R # ; i©Nú6`filename_depr` and `filename` are mutually exclusive.ú22.8úƒPositional passing of `filename` or keyword usage of `filename_depr` is deprecated. `filename` will become a keyword-only argument.©Ú
stacklevelT©r›   rT   rU   r.   )Ú
ValueErrorr   r   r~   r   rt   ru   r   r€   r   r/   r0   r   Ú	ANIMATIONrL   rV   rO   r   rž   rŸ   )r3   rD   rE   rG   rt   ru   rv   rF   r�   rž   rO   rŸ   r›   r    Úeffective_filenamer4   s   &&&&&&&&&&&&$$ €r(   r0   ÚInputMediaAnimation.__init__è  s&  ø€ ð& Ò$¨Ò)=ÜÐUÓVÐVØÒ$ÜÜ%ØðVóð
 õô �eœY×'Ò'Ø#(¢=�E—K’K°eˆEØ%+¢^�U—\’\¸ˆFØ#+Ò#7‘x¸U¿_¹_ˆHØ—M‘M‰Eð "/×!:Ð!:°(ÐÜ$Ø¸4ÈDôˆEô 	‰ÑÜ×(Ñ(ØØØØØ!ð 	ô 	
ð �^‰^×ÕØ59×5PÑ5PÐQZÓ5[ˆDŒNØ%*ŒJØ&,ŒKÜ3?ÀÓ3IˆDŒNØ,7ÔØ9QÔ)÷ ××Òús   Ã?D'Ä'D8	c                óR   <€ V ^8„  d   QhRS[ S[P                  ,          R,          /# rƒ   r„   )r&   r'   s   "€r(   r)   r    %  r‡   r+   c                ó0   € \        V P                  R R7      # r‰   r‹   rŒ   s   &r(   rv   ÚInputMediaAnimation.duration$  rŽ   r+   )r   rž   ru   rŸ   rO   rt   ©r7   r8   r9   r:   r;   r<   r   r0   r�   rv   r=   r>   r?   r@   s   @@r(   rš   rš   €  sr   ù‡ € ñ\ð|€Ið #Ø$0Ø Ø!Ø&*Ø;?à$(à#'Ø(,Ø04ñ:Rð   $ð!:Rð" '+÷#:Rö :Rðx ÷Ió ÷Ið Ir+   rš   c                   ób   a a€ ] tR tRt oRtRtR]RRRR3RRRR/V3R lV 3R lllltRtVt	V ;t
# )	ÚInputMediaPhotoi)  a
  Represents a photo to be sent.

.. seealso:: :wiki:`Working with Files and Media <Working-with-Files-and-Media>`

Args:
    media (:obj:`str` | :term:`file object` | :class:`~telegram.InputFile` | :obj:`bytes` |             :class:`pathlib.Path` | :class:`telegram.PhotoSize`): File to send. |fileinputnopath|
        Lastly you can pass an existing :class:`telegram.PhotoSize` object to send.

        .. versionchanged:: 13.2
           Accept :obj:`bytes` as input.
    filename_depr (:obj:`str`, optional): Positional placeholder for keyword only parameter
        :paramref:`filename`. For backward compatibility.

        .. versionadded:: 22.8
        .. deprecated:: 22.8
            This parameter is deprecated, use :paramref:`filename` instead.
    caption (:obj:`str`, optional ): Caption of the photo to be sent,
        0-:tg-const:`telegram.constants.MessageLimit.CAPTION_LENGTH` characters after
        entities parsing.
    parse_mode (:obj:`str`, optional): |parse_mode|
    caption_entities (Sequence[:class:`telegram.MessageEntity`], optional): |caption_entities|

        .. versionchanged:: 20.0
            |sequenceclassargs|
    has_spoiler (:obj:`bool`, optional): Pass :obj:`True`, if the photo needs to be covered
        with a spoiler animation.

        .. versionadded:: 20.0
    show_caption_above_media (:obj:`bool`, optional): Pass |show_cap_above_med|

        .. versionadded:: 21.3

Keyword Args:
    filename (:obj:`str`, optional): Custom file name for the photo, when uploading a
        new file. Convenience parameter, useful e.g. when sending files generated by the
        :obj:`tempfile` module.

        .. versionadded:: 13.1
        .. versionchanged:: 22.8
           This parameter is now keyword-only.

Attributes:
    type (:obj:`str`): :tg-const:`telegram.constants.BaseInputMediaType.PHOTO`.
    media (:obj:`str` | :class:`telegram.InputFile`): Photo to send.
    caption (:obj:`str`): Optional. Caption of the photo to be sent,
        0-:tg-const:`telegram.constants.MessageLimit.CAPTION_LENGTH` characters
        after entities parsing.
    parse_mode (:obj:`str`): Optional. |parse_mode|
    caption_entities (tuple[:class:`telegram.MessageEntity`]): Optional. |captionentitiesattr|

        .. versionchanged:: 20.0

            * |tupleclassattrs|
            * |alwaystuple|
    has_spoiler (:obj:`bool`): Optional. :obj:`True`, if the photo is covered with a
        spoiler animation.

        .. versionadded:: 20.0
    show_caption_above_media (:obj:`bool`): Optional. |show_cap_above_med|

        .. versionadded:: 21.3
Nr›   r    c                óÐ   <€ V ^8„  d   QhRRRS[ R,          RS[S[ ,          RS[S[,          R,          RS[ R,          RS[R,          R	S[R,          R
S[ R,          RS[R,          /	# )r"   rD   ri   rE   NrG   rF   r�   rž   rŸ   r›   r    ©r%   r   r   r   r{   r   )r&   r'   s   "€r(   r)   ÚInputMediaPhoto.__annotate__o  s–   ø€ ÷ ,Rñ ,Rà&ð,Rñ �t•ð,Rñ ™S•Mð	,Rñ
 #¡=Õ1°DÕ8ð,Rñ ˜T•zð,Rñ ˜D•[ð,Rñ #'¨¥+ð,Rñ ˜•*ð,Rñ ˜t•Oñ,Rr+   c          	     ól  <€ Ve   Ve   \        R4      hVe   \        \        RR4      ^R7       T;'       g    Tp
\        V\        V
RRR7      p\
        SV `  \        P                  VVVVV	R7       V P                  4       ;_uu_ 4        W`n
        Wpn        R R R 4       R #   + '       g   i     R # ; ir¢   )r©   r   r   r   r   r/   r0   r   rb   rL   rž   rŸ   )r3   rD   rE   rG   rF   r�   rž   rŸ   r›   r    r«   r4   s   &&&&&&&&$$ €r(   r0   ÚInputMediaPhoto.__init__o  s½   ø€ ð Ò$¨Ò)=ÜÐUÓVÐVØÒ$ÜÜ%ØðVóð
 õð +×6Ð6¨hÐÜ Ø”9Ð'9À$ÐSWô
ˆô 	‰ÑÜ×$Ñ$ØØØØØ!ð 	ô 	
ð �^‰^×ÕØ,7ÔØ9QÔ)÷ ××Òús   ÂB"Â"B3	)rž   rŸ   ©r7   r8   r9   r:   r;   r<   r   r0   r=   r>   r?   r@   s   @@r(   r²   r²   )  sN   ù‡ € ñ>ð@€Ið #Ø$0Ø;?à$(à#'Ø04ñ,Rð  $ð,Rð '+÷,R÷ ,Rö ,Rr+   r²   c                   óŒ   a a€ ] tR tRt oRtR
tRRRRR]RRRRRRR3RRRR/V3R lV 3R llllt]V3R lR	 l4       t	R
t
VtV ;t# )ÚInputMediaVideoiž  aW  Represents a video to be sent.

.. seealso:: :wiki:`Working with Files and Media <Working-with-Files-and-Media>`

Note:
    *  When using a :class:`telegram.Video` for the :attr:`media` attribute, it will take the
       width, height and duration from that video, unless otherwise specified with the optional
       arguments.
    *  :paramref:`thumbnail` will be ignored for small video files, for which Telegram can
        easily generate thumbnails. However, this behaviour is undocumented and might be
        changed by Telegram.

.. versionchanged:: 20.5
  |removed_thumb_note|

Args:
    media (:obj:`str` | :term:`file object` | :class:`~telegram.InputFile` | :obj:`bytes` |             :class:`pathlib.Path` | :class:`telegram.Video`): File to send. |fileinputnopath|
        Lastly you can pass an existing :class:`telegram.Video` object to send.

        .. versionchanged:: 13.2
           Accept :obj:`bytes` as input.
    filename_depr (:obj:`str`, optional): Positional placeholder for keyword only parameter
        :paramref:`filename`. For backward compatibility.

        .. versionadded:: 22.8
        .. deprecated:: 22.8
            This parameter is deprecated, use :paramref:`filename` instead.
    caption (:obj:`str`, optional): Caption of the video to be sent,
        0-:tg-const:`telegram.constants.MessageLimit.CAPTION_LENGTH` characters after
        entities parsing.
    parse_mode (:obj:`str`, optional): |parse_mode|
    caption_entities (Sequence[:class:`telegram.MessageEntity`], optional): |caption_entities|

        .. versionchanged:: 20.0
            |sequenceclassargs|

    width (:obj:`int`, optional): Video width.
    height (:obj:`int`, optional): Video height.
    duration (:obj:`int` | :class:`datetime.timedelta`, optional): Video duration in seconds.

        .. versionchanged:: v22.2
            |time-period-input|
    supports_streaming (:obj:`bool`, optional): Pass :obj:`True`, if the uploaded video is
        suitable for streaming.
    has_spoiler (:obj:`bool`, optional): Pass :obj:`True`, if the video needs to be covered
        with a spoiler animation.

        .. versionadded:: 20.0
    thumbnail (:term:`file object` | :obj:`bytes` | :class:`pathlib.Path` | :obj:`str`,                 optional): |thumbdocstringnopath|

        .. versionadded:: 20.2
    cover (:term:`file object` | :obj:`bytes` | :class:`pathlib.Path` | :obj:`str`,                 optional): Cover for the video in the message. |fileinputnopath|

        .. versionchanged:: 21.11
    start_timestamp (:obj:`int`, optional): Start timestamp for the video in the message

        .. versionchanged:: 21.11
    show_caption_above_media (:obj:`bool`, optional): Pass |show_cap_above_med|

        .. versionadded:: 21.3

Keyword Args:
    filename (:obj:`str`, optional): Custom file name for the video, when uploading a
        new file. Convenience parameter, useful e.g. when sending files generated by the
        :obj:`tempfile` module.

        .. versionadded:: 13.1
        .. versionchanged:: 22.8
           This parameter is now keyword-only.

Attributes:
    type (:obj:`str`): :tg-const:`telegram.constants.BaseInputMediaType.VIDEO`.
    media (:obj:`str` | :class:`telegram.InputFile`): Video file to send.
    caption (:obj:`str`): Optional. Caption of the video to be sent,
        0-:tg-const:`telegram.constants.MessageLimit.CAPTION_LENGTH` characters
        after entities parsing.
    parse_mode (:obj:`str`): Optional. |parse_mode|
    caption_entities (tuple[:class:`telegram.MessageEntity`]): Optional. |captionentitiesattr|

        .. versionchanged:: 20.0

            * |tupleclassattrs|
            * |alwaystuple|
    width (:obj:`int`): Optional. Video width.
    height (:obj:`int`): Optional. Video height.
    duration (:obj:`int` | :class:`datetime.timedelta`): Optional. Video duration in seconds.

        .. deprecated:: v22.2
            |time-period-int-deprecated|
    supports_streaming (:obj:`bool`): Optional. :obj:`True`, if the uploaded video is
        suitable for streaming.
    has_spoiler (:obj:`bool`): Optional. :obj:`True`, if the video is covered with a
        spoiler animation.

        .. versionadded:: 20.0
    thumbnail (:class:`telegram.InputFile`): Optional. |thumbdocstringbase|

        .. versionadded:: 20.2
    show_caption_above_media (:obj:`bool`): Optional. |show_cap_above_med|

        .. versionadded:: 21.3
    cover (:class:`telegram.InputFile`): Optional. Cover for the video in the message.
        |fileinputnopath|

        .. versionchanged:: 21.11
    start_timestamp (:obj:`int`): Optional. Start timestamp for the video in the message

        .. versionchanged:: 21.11
Nr›   r    c          !      ó<  <€ V ^8„  d   QhRRRS[ R,          RS[R,          RS[R,          RS[R,          RS[R,          R	S[S[ ,          R
S[S[,          R,          RS[ R,          RS[R,          RRRS[R,          RRRS[R,          RS[ R,          RS[R,          /# )r"   rD   rs   rE   Nrt   ru   rv   rw   rG   rF   r�   rž   rO   rP   rŸ   rx   ry   r›   r    )r%   rz   r   r{   r   r   r   r   )r&   r'   s   "€r(   r)   ÚInputMediaVideo.__annotate__  sø   ø€ ÷ B?ñ B?à"ðB?ñ �t•ðB?ñ �T�zð	B?ñ
 �d•
ðB?ñ ˜tÕ#ðB?ñ ! 4�KðB?ñ ™S•MðB?ñ #¡=Õ1°DÕ8ðB?ñ ˜T•zðB?ñ ˜D•[ðB?ð &ðB?ñ #'¨¥+ðB?ð  "ð!B?ñ" ˜t�ð#B?ñ& ˜•*ð'B?ñ( ˜t•Oñ)B?r+   c          	     óÊ  <€ V	e   Ve   \        R4      hV	e   \        \        RR4      ^R7       \        V\        4      '       dD   Ve   TMVP
                  pVe   TMVP                  pVe   TMVP                  pVP                  pMT	;'       g    Tp\        VVRRR7      p\        SV `-  \        P                  VVVVVR7       V P                  4       ;_uu_ 4        W0n        W@n        \        V4      V n        V P!                  V4      V n        W`n        W n        WÀn        V'       d   \        VRRR7      MR V n        Wàn        R R R 4       R #   + '       g   i     R # ; i)	Nr£   r¤   r¥   r¦   Tr¨   r.   rS   )r©   r   r   r~   r   rt   ru   r   r€   r   r/   r0   r   rc   rL   r   rV   rO   rw   rž   rŸ   rx   ry   )r3   rD   rE   rt   ru   rv   rw   rG   rF   r�   rž   rO   rŸ   rx   ry   r›   r    r«   r4   s   &&&&&&&&&&&&&&&$$ €r(   r0   ÚInputMediaVideo.__init__  sR  ø€ ð, Ò$¨Ò)=ÜÐUÓVÐVØÒ$ÜÜ%ØðVóð
 õô �eœU×#Ò#Ø"Ò.‘E°E·K±KˆEØ%Ò1‘V°u·|±|ˆFØ#+Ò#7‘x¸U¿_¹_ˆHØ—M‘M‰Eð "/×!:Ð!:°(ÐÜ$ØÐ 2¸4ÈDôˆEô 	‰ÑÜ×$Ñ$ØØØØØ!ð 	ô 	
ð �^‰^×ÕØ%*ŒJØ&,ŒKÜ3?ÀÓ3IˆDŒNØ59×5PÑ5PÐQZÓ5[ˆDŒNØ3EÔ#Ø,7ÔØ9QÔ)çINÔ  ¨tÀÕEÐTXð ŒJð 0?Ô ÷ ××Òús   ÃA(EÅE"	c                óR   <€ V ^8„  d   QhRS[ S[P                  ,          R,          /# rƒ   r„   )r&   r'   s   "€r(   r)   r¼   a  r‡   r+   c                ó0   € \        V P                  R R7      # r‰   r‹   rŒ   s   &r(   rv   ÚInputMediaVideo.duration`  rŽ   r+   )	r   rx   rž   ru   rŸ   ry   rw   rO   rt   r°   r@   s   @@r(   rº   rº   ž  s{   ù‡ € ñoðb
€Ið #Ø Ø!Ø&*Ø*.Ø$0Ø;?à$(à#'Ø(,Ø04Ø$(Ø&*ñ#B?ð&  $ð'B?ð( '+÷)B?ö B?ðH ÷Ió ÷Ið Ir+   rº   c                   óR   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tVtV ;t	# )	ÚInputMediaLocationie  aß  Represents a location to be sent.

.. versionadded:: 22.8

Args:
    latitude (:obj:`float`): Latitude of the location.
    longitude (:obj:`float`): Longitude of the location.
    horizontal_accuracy (:obj:`float`, optional): The radius of uncertainty for the location,
        measured in meters; 0-:tg-const:`telegram.Location.HORIZONTAL_ACCURACY`.

Attributes:
    type (:obj:`str`): :tg-const:`telegram.constants.BaseInputMediaType.LOCATION`.
    latitude (:obj:`float`): Latitude of the location.
    longitude (:obj:`float`): Longitude of the location.
    horizontal_accuracy (:obj:`float`): Optional. The radius of uncertainty for the location,
        measured in meters; 0-:tg-const:`telegram.Location.HORIZONTAL_ACCURACY`.
Nr    c          	      óN   <€ V ^8„  d   QhRS[ RS[ RS[ R,          RS[R,          /# )r"   ÚlatitudeÚ	longitudeÚhorizontal_accuracyNr    )Úfloatr   )r&   r'   s   "€r(   r)   ÚInputMediaLocation.__annotate__z  sA   ø€ ÷ Iñ IáðIñ ðIñ # T�\ð	Iñ ˜t•OñIr+   c               óÔ   <€ \         SV `  \        P                  VR 7       V P	                  4       ;_uu_ 4        Wn        W n        W0n        RRR4       R#   + '       g   i     R# ; irJ   )r/   r0   r   ÚLOCATIONrL   rÅ   rÆ   rÇ   )r3   rÅ   rÆ   rÇ   r    r4   s   &&&&$€r(   r0   ÚInputMediaLocation.__init__z  sJ   ø€ ô 	‰ÑÔ$6×$?Ñ$?ÈJÐÔWØ�^‰^×ÕØ#+ŒMØ$-ŒNØ5HÔ$÷ ××Òús   ¹AÁA'	)rÇ   rÅ   rÆ   ©Nr6   r@   s   @@r(   rÃ   rÃ   e  s/   ù‡ € ñð$ A€IñIð '+÷I÷ Iö Ir+   rÃ   c                   óR   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tVtV ;t	# )	ÚInputMediaVenuei‰  u�  Represents a venue to be sent.

.. versionadded:: 22.8

Args:
    latitude (:obj:`float`): Latitude of the location.
    longitude (:obj:`float`): Longitude of the location.
    title (:obj:`str`): Name of the venue.
    address (:obj:`str`): Address of the venue.
    foursquare_id (:obj:`str`, optional): Foursquare identifier of the venue.
    foursquare_type (:obj:`str`, optional): Foursquare type of the venue, if known. (For
        example, ``â€œarts_entertainment/defaultâ€�``, ``â€œarts_entertainment/aquariumâ€�``
        or ``â€œfood/icecreamâ€�``).
    google_place_id (:obj:`str`, optional): Google Places identifier of the venue.
    google_place_type (:obj:`str`, optional): Google Places type of the venue. (See        `supported types <https://developers.google.com/places/web-service/supported_types>`__)

Attributes:
    type (:obj:`str`): :tg-const:`telegram.constants.BaseInputMediaType.VENUE`.
    latitude (:obj:`float`): Latitude of the location.
    longitude (:obj:`float`): Longitude of the location.
    title (:obj:`str`): Name of the venue.
    address (:obj:`str`): Address of the venue.
    foursquare_id (:obj:`str`): Optional. Foursquare identifier of the venue.
    foursquare_type (:obj:`str`): Optional. Foursquare type of the venue, if known. (For
        example, ``â€œarts_entertainment/defaultâ€�``, ``â€œarts_entertainment/aquariumâ€�``
        or ``â€œfood/icecreamâ€�``).
    google_place_id (:obj:`str`): Optional. Google Places identifier of the venue.
    google_place_type (:obj:`str`): Optional. Google Places type of the venue. (See        `supported types <https://developers.google.com/places/web-service/supported_types>`__)
Nr    c                ó–   <€ V ^8„  d   QhRS[ RS[ RS[RS[RS[R,          RS[R,          RS[R,          R	S[R,          R
S[R,          /	# )r"   rÅ   rÆ   ÚtitleÚaddressÚfoursquare_idNÚfoursquare_typeÚgoogle_place_idÚgoogle_place_typer    )rÈ   r%   r   )r&   r'   s   "€r(   r)   ÚInputMediaVenue.__annotate__µ  s„   ø€ ÷ Cñ CáðCñ ðCñ ð	Cñ
 ðCñ ˜T•zðCñ ˜t�ðCñ ˜t�ðCñ  �:ðCñ ˜t•OñCr+   c	               ó  <€ \         S
V `  \        P                  V	R 7       V P	                  4       ;_uu_ 4        Wn        W n        W0n        W@n        WPn	        W`n
        Wpn        W€n        RRR4       R#   + '       g   i     R# ; irJ   )r/   r0   r   ÚVENUErL   rÅ   rÆ   rÑ   rÒ   rÓ   rÔ   rÕ   rÖ   )r3   rÅ   rÆ   rÑ   rÒ   rÓ   rÔ   rÕ   rÖ   r    r4   s   &&&&&&&&&$€r(   r0   ÚInputMediaVenue.__init__µ  sf   ø€ ô 	‰ÑÔ$6×$<Ñ$<ÈÐÔTØ�^‰^×ÕØ#+ŒMØ$-ŒNØ#ŒJØ 'ŒLØ-:ÔØ/>Ô Ø/>Ô Ø1BÔ"÷ ××Òús   ¹1A4Á4B	)rÒ   rÓ   rÔ   rÕ   rÖ   rÅ   rÆ   rÑ   )NNNNr6   r@   s   @@r(   rÏ   rÏ   ‰  s/   ù‡ € ñð@	€IñCð '+÷C÷ Cö Cr+   rÏ   c                   óV   a a€ ] tR tRt oRtRtR	RRRR/V3R lV 3R lllltRtVtV ;t	# )
ÚInputMediaStickeriÎ  a  Represents a sticker file to be sent.

.. seealso:: :wiki:`Working with Files and Media <Working-with-Files-and-Media>`

.. versionadded:: 22.8

Args:
    media (:obj:`str` | :term:`file object` | :class:`~telegram.InputFile` | :obj:`bytes` |             :class:`pathlib.Path` | :class:`telegram.Sticker`): File to send. |fileinputnopath|

        Lastly you can pass an existing :class:`telegram.Sticker` object to send.
    emoji (:obj:`str`, optional): Emoji associated with the sticker; only for just uploaded
        stickers.

Keyword Args:
    filename (:obj:`str`, optional): Custom file name for the sticker, when uploading a
        new file. Convenience parameter, useful e.g. when sending files generated by the
        :obj:`tempfile` module.

Attributes:
    type (:obj:`str`): :tg-const:`telegram.constants.BaseInputMediaType.STICKER`.
    media (:obj:`str` | :class:`telegram.InputFile`): Sticker file to send.
    emoji (:obj:`str`): Optional. Emoji associated with the sticker; only for just uploaded
        stickers.
Nr›   r    c          	      óZ   <€ V ^8„  d   QhRRRS[ R,          RS[ R,          RS[R,          /# )r"   rD   zFileInput | StickerÚemojiNr›   r    r$   )r&   r'   s   "€r(   r)   ÚInputMediaSticker.__annotate__ë  s?   ø€ ÷ +ñ +à$ð+ñ �T�zð+ñ
 ˜•*ð+ñ ˜t•Oñ+r+   c               óð   <€ \        V\        VR R R7      p\        SV `  \        P
                  VR7       V P                  4       ;_uu_ 4        Wn        W n        RRR4       R#   + '       g   i     R# ; i)Tr¨   rK   N)	r   r   r/   r0   r   ÚSTICKERrL   rD   rÞ   )r3   rD   rÞ   r›   r    r4   s   &&&$$€r(   r0   ÚInputMediaSticker.__init__ë  sW   ø€ ô ! ¬¸(È4Ð\`Ôaˆä‰ÑÔ$6×$>Ñ$>È:ÐÔVØ�^‰^×ÕØ*/ŒJØ%*ŒJ÷ ××Òús   ÁA$Á$A5	)rÞ   rD   rÍ   r6   r@   s   @@r(   rÜ   rÜ   Î  s4   ù‡ € ñð4 #€Iñ+ð
  $ð+ð '+÷+÷ +ö +r+   rÜ   c                   ó‚   a a€ ] tR tRt oRtR
tR]RRRRRR3RRRR/V3R lV 3R llllt]V3R lR	 l4       t	R
t
VtV ;t# )ÚInputMediaAudioiû  ag  Represents an audio file to be treated as music to be sent.

.. seealso:: :wiki:`Working with Files and Media <Working-with-Files-and-Media>`

Note:
    When using a :class:`telegram.Audio` for the :attr:`media` attribute, it will take the
    duration, performer and title from that video, unless otherwise specified with the
    optional arguments.

.. versionchanged:: 20.5
  |removed_thumb_note|

Args:
    media (:obj:`str` | :term:`file object` | :class:`~telegram.InputFile` | :obj:`bytes` |             :class:`pathlib.Path` | :class:`telegram.Audio`): File to send. |fileinputnopath|
        Lastly you can pass an existing :class:`telegram.Audio` object to send.

        .. versionchanged:: 13.2
           Accept :obj:`bytes` as input.
    filename_depr (:obj:`str`, optional): Positional placeholder for keyword only parameter
        :paramref:`filename`. For backward compatibility.

        .. versionadded:: 22.8
        .. deprecated:: 22.8
            This parameter is deprecated, use :paramref:`filename` instead.
    caption (:obj:`str`, optional): Caption of the audio to be sent,
        0-:tg-const:`telegram.constants.MessageLimit.CAPTION_LENGTH` characters after
        entities parsing.
    parse_mode (:obj:`str`, optional): |parse_mode|
    caption_entities (Sequence[:class:`telegram.MessageEntity`], optional): |caption_entities|

        .. versionchanged:: 20.0
            |sequenceclassargs|

    duration (:obj:`int` | :class:`datetime.timedelta`, optional): Duration of the audio
        in seconds as defined by the sender.

        .. versionchanged:: v22.2
            |time-period-input|
    performer (:obj:`str`, optional): Performer of the audio as defined by the sender or by
        audio tags.
    title (:obj:`str`, optional): Title of the audio as defined by the sender or by audio tags.
    thumbnail (:term:`file object` | :obj:`bytes` | :class:`pathlib.Path` | :obj:`str`,                 optional): |thumbdocstringnopath|

        .. versionadded:: 20.2

Keyword Args:
    filename (:obj:`str`, optional): Custom file name for the audio, when uploading a
        new file. Convenience parameter, useful e.g. when sending files generated by the
        :obj:`tempfile` module.

        .. versionadded:: 13.1
        .. versionchanged:: 22.8
           This parameter is now keyword-only.

Attributes:
    type (:obj:`str`): :tg-const:`telegram.constants.BaseInputMediaType.AUDIO`.
    media (:obj:`str` | :class:`telegram.InputFile`): Audio file to send.
    caption (:obj:`str`): Optional. Caption of the audio to be sent,
        0-:tg-const:`telegram.constants.MessageLimit.CAPTION_LENGTH` characters
        after entities parsing.
    parse_mode (:obj:`str`): Optional. |parse_mode|
    caption_entities (tuple[:class:`telegram.MessageEntity`]): Optional. |captionentitiesattr|

        .. versionchanged:: 20.0

            * |tupleclassattrs|
            * |alwaystuple|
    duration (:obj:`int` | :class:`datetime.timedelta`): Optional. Duration of the audio
        in seconds.

        .. deprecated:: v22.2
            |time-period-int-deprecated|
    performer (:obj:`str`): Optional. Performer of the audio as defined by the sender or by
        audio tags.
    title (:obj:`str`): Optional. Title of the audio as defined by the sender or by audio tags.
    thumbnail (:class:`telegram.InputFile`): Optional. |thumbdocstringbase|

        .. versionadded:: 20.2

Nr›   r    c                óè   <€ V ^8„  d   QhRRRS[ R,          RS[S[ ,          RS[R,          RS[ R,          RS[ R,          R	S[S[,          R,          R
S[ R,          RRRS[ R,          RS[R,          /# )r"   rD   zFileInput | AudiorE   NrG   rv   Ú	performerrÑ   rF   r�   rO   rP   r›   r    )r%   r   r   r   r   r   )r&   r'   s   "€r(   r)   ÚInputMediaAudio.__annotate__Q  s¤   ø€ ÷ 63ñ 63à"ð63ñ �t•ð63ñ ™S•Mð	63ñ
 ˜tÕ#ð63ñ ˜•:ð63ñ �T�zð63ñ #¡=Õ1°DÕ8ð63ñ ˜T•zð63ð &ð63ñ ˜•*ð63ñ ˜t•Oñ63r+   c
          	     ó^  <€ Ve   V
e   \        R4      hVe   \        \        RR4      ^R7       \        V\        4      '       dD   Ve   TMVP
                  pVf   VP                  MTpVf   VP                  MTpVP                  pMT;'       g    T
p\        WRRR7      p\        SV `-  \        P                  VVVVVR7       V P                  4       ;_uu_ 4        V P                  V	4      V n        \#        V4      V n        W`n        WPn        R R R 4       R #   + '       g   i     R # ; ir¢   )r©   r   r   r~   r   r   ræ   rÑ   r€   r   r/   r0   r   ÚAUDIOrL   rV   rO   r   )r3   rD   rE   rG   rv   ræ   rÑ   rF   r�   rO   r›   r    r«   r4   s   &&&&&&&&&&$$ €r(   r0   ÚInputMediaAudio.__init__Q  s  ø€ ð" Ò$¨Ò)=ÜÐUÓVÐVØÒ$ÜÜ%ØðVóð
 õô �eœU×#Ò#Ø#+Ò#7‘x¸U¿_¹_ˆHØ+4Ò+<˜ŸšÀ)ˆIØ#(¢=�E—K’K°eˆEØ—M‘M‰Eð "/×!:Ð!:°(ÐÜ$Ø¸4ÈDôˆEô 	‰ÑÜ×$Ñ$ØØØØØ!ð 	ô 	
ð �^‰^×ÕØ59×5PÑ5PÐQZÓ5[ˆDŒNÜ3?ÀÓ3IˆDŒNØ%*ŒJØ)2ŒN÷	 ××Òús   Ã3DÄD,	c                óR   <€ V ^8„  d   QhRS[ S[P                  ,          R,          /# rƒ   r„   )r&   r'   s   "€r(   r)   rç   Š  r‡   r+   c                ó0   € \        V P                  R R7      # r‰   r‹   rŒ   s   &r(   rv   ÚInputMediaAudio.duration‰  rŽ   r+   )r   ræ   rO   rÑ   r°   r@   s   @@r(   rä   rä   û  si   ù‡ € ñQðf A€Ið
 #Ø$0Ø&*Ø $Ø Ø;?à$(à(,ñ63ð  $ð63ð '+÷63ö 63ðp ÷Ió ÷Ið Ir+   rä   c                   ób   a a€ ] tR tRt oRtRtR]RRRR3RRRR/V3R lV 3R lllltRtVt	V ;t
# )	ÚInputMediaDocumentiŽ  aO  Represents a general file to be sent.

.. seealso:: :wiki:`Working with Files and Media <Working-with-Files-and-Media>`

.. versionchanged:: 20.5
  |removed_thumb_note|

Args:
    media (:obj:`str` | :term:`file object` | :class:`~telegram.InputFile` | :obj:`bytes`             | :class:`pathlib.Path` | :class:`telegram.Document`): File to send. |fileinputnopath|
        Lastly you can pass an existing :class:`telegram.Document` object to send.

        .. versionchanged:: 13.2
           Accept :obj:`bytes` as input.
    filename_depr (:obj:`str`, optional): Positional placeholder for keyword only parameter
        :paramref:`filename`. For backward compatibility.

        .. versionadded:: 22.8
        .. deprecated:: 22.8
            This parameter is deprecated, use :paramref:`filename` instead.
    caption (:obj:`str`, optional): Caption of the document to be sent,
        0-:tg-const:`telegram.constants.MessageLimit.CAPTION_LENGTH` characters after
        entities parsing.
    parse_mode (:obj:`str`, optional): |parse_mode|
    caption_entities (Sequence[:class:`telegram.MessageEntity`], optional): |caption_entities|

        .. versionchanged:: 20.0
            |sequenceclassargs|

    disable_content_type_detection (:obj:`bool`, optional): Disables automatic server-side
        content type detection for files uploaded using multipart/form-data. Always
        :obj:`True`, if the document is sent as part of an album.
    thumbnail (:term:`file object` | :obj:`bytes` | :class:`pathlib.Path` | :obj:`str`,                 optional): |thumbdocstringnopath|

        .. versionadded:: 20.2

Keyword Args:
    filename (:obj:`str`, optional): Custom file name for the document, when uploading a
        new file. Convenience parameter, useful e.g. when sending files generated by the
        :obj:`tempfile` module.

        .. versionadded:: 13.1
        .. versionchanged:: 22.8
           This parameter is now keyword-only.

Attributes:
    type (:obj:`str`): :tg-const:`telegram.constants.BaseInputMediaType.DOCUMENT`.
    media (:obj:`str` | :class:`telegram.InputFile`): File to send.
    caption (:obj:`str`): Optional. Caption of the document to be sent,
        0-:tg-const:`telegram.constants.MessageLimit.CAPTION_LENGTH` characters
        after entities parsing.
    parse_mode (:obj:`str`): Optional. |parse_mode|
    caption_entities (tuple[:class:`telegram.MessageEntity`]): Optional. |captionentitiesattr|

        .. versionchanged:: 20.0

            * |tupleclassattrs|
            * |alwaystuple|
    disable_content_type_detection (:obj:`bool`): Optional. Disables automatic server-side
        content type detection for files uploaded using multipart/form-data. Always
        :obj:`True`, if the document is sent as part of an album.
    thumbnail (:class:`telegram.InputFile`): Optional. |thumbdocstringbase|

        .. versionadded:: 20.2
Nr›   r    c                óÀ   <€ V ^8„  d   QhRRRS[ R,          RS[S[ ,          RS[R,          RS[S[,          R,          RS[ R,          R	R
RS[ R,          RS[R,          /	# )r"   rD   zFileInput | DocumentrE   NrG   Údisable_content_type_detectionrF   r�   rO   rP   r›   r    )r%   r   r{   r   r   r   )r&   r'   s   "€r(   r)   ÚInputMediaDocument.__annotate__Ô  s’   ø€ ÷ ,^ñ ,^à%ð,^ñ �t•ð,^ñ ™S•Mð	,^ñ
 )-¨t­ð,^ñ #¡=Õ1°DÕ8ð,^ñ ˜T•zð,^ð &ð,^ñ ˜•*ð,^ñ ˜t•Oñ,^r+   c          	     óŒ  <€ Ve   Ve   \        R4      hVe   \        \        RR4      ^R7       T;'       g    Tp
\        V\        V
RRR7      p\
        SV `  \        P                  VVVVV	R7       V P                  4       ;_uu_ 4        V P                  V4      V n        W@n        R R R 4       R #   + '       g   i     R # ; ir¢   )r©   r   r   r   r	   r/   r0   r   ÚDOCUMENTrL   rV   rO   rñ   )r3   rD   rE   rG   rñ   rF   r�   rO   r›   r    r«   r4   s   &&&&&&&&$$ €r(   r0   ÚInputMediaDocument.__init__Ô  sÊ   ø€ ð Ò$¨Ò)=ÜÐUÓVÐVØÒ$ÜÜ%ØðVóð
 õð +×6Ð6¨hÐÜ Ø”8Ð&8ÀÐRVô
ˆô 	‰ÑÜ×'Ñ'ØØØØØ!ð 	ô 	
ð �^‰^×ÕØ59×5PÑ5PÐQZÓ5[ˆDŒNØ?]Ô/÷ ××Òús   ÂB2Â2C	)rñ   rO   r¸   r@   s   @@r(   rï   rï   Ž  sP   ù‡ € ñAðF @€Ið
 #Ø$0Ø6:Ø;?à$(à(,ñ,^ð  $ð,^ð '+÷,^÷ ,^ö ,^r+   rï   c                   ó\   a a€ ] tR tRt oRtRtR]RRR3RR/V3R lV 3R lllltRtVt	V ;t
# )ÚInputMediaLivePhotoi  a7	  Represents a live photo to be sent.

.. seealso:: :wiki:`Working with Files and Media <Working-with-Files-and-Media>`

.. versionadded:: 22.8

Args:
    media (:obj:`str` | :term:`file object` | :class:`~telegram.InputFile` | :obj:`bytes`             | :class:`pathlib.Path` | :class:`~telegram.Video`): Video of the live photo to send.
       Pass a ``file_id`` to send a file that exists on the Telegram servers (recommended).
       |uploadinputnopath| Sending live photos by a URL is currently unsupported. Lastly
       you can pass an existing :class:`telegram.Video` object to send.
    photo (:obj:`str` | :term:`file object` | :class:`~telegram.InputFile` | :obj:`bytes`             | :class:`pathlib.Path` | :class:`~telegram.PhotoSize`): The static photo to send.
        Pass a ``file_id`` to send a file that exists on the Telegram servers (recommended).
        |uploadinputnopath| Sending live photos by a URL is currently unsupported. Lastly
        you can pass an existing :class:`telegram.PhotoSize` object to send.
    caption (:obj:`str`, optional): Caption of the live photo to be sent,
        0-:tg-const:`telegram.constants.MessageLimit.CAPTION_LENGTH` characters after
        entities parsing.
    parse_mode (:obj:`str`, optional): |parse_mode|
    caption_entities (Sequence[:class:`telegram.MessageEntity`], optional): |caption_entities|
    show_caption_above_media (:obj:`bool`, optional): Pass |show_cap_above_med|
    has_spoiler (:obj:`bool`, optional): Pass :obj:`True`, if the video needs to be covered
        with a spoiler animation.

Attributes:
    type (:obj:`str`): :tg-const:`telegram.constants.BaseInputMediaType.LIVE_PHOTO`.
    media (:obj:`str` | :class:`telegram.InputFile`): Video of the live photo to send.
    photo (:obj:`str` | :class:`telegram.InputFile`): The static photo to send.
    caption (:obj:`str`): Optional. Caption of the live photo to be sent,
        0-:tg-const:`telegram.constants.MessageLimit.CAPTION_LENGTH` characters
        after entities parsing.
    parse_mode (:obj:`str`): Optional. |parse_mode|
    caption_entities (tuple[:class:`telegram.MessageEntity`]): Optional. |captionentitiesattr|
    show_caption_above_media (:obj:`bool`): Optional. |show_cap_above_med|
    has_spoiler (:obj:`bool`): Optional. :obj:`True`, if the video is covered with a
        spoiler animation.
Nr    c                ó¬   <€ V ^8„  d   QhRRRRRS[ R,          RS[S[ ,          RS[S[,          R,          R	S[R,          R
S[R,          RS[R,          /# )r"   rD   rs   r“   ri   rE   NrG   rF   rŸ   rž   r    r´   )r&   r'   s   "€r(   r)   Ú InputMediaLivePhoto.__annotate__.  sy   ø€ ÷ 8ñ 8à"ð8ð 'ð8ñ �t•ð	8ñ
 ™S•Mð8ñ #¡=Õ1°DÕ8ð8ñ #'¨¥+ð8ñ ˜D•[ð8ñ ˜t•Oñ8r+   c          	     ó(  <€ \        V\        R R R7      p\        V\        R R R7      p\        S	V `  \
        P                  VVVVVR7       V P                  4       ;_uu_ 4        W n        W`n	        Wpn
        RRR4       R#   + '       g   i     R# ; i)Tr–   r.   N)r   r   r   r/   r0   r   rd   rL   r“   rŸ   rž   )
r3   rD   r“   rE   rG   rF   rŸ   rž   r    r4   s
   &&&&&&&&$€r(   r0   ÚInputMediaLivePhoto.__init__.  s   ø€ ô ! ´¸dÈtÔTˆÜ  ´	À$ÐSWÔXˆä‰ÑÜ×)Ñ)ØØØØØ!ð 	ô 	
ð �^‰^×ÕØ*/ŒJØ9QÔ)Ø,7Ô÷ ××Òús   Á#B Â B	)rž   r“   rŸ   r¸   r@   s   @@r(   r÷   r÷     s=   ù‡ € ñ&ðP E€Ið #Ø$0Ø;?Ø04Ø#'ñ8ð '+÷8÷ 8ö 8r+   r÷   c                óh   € V ^8„  d   Qh/ ^ \         9   d
   \        ;R&   ^\         9   d
   \        ;R&   # )r"   ÚInputPollMediaÚInputPollOptionMedia)Ú__conditional_annotations__r   )r&   s   "r(   r)   r)      s<   € ÷ %ñ %÷p)	ò 	”	ñ 	ñq)%÷N*ò ”iñ òO*%r+   )Frÿ   r;   Údatetimer…   Úcollections.abcr   Útypingr   r   r   Útelegramr   Útelegram._files.animationr   Útelegram._files.audior   Útelegram._files.documentr	   Útelegram._files.inputfiler
   Útelegram._files.photosizer   Útelegram._files.stickerr   Útelegram._files.videor   Útelegram._messageentityr   Útelegram._telegramobjectr   Útelegram._utilsr   Útelegram._utils.argumentparsingr   r   Útelegram._utils.datetimer   Útelegram._utils.defaultvaluer   Útelegram._utils.filesr   Útelegram._utils.typesr   r   r   Útelegram._utils.warningsr   Útelegram.constantsr   Útelegram.warningsr   r   r   rB   rZ   rg   rq   r‘   rš   r²   rº   rÃ   rÏ   rÜ   rä   rï   r÷   rý   rþ   r)   )rÿ   s   @r(   Ú<module>r     sâ  øðö&%ó Ý $ß 2Ñ 2å Ý /Ý 'Ý -Ý /Ý /Ý +Ý 'Ý 1Ý 3Ý  ß LÝ 8Ý 5Ý 2ß @Ñ @Ý )Ý 1Ý 3çÝ/ô_�nô _ô.J
�ô J
ôZ-�^ô -ô`˜.ô ô>kI˜.ô kIô\*0˜nô *0ôZfI˜*ô fIôRrR�jô rRôjDI�jô DIôN!I˜ô !IôHBC�oô BCôJ*+˜ô *+ôZPI�jô PIôfr^˜ô r^ôjE8˜*ô E8ðR Øõàõð õð õ	ð
 õð õð õð ó 	ðð Øõàõð õð õ	ð
 õð õð ó ñr+   