+
    ÁFñjo  ã                   óÈ   € R t ^ RI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 ]'       d   ^ R	IHt  ! R
 R]4      t ! R R]4      t ! R R]4      tR# )zSThis module contains an objects that represents a InputProfilePhoto and subclasses.N)ÚTYPE_CHECKING)Ú	constants)ÚTelegramObject)Úenum)Úto_timedelta)Úparse_file_input©Ú	FileInputÚJSONDict)Ú	InputFilec                   óª   a a€ ] tR t^#t oRt]P                  P                  t ]P                  P                  t Rt	RR/V3R lV 3R lllt
RtVtV ;t# )ÚInputProfilePhotoa$  This object describes a profile photo to set. Currently, it can be one of

* :class:`InputProfilePhotoStatic`
* :class:`InputProfilePhotoAnimated`

.. versionadded:: 22.1

Args:
    type (:obj:`str`): Type of the profile photo.

Attributes:
    type (:obj:`str`): Type of the profile photo.

Ú
api_kwargsNc                ó4   <€ V ^8„  d   QhRS[ RS[R,          /# )é   Útyper   N)Ústrr
   )ÚformatÚ__classdict__s   "€ÚW/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/_files/inputprofilephoto.pyÚ__annotate__ÚInputProfilePhoto.__annotate__:   s#   ø€ ÷ 	ñ 	áð	ñ ˜t•Oñ		ó    c               óœ   <€ \         SV `  VR 7       \        P                  ! \        P
                  W4      V n        V P                  4        R# ))r   N)ÚsuperÚ__init__r   Ú
get_memberr   ÚInputProfilePhotoTyper   Ú_freeze)Úselfr   r   Ú	__class__s   &&$€r   r   ÚInputProfilePhoto.__init__:   s6   ø€ ô 	‰Ñ JÐÔ/ÜŸš¬×)HÑ)HÈ$ÓUˆŒ	à�‰Žr   )r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   ÚSTATICÚANIMATEDÚ	__slots__r   Ú__static_attributes__Ú__classdictcell__Ú__classcell__©r    r   s   @@r   r   r   #   sR   ù‡ € ñð ×,Ñ,×3Ñ3€FØRØ×.Ñ.×7Ñ7€HØTà€Ið	ð '+÷		÷ 	õ 	r   r   c                   óN   a a€ ] tR t^Ft oRtRtRR/V3R lV 3R llltRtVtV ;t	# )ÚInputProfilePhotoStatica�  A static profile photo in the .JPG format.

.. versionadded:: 22.1

Args:
    photo (:term:`file object` | :class:`~telegram.InputFile` | :obj:`bytes` |             :class:`pathlib.Path`): The static profile photo. |uploadinputnopath|

Attributes:
    type (:obj:`str`): :tg-const:`telegram.constants.InputProfilePhotoType.STATIC`.
    photo (:class:`telegram.InputFile` | :obj:`str`): The static profile photo.

r   Nc                ó4   <€ V ^8„  d   QhRS[ RS[R,          /# )r   Úphotor   Nr   )r   r   s   "€r   r   Ú$InputProfilePhotoStatic.__annotate__W   s'   ø€ ÷ 
`ñ 
`áð
`ñ ˜t•Oñ	
`r   c               óê   <€ \         SV `  \        P                  P                  VR 7       V P                  4       ;_uu_ 4        \        VRRR7      V n        RRR4       R#   + '       g   i     R# ; i©)r   r   T)ÚattachÚ
local_modeN)r   r   r   r   r'   Ú	_unfrozenr   r1   )r   r1   r   r    s   &&$€r   r   Ú InputProfilePhotoStatic.__init__W   sS   ø€ ô 	‰Ñœi×=Ñ=×DÑDÐQ[ÐÔ\Ø�^‰^×Õô +;¸5ÈÐZ^Ô*_ˆDŒJ÷ ××Òús   ÁA!Á!A2	)r1   ©
r"   r#   r$   r%   r&   r)   r   r*   r+   r,   r-   s   @@r   r/   r/   F   s.   ù‡ € ñð €Ið
`ð '+÷	
`÷ 
`õ 
`r   r/   c                   óR   a a€ ] tR t^dt 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	# )ÚInputProfilePhotoAnimateda2  An animated profile photo in the MPEG4 format.

.. versionadded:: 22.1

Args:
    animation (:term:`file object` | :class:`~telegram.InputFile` | :obj:`bytes` |             :class:`pathlib.Path`): The animated profile photo. |uploadinputnopath|
    main_frame_timestamp (:class:`datetime.timedelta` | :obj:`int` | :obj:`float`, optional):
        Timestamp in seconds of the frame that will be used as the static profile photo.
        Defaults to ``0.0``.

Attributes:
    type (:obj:`str`): :tg-const:`telegram.constants.InputProfilePhotoType.ANIMATED`.
    animation (:class:`telegram.InputFile` | :obj:`str`): The animated profile photo.
    main_frame_timestamp (:class:`datetime.timedelta`): Optional. Timestamp in seconds of the
        frame that will be used as the static profile photo. Defaults to ``0.0``.
Nr   c                ól   <€ V ^8„  d   QhRS[ RS[S[P                  ,          R,          RS[R,          /# )r   Ú	animationÚmain_frame_timestampNr   )r	   ÚfloatÚdtmÚ	timedeltar
   )r   r   s   "€r   r   Ú&InputProfilePhotoAnimated.__annotate__y   s@   ø€ ÷ añ aáðañ $¡c§m¡mÕ3°dÕ:ðañ
 ˜t•Oñar   c               ó
  <€ \         SV `  \        P                  P                  VR 7       V P                  4       ;_uu_ 4        \        VRRR7      V n        \        V4      V n	        RRR4       R#   + '       g   i     R# ; ir4   )
r   r   r   r   r(   r7   r   r=   r   r>   )r   r=   r>   r   r    s   &&&$€r   r   Ú"InputProfilePhotoAnimated.__init__y   sf   ø€ ô 	‰Ñœi×=Ñ=×FÑFÐS]ÐÔ^Ø�^‰^×Õô /?Ø $°4ô/ˆDŒNô ?KÐK_Ó>`ˆDÔ%÷ ××Òús   Á$A1Á1B	)r=   r>   )Nr9   r-   s   @@r   r;   r;   d   s.   ù‡ € ñð$ 6€Iñað
 '+÷a÷ aö ar   r;   )r&   Údatetimer@   Útypingr   Útelegramr   Útelegram._telegramobjectr   Útelegram._utilsr   Útelegram._utils.argumentparsingr   Útelegram._utils.filesr   Útelegram._utils.typesr	   r
   r   r   r/   r;   © r   r   Ú<module>rN      sT   ðñ& Zã Ý  å Ý 3Ý  Ý 8Ý 2ß 5çÝ"ô ˜ô  ôF`Ð/ô `ô<$aÐ 1ö $ar   