+
    ÁFñjL  ã                   ój  € R 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Ht ^ RIHt ]'       d   ^ R	IHt  ! R
 R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      tR# )z9This module contains objects related to chat backgrounds.)ÚSequence)ÚTYPE_CHECKINGÚFinal)Ú	constants)ÚDocument)ÚTelegramObject)Úenum)Úde_json_optionalÚparse_sequence_arg©ÚJSONDict)ÚBotc                   ó
  a a€ ] tR t^#t oRtR
t]P                  P                  t ]P                  P                  t	 ]P                  P                  t
 RR/V3R lV 3R lllt]RV3R lV 3R lll4       tV3R ltR	tVtV ;t# )ÚBackgroundFilla9  Base class for Telegram BackgroundFill Objects. It can be one of:

* :class:`telegram.BackgroundFillSolid`
* :class:`telegram.BackgroundFillGradient`
* :class:`telegram.BackgroundFillFreeformGradient`

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

.. versionadded:: 21.2

Args:
    type (:obj:`str`): Type of the background fill. Can be one of:
        :attr:`~telegram.BackgroundFill.SOLID`, :attr:`~telegram.BackgroundFill.GRADIENT`
        or :attr:`~telegram.BackgroundFill.FREEFORM_GRADIENT`.

Attributes:
    type (:obj:`str`): Type of the background fill. Can be one of:
        :attr:`~telegram.BackgroundFill.SOLID`, :attr:`~telegram.BackgroundFill.GRADIENT`
        or :attr:`~telegram.BackgroundFill.FREEFORM_GRADIENT`.
Ú
api_kwargsNc                ó4   <€ V ^8„  d   QhRS[ RS[R,          /# ©é   Útyper   N©Ústrr   )ÚformatÚ__classdict__s   "€ÚN/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/_chatbackground.pyÚ__annotate__ÚBackgroundFill.__annotate__E   ó#   ø€ ÷ ñ áðñ ˜t•Oñ	ó    c               óÀ   <€ \         SV `  VR 7       \        P                  ! \        P
                  W4      V n        V P                  3V n        V P                  4        R# ©)r   N)	ÚsuperÚ__init__r   Ú
get_memberr   ÚBackgroundFillTyper   Ú	_id_attrsÚ_freeze©Úselfr   r   Ú	__class__s   &&$€r   r!   ÚBackgroundFill.__init__E   óC   ø€ ô 	‰Ñ JÐÔ/äŸš¬×)EÑ)EÀtÓRˆŒ	àŸ)™)˜ˆŒØ�‰Žr   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r   ÚdataÚbotú
Bot | NoneÚreturnr   r   )r   r   s   "€r   r   r   S   s#   ø€ ÷ 3ñ 3™8ð 3¨,ð 3ÐBRñ 3r   c                ó8  <€ V P                  V4      pV P                  \        V P                  \        V P
                  \        /pV \        J d>   VP                  R4      V9   d(   W1P                  R4      ,          P                  WR7      # \        SV `)  WR7      # ©ú,See :meth:`telegram.TelegramObject.de_json`.r   ©r,   r-   )Ú_parse_dataÚSOLIDÚBackgroundFillSolidÚGRADIENTÚBackgroundFillGradientÚFREEFORM_GRADIENTÚBackgroundFillFreeformGradientr   ÚgetÚpopÚde_jsonr    ©Úclsr,   r-   Ú_class_mappingr(   s   &&& €r   r=   ÚBackgroundFill.de_jsonR   s‡   ø€ ð �‰˜tÓ$ˆð �I‰IÔ*Ø�L‰LÔ0Ø×!Ñ!Ô#Að;
ˆð ”.Ó  T§X¡X¨fÓ%5¸Ô%GØ!§(¡(¨6Ó"2Õ3×;Ñ;ÀÐ;ÓOÐOä‰w‰ DˆÓ2Ð2r   c                óª   <€ V ^8„  d   Qh/ S[ S[P                  ,          ;R&   S[ S[P                  ,          ;R&   S[ S[P                  ,          ;R&   # )r   r5   r7   r9   )r   r   r#   )r   r   s   "€r   r   r   #   sO   ø‡ ‚ ñ2 ‘×-Ñ-Õ.ÑSñ3 ñ6 ‘I×0Ñ0Õ1ÑYñ7 ñ: ™Y×9Ñ9Õ:ñ ò; r   ©r$   r   ©r   ©N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r   r#   r5   r7   r9   r!   Úclassmethodr=   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__Ú__classcell__©r(   r   s   @@r   r   r   #   sˆ   ù‡ € ñð, €Ià1:×1MÑ1M×1SÑ1S€EØ>Ø4=×4PÑ4P×4YÑ4Y€HØAà×$Ñ$×6Ñ6ð ð Kðð '+÷	õ ð ÷3ô 3ó ð3÷a … r   r   c                   óN   a a€ ] tR t^ct oRtRtRR/V3R lV 3R llltRtVtV ;t	# )r6   aø  
The background is filled using the selected color.

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

.. versionadded:: 21.2

Args:
    color (:obj:`int`): The color of the background fill in the `RGB24` format.

Attributes:
    type (:obj:`str`): Type of the background fill. Always
        :attr:`~telegram.BackgroundFill.SOLID`.
    color (:obj:`int`): The color of the background fill in the `RGB24` format.
r   Nc                ó4   <€ V ^8„  d   QhRS[ RS[R,          /# )r   Úcolorr   N©Úintr   )r   r   s   "€r   r   Ú BackgroundFillSolid.__annotate__w   s#   ø€ ÷ +ñ +áð+ñ ˜t•Oñ	+r   c               óØ   <€ \         SV `  V P                  VR 7       V P                  4       ;_uu_ 4        Wn        V P                  3V n        RRR4       R#   + '       g   i     R# ; i©)r   r   N)r    r!   r5   Ú	_unfrozenrT   r$   )r'   rT   r   r(   s   &&$€r   r!   ÚBackgroundFillSolid.__init__w   sI   ø€ ô 	‰Ñ˜dŸj™j°ZÐÔ@à�^‰^×ÕØ#ŒJà"Ÿj™j˜]ˆDŒN÷ ××Òúó   µAÁA)	)r$   rT   )rT   ©
rF   rG   rH   rI   rJ   rK   r!   rN   rO   rP   rQ   s   @@r   r6   r6   c   s*   ù‡ € ñð" €Ið+ð '+÷	+÷ +õ +r   r6   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	# )r8   a.  
The background is a gradient fill.

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

.. versionadded:: 21.2

Args:
    top_color (:obj:`int`): Top color of the gradient in the `RGB24` format.
    bottom_color (:obj:`int`): Bottom color of the gradient in the `RGB24` format.
    rotation_angle (:obj:`int`): Clockwise rotation angle of the background
        fill in degrees;
        0-:tg-const:`telegram.constants.BackgroundFillLimit.MAX_ROTATION_ANGLE`.


Attributes:
    type (:obj:`str`): Type of the background fill. Always
        :attr:`~telegram.BackgroundFill.GRADIENT`.
    top_color (:obj:`int`): Top color of the gradient in the `RGB24` format.
    bottom_color (:obj:`int`): Bottom color of the gradient in the `RGB24` format.
    rotation_angle (:obj:`int`): Clockwise rotation angle of the background
        fill in degrees;
        0-:tg-const:`telegram.constants.BackgroundFillLimit.MAX_ROTATION_ANGLE`.
r   Nc          	      ó@   <€ V ^8„  d   QhRS[ RS[ RS[ RS[R,          /# )r   Ú	top_colorÚbottom_colorÚrotation_angler   NrU   )r   r   s   "€r   r   Ú#BackgroundFillGradient.__annotate__£   s=   ø€ ÷ Vñ VáðVñ ðVñ ð	Vñ ˜t•OñVr   c               ó  <€ \         SV `  V P                  VR 7       V P                  4       ;_uu_ 4        Wn        W n        W0n        V P                  V P
                  V P                  3V n        RRR4       R#   + '       g   i     R# ; irY   )r    r!   r7   rZ   r`   ra   rb   r$   )r'   r`   ra   rb   r   r(   s   &&&&$€r   r!   ÚBackgroundFillGradient.__init__£   sf   ø€ ô 	‰Ñ˜dŸm™m¸
ÐÔCà�^‰^×ÕØ"+ŒNØ%1ÔØ'5Ôà"Ÿn™n¨d×.?Ñ.?À×ATÑATÐUˆDŒN÷ ××Òús   µ;A:Á:B	)r$   ra   rb   r`   )ra   rb   r`   r]   rQ   s   @@r   r8   r8   …   s/   ù‡ € ñð6 @€IðVð '+÷V÷ Võ Vr   r8   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	# )r:   aª  
The background is a freeform gradient that rotates after every message in the chat.

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

.. versionadded:: 21.2

Args:
    colors (Sequence[:obj:`int`]): A list of the 3 or 4 base colors that are used to
        generate the freeform gradient in the `RGB24` format

Attributes:
    type (:obj:`str`): Type of the background fill. Always
        :attr:`~telegram.BackgroundFill.FREEFORM_GRADIENT`.
    colors (Sequence[:obj:`int`]): A list of the 3 or 4 base colors that are used to
        generate the freeform gradient in the `RGB24` format
r   Nc                óD   <€ V ^8„  d   QhRS[ S[,          RS[R,          /# )r   Úcolorsr   N)r   rV   r   )r   r   s   "€r   r   Ú+BackgroundFillFreeformGradient.__annotate__Ë   s'   ø€ ÷ ,ñ ,á™•ð,ñ ˜t•Oñ	,r   c               óì   <€ \         SV `  V P                  VR 7       V P                  4       ;_uu_ 4        \	        V4      V n        V P
                  3V n        RRR4       R#   + '       g   i     R# ; irY   )r    r!   r9   rZ   r
   rh   r$   )r'   rh   r   r(   s   &&$€r   r!   Ú'BackgroundFillFreeformGradient.__init__Ë   sR   ø€ ô 	‰Ñ˜d×4Ñ4ÀÐÔLà�^‰^×ÕÜ+=¸fÓ+EˆDŒKà"Ÿk™k˜^ˆDŒN÷ ××Òús   µ#A"Á"A3	)r$   rh   )rh   r]   rQ   s   @@r   r:   r:   µ   s*   ù‡ € ñð& €Ið,ð '+÷	,÷ ,õ ,r   r:   c                   ó8  a a€ ] tR t^Ùt oRtR
t]P                  P                  t ]P                  P                  t	 ]P                  P                  t
 ]P                  P                  t RR/V3R lV 3R lllt]RV3R lV 3R lll4       tV3R ltR	tVtV ;t# )ÚBackgroundTypea¨  Base class for Telegram BackgroundType Objects. It can be one of:

* :class:`telegram.BackgroundTypeFill`
* :class:`telegram.BackgroundTypeWallpaper`
* :class:`telegram.BackgroundTypePattern`
* :class:`telegram.BackgroundTypeChatTheme`.

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

.. versionadded:: 21.2

Args:
    type (:obj:`str`): Type of the background. Can be one of:
        :attr:`~telegram.BackgroundType.FILL`, :attr:`~telegram.BackgroundType.WALLPAPER`
        :attr:`~telegram.BackgroundType.PATTERN` or
        :attr:`~telegram.BackgroundType.CHAT_THEME`.

Attributes:
    type (:obj:`str`): Type of the background. Can be one of:
        :attr:`~telegram.BackgroundType.FILL`, :attr:`~telegram.BackgroundType.WALLPAPER`
        :attr:`~telegram.BackgroundType.PATTERN` or
        :attr:`~telegram.BackgroundType.CHAT_THEME`.

r   Nc                ó4   <€ V ^8„  d   QhRS[ RS[R,          /# r   r   )r   r   s   "€r   r   ÚBackgroundType.__annotate__ÿ   r   r   c               óÀ   <€ \         SV `  VR 7       \        P                  ! \        P
                  W4      V n        V P                  3V n        V P                  4        R# r   )	r    r!   r   r"   r   ÚBackgroundTypeTyper   r$   r%   r&   s   &&$€r   r!   ÚBackgroundType.__init__ÿ   r*   r   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r   r,   r-   r.   r/   rm   r   )r   r   s   "€r   r   ro     s#   ø€ ÷ 3ñ 3™8ð 3¨,ð 3ÐBRñ 3r   c                ó   <€ V P                  V4      pV P                  \        V P                  \        V P
                  \        V P                  \        /pV \        J d>   VP                  R4      V9   d(   W1P                  R4      ,          P                  WR7      # RV9   d$   \        VP                  R4      \        V4      VR&   RV9   d$   \        VP                  R4      \        V4      VR&   \         SV `1  WR7      # )r2   r   r3   ÚfillÚdocument)r4   ÚFILLÚBackgroundTypeFillÚ	WALLPAPERÚBackgroundTypeWallpaperÚPATTERNÚBackgroundTypePatternÚ
CHAT_THEMEÚBackgroundTypeChatThemerm   r;   r<   r=   r	   r   r   r    r>   s   &&& €r   r=   ÚBackgroundType.de_json  sÖ   ø€ ð �‰˜tÓ$ˆð �H‰HÔ(Ø�M‰MÔ2Ø�K‰KÔ.Ø�N‰NÔ3ð	;
ˆð ”.Ó  T§X¡X¨fÓ%5¸Ô%GØ!§(¡(¨6Ó"2Õ3×;Ñ;ÀÐ;ÓOÐOà�TŒ>Ü+¨D¯H©H°VÓ,<¼nÈcÓRˆD�‰Là˜ÔÜ/°·±¸Ó0DÄhÐPSÓTˆD�Ñä‰w‰ DˆÓ2Ð2r   c                óÚ   <€ V ^8„  d   Qh/ S[ S[P                  ,          ;R&   S[ S[P                  ,          ;R&   S[ S[P                  ,          ;R&   S[ S[P                  ,          ;R&   # )r   rw   ry   r{   r}   )r   r   rq   )r   r   s   "€r   r   ro   Ù   si   ø‡ ‚ ñ: ‘	×,Ñ,Õ
-ÑQñ; ñ> ‘Y×1Ñ1Õ2Ñ[ñ? ñB ‘9×/Ñ/Õ0ÑWñC ñF ‘i×2Ñ2Õ3Ñ]òG r   rC   rD   rE   )rF   rG   rH   rI   rJ   rK   r   rq   rw   ry   r{   r}   r!   rL   r=   rM   rN   rO   rP   rQ   s   @@r   rm   rm   Ù   s–   ù‡ € ñð4 €Ià09×0LÑ0L×0QÑ0Q€DØ=Ø5>×5QÑ5Q×5[Ñ5[€IØBØ3<×3OÑ3O×3WÑ3W€GØ@Ø6?×6RÑ6R×6]Ñ6]€JØCðð '+÷	õ ð ÷3ô 3ó ð3÷i … r   rm   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	# )	rx   i$  ak  
The background is automatically filled based on the selected colors.

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

.. versionadded:: 21.2

Args:
    fill (:class:`telegram.BackgroundFill`): The background fill.
    dark_theme_dimming (:obj:`int`): Dimming of the background in dark themes, as a
        percentage;
        0-:tg-const:`telegram.constants.BackgroundTypeLimit.MAX_DIMMING`.

Attributes:
    type (:obj:`str`): Type of the background. Always
        :attr:`~telegram.BackgroundType.FILL`.
    fill (:class:`telegram.BackgroundFill`): The background fill.
    dark_theme_dimming (:obj:`int`): Dimming of the background in dark themes, as a
        percentage;
        0-:tg-const:`telegram.constants.BackgroundTypeLimit.MAX_DIMMING`.
r   Nc                ó:   <€ V ^8„  d   QhRS[ RS[RS[R,          /# )r   ru   Údark_theme_dimmingr   N)r   rV   r   )r   r   s   "€r   r   ÚBackgroundTypeFill.__annotate__>  s2   ø€ ÷ Bñ BáðBñ  ðBñ
 ˜t•OñBr   c               óú   <€ \         SV `  V P                  VR 7       V P                  4       ;_uu_ 4        Wn        W n        V P                  V P
                  3V n        RRR4       R#   + '       g   i     R# ; irY   )r    r!   rw   rZ   ru   rƒ   r$   )r'   ru   rƒ   r   r(   s   &&&$€r   r!   ÚBackgroundTypeFill.__init__>  sX   ø€ ô 	‰Ñ˜dŸi™i°JÐÔ?à�^‰^×ÕØ(,ŒIØ+=Ô#à"Ÿi™i¨×)@Ñ)@ÐAˆDŒN÷	 ××Òús   µ*A)Á)A:	)r$   rƒ   ru   )rƒ   ru   r]   rQ   s   @@r   rx   rx   $  s.   ù‡ € ñð. /€IðBð
 '+÷B÷ Bõ Br   rx   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	# )
rz   iN  a‘  
The background is a wallpaper in the `JPEG` format.

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

.. versionadded:: 21.2

Args:
    document (:class:`telegram.Document`): Document with the wallpaper
    dark_theme_dimming (:obj:`int`): Dimming of the background in dark themes, as a
        percentage;
        0-:tg-const:`telegram.constants.BackgroundTypeLimit.MAX_DIMMING`.
    is_blurred (:obj:`bool`, optional): :obj:`True`, if the wallpaper is downscaled to fit
        in a 450x450 square and then box-blurred with radius 12
    is_moving (:obj:`bool`, optional): :obj:`True`, if the background moves slightly
        when the device is tilted

Attributes:
    type (:obj:`str`): Type of the background. Always
        :attr:`~telegram.BackgroundType.WALLPAPER`.
    document (:class:`telegram.Document`): Document with the wallpaper
    dark_theme_dimming (:obj:`int`): Dimming of the background in dark themes, as a
        percentage;
        0-:tg-const:`telegram.constants.BackgroundTypeLimit.MAX_DIMMING`.
    is_blurred (:obj:`bool`): Optional. :obj:`True`, if the wallpaper is downscaled to fit
        in a 450x450 square and then box-blurred with radius 12
    is_moving (:obj:`bool`): Optional. :obj:`True`, if the background moves slightly
        when the device is tilted
Nr   c                ób   <€ V ^8„  d   QhRS[ RS[RS[R,          RS[R,          RS[R,          /# )r   rv   rƒ   Ú
is_blurredNÚ	is_movingr   )r   rV   Úboolr   )r   r   s   "€r   r   Ú$BackgroundTypeWallpaper.__annotate__p  sP   ø€ ÷ Fñ FáðFñ  ðFñ ˜4•Kð	Fñ
 ˜$•;ðFñ ˜t•OñFr   c               ó  <€ \         SV `  V P                  VR 7       V P                  4       ;_uu_ 4        Wn        W n        W0n        W@n        V P                  V P
                  3V n        RRR4       R#   + '       g   i     R# ; irY   )	r    r!   ry   rZ   rv   rƒ   r‰   rŠ   r$   )r'   rv   rƒ   r‰   rŠ   r   r(   s   &&&&&$€r   r!   Ú BackgroundTypeWallpaper.__init__p  sb   ø€ ô 	‰Ñ˜dŸn™n¸ÐÔDà�^‰^×Õà&.ŒMØ+=Ô#à+5ŒOØ*3ŒNà"Ÿm™m¨T×-DÑ-DÐEˆDŒN÷ ××Òús   µ6A5Á5B	)r$   rƒ   rv   r‰   rŠ   )rƒ   rv   r‰   rŠ   ©NNr]   rQ   s   @@r   rz   rz   N  s/   ù‡ € ñð> N€IñFð '+÷F÷ Fö Fr   rz   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	# )
r|   i†  a[  
The background is a ``.PNG`` or ``.TGV`` (gzipped subset of ``SVG`` with ``MIME`` type
``"application/x-tgwallpattern"``) pattern to be combined with the background fill
chosen by the user.

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

.. versionadded:: 21.2

Args:
    document (:class:`telegram.Document`): Document with the pattern.
    fill (:class:`telegram.BackgroundFill`): The background fill that is combined with
        the pattern.
    intensity (:obj:`int`): Intensity of the pattern when it is shown above the filled
        background;
        0-:tg-const:`telegram.constants.BackgroundTypeLimit.MAX_INTENSITY`.
    is_inverted (:obj:`int`, optional): :obj:`True`, if the background fill must be applied
        only to the pattern itself. All other pixels are black in this case. For dark
        themes only.
    is_moving (:obj:`bool`, optional): :obj:`True`, if the background moves slightly
        when the device is tilted.

Attributes:
    type (:obj:`str`): Type of the background. Always
        :attr:`~telegram.BackgroundType.PATTERN`.
    document (:class:`telegram.Document`): Document with the pattern.
    fill (:class:`telegram.BackgroundFill`): The background fill that is combined with
        the pattern.
    intensity (:obj:`int`): Intensity of the pattern when it is shown above the filled
        background;
        0-:tg-const:`telegram.constants.BackgroundTypeLimit.MAX_INTENSITY`.
    is_inverted (:obj:`int`): Optional. :obj:`True`, if the background fill must be applied
        only to the pattern itself. All other pixels are black in this case. For dark
        themes only.
    is_moving (:obj:`bool`): Optional. :obj:`True`, if the background moves slightly
        when the device is tilted.
Nr   c                óh   <€ V ^8„  d   QhRS[ RS[RS[RS[R,          RS[R,          RS[R,          /# )r   rv   ru   Ú	intensityÚis_invertedNrŠ   r   )r   r   rV   r‹   r   )r   r   s   "€r   r   Ú"BackgroundTypePattern.__annotate__¶  s[   ø€ ÷ Hñ HáðHñ ðHñ ð	Hñ
 ˜D•[ðHñ ˜$•;ðHñ ˜t•OñHr   c               ó4  <€ \         SV `  V P                  VR 7       V P                  4       ;_uu_ 4        Wn        W n        W0n        W@n        WPn        V P                  V P
                  V P                  3V n	        RRR4       R#   + '       g   i     R# ; irY   )
r    r!   r{   rZ   rv   ru   r’   r“   rŠ   r$   )r'   rv   ru   r’   r“   rŠ   r   r(   s   &&&&&&$€r   r!   ÚBackgroundTypePattern.__init__¶  sk   ø€ ô 	‰Ñ˜dŸl™l°zÐÔBà�^‰^×Õà&.ŒMØ(,ŒIØ"+ŒNà,7ÔØ*3ŒNà"Ÿm™m¨T¯Y©Y¸¿¹ÐGˆDŒN÷ ××Òús   µABÂB	)r$   rv   ru   r’   r“   rŠ   )rv   ru   r’   r“   rŠ   r�   r]   rQ   s   @@r   r|   r|   †  s/   ù‡ € ñ%ðN€IñHð '+÷H÷ Hö Hr   r|   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	# )	r~   iÎ  a  
The background is taken directly from a built-in chat theme.

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

.. versionadded:: 21.2

Args:
    theme_name (:obj:`str`): Name of the chat theme, which is usually an emoji.

Attributes:
    type (:obj:`str`): Type of the background. Always
        :attr:`~telegram.BackgroundType.CHAT_THEME`.
    theme_name (:obj:`str`): Name of the chat theme, which is usually an emoji.
r   Nc                ó4   <€ V ^8„  d   QhRS[ RS[R,          /# )r   Ú
theme_namer   Nr   )r   r   s   "€r   r   Ú$BackgroundTypeChatTheme.__annotate__â  s#   ø€ ÷ 0ñ 0áð0ñ ˜t•Oñ	0r   c               óØ   <€ \         SV `  V P                  VR 7       V P                  4       ;_uu_ 4        Wn        V P                  3V n        RRR4       R#   + '       g   i     R# ; irY   )r    r!   r}   rZ   r™   r$   )r'   r™   r   r(   s   &&$€r   r!   Ú BackgroundTypeChatTheme.__init__â  sJ   ø€ ô 	‰Ñ˜dŸo™o¸*ÐÔEà�^‰^×ÕØ#-ŒOà"Ÿo™oÐ/ˆDŒN÷ ××Òúr\   )r$   r™   )r™   r]   rQ   s   @@r   r~   r~   Î  s*   ù‡ € ñð"  €Ið0ð '+÷	0÷ 0õ 0r   r~   c                   ót   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V3R lV 3R lll4       tR	t	Vt
V ;t# )ÚChatBackgroundið  an  
This object represents a chat background.

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

.. versionadded:: 21.2

Args:
    type (:class:`telegram.BackgroundType`): Type of the background.

Attributes:
    type (:class:`telegram.BackgroundType`): Type of the background.
r   Nc                ó4   <€ V ^8„  d   QhRS[ RS[R,          /# r   )rm   r   )r   r   s   "€r   r   ÚChatBackground.__annotate__  s#   ø€ ÷ 
ñ 
áð
ñ ˜t•Oñ	
r   c               óx   <€ \         SV `  VR 7       Wn        V P                  3V n        V P	                  4        R# r   )r    r!   r   r$   r%   r&   s   &&$€r   r!   ÚChatBackground.__init__  s0   ø€ ô 	‰Ñ JÐÔ/Ø$(Œ	àŸ)™)˜ˆŒØ�‰Žr   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r   r,   r-   r.   r/   rž   r   )r   r   s   "€r   r   r      s#   ø€ ÷ 3ñ 3™8ð 3¨,ð 3ÐBRñ 3r   c                óŒ   <€ V P                  V4      p\        VP                  R4      \        V4      VR&   \        SV `  WR7      # r1   )r4   r	   r;   rm   r    r=   )r?   r,   r-   r(   s   &&&€r   r=   ÚChatBackground.de_json  s?   ø€ ð �‰˜tÓ$ˆä'¨¯©°Ó(8¼.È#ÓNˆˆV‰ä‰w‰ DˆÓ2Ð2r   rC   rD   rE   )rF   rG   rH   rI   rJ   rK   r!   rL   r=   rN   rO   rP   rQ   s   @@r   rž   rž   ð  sC   ù‡ € ñð €Ið
ð '+÷	
õ 
ð ÷3ô 3ó ÷3ð 3r   rž   N)rJ   Úcollections.abcr   Útypingr   r   Útelegramr   Útelegram._files.documentr   Útelegram._telegramobjectr   Útelegram._utilsr   Útelegram._utils.argumentparsingr	   r
   Útelegram._utils.typesr   r   r   r6   r8   r:   rm   rx   rz   r|   r~   rž   © r   r   Ú<module>r¯      s¶   ðñ& @å $ß 'å Ý -Ý 3Ý  ß PÝ *çÝô=3�^ô =3ô@+˜.ô +ôD-V˜^ô -Vô`!, ^ô !,ôHH3�^ô H3ôV'B˜ô 'BôT5F˜nô 5FôpEH˜Nô EHôP0˜nô 0ôD%3�^ö %3r   