+
    ÁFñj³  ã                   ó„   € R 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 ]'       d   ^ RIHt  ! R R	]4      tR
# )zOThis module contains an object that represents a Telegram InlineKeyboardMarkup.)ÚSequence)ÚTYPE_CHECKING)ÚInlineKeyboardButton)ÚTelegramObject)Úcheck_keyboard_type©ÚJSONDict)ÚBotc                   óÂ   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V3R lR ll4       t]V3R lR	 l4       t	]V3R
 lR l4       t
]V3R lR l4       tRtVtV ;t# )ÚInlineKeyboardMarkupa»  
This object represents an inline keyboard that appears right next to the message it belongs to.

Objects of this class are comparable in terms of equality. Two objects of this class are
considered equal, if their size of :attr:`inline_keyboard` and all the buttons are equal.

.. figure:: https://core.telegram.org/file/464001863/110f3/I47qTXAD9Z4.120010/e0        ea04f66357b640ec
    :align: center

    An inline keyboard on a message

.. seealso::
    Another kind of keyboard would be the :class:`telegram.ReplyKeyboardMarkup`.

Examples:
    * :any:`Inline Keyboard 1 <examples.inlinekeyboard>`
    * :any:`Inline Keyboard 2 <examples.inlinekeyboard2>`

Args:
    inline_keyboard (Sequence[Sequence[:class:`telegram.InlineKeyboardButton`]]): Sequence of
        button rows, each represented by a sequence of :class:`~telegram.InlineKeyboardButton`
        objects.

        .. versionchanged:: 20.0
            |sequenceclassargs|

Attributes:
    inline_keyboard (tuple[tuple[:class:`telegram.InlineKeyboardButton`]]): Tuple of
        button rows, each represented by a tuple of :class:`~telegram.InlineKeyboardButton`
        objects.

        .. versionchanged:: 20.0
            |tupleclassattrs|

Ú
api_kwargsNc                óT   <€ V ^8„  d   QhRS[ S[ S[,          ,          RS[R,          /# )é   Úinline_keyboardr   N)r   r   r   )ÚformatÚ__classdict__s   "€Ú[/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/_inline/inlinekeyboardmarkup.pyÚ__annotate__Ú!InlineKeyboardMarkup.__annotate__I   s.   ø€ ÷ ñ á!¡(Ñ+?Õ"@ÕAðñ ˜t•Oñ	ó    c               ó  <€ \         SV `  VR 7       \        V4      '       g   \        R4      h\        ;QJ d    . R V 4       F  NK  	  5M! R V 4       4      V n        V P
                  3V n        V P                  4        R# ))r   zZThe parameter `inline_keyboard` should be a sequence of sequences of InlineKeyboardButtonsc              3   ó8   "  € T F  p\        V4      x € K  	  R # 5i©N)Útuple)Ú.0Úrows   & r   Ú	<genexpr>Ú0InlineKeyboardMarkup.__init__.<locals>.<genexpr>V   s   é € ð S
Ù"1˜3ŒE�#�JˆJ£/ùs   ‚N)ÚsuperÚ__init__r   Ú
ValueErrorr   r   Ú	_id_attrsÚ_freeze)Úselfr   r   Ú	__class__s   &&$€r   r   ÚInlineKeyboardMarkup.__init__I   sƒ   ø€ ô 	‰Ñ JÐÔ/Ü" ?×3Ò3Üð(óð ÷
 NSÌUñ S
Ù"1óS
ÏUÉUñ S
Ù"1óS
ó N
ˆÔð ×.Ñ.Ð0ˆŒà�‰Žr   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r   ÚdataÚbotz
Bot | NoneÚreturnr   r   )r   r   s   "€r   r   r   _   s#   ø€ ÷ ñ ™8ð ¨,ð ÐBXñ r   c                óÐ   € . pVR,           FP  p. pV F4  p\         P                  ! Wb4      pV'       g   K#  VP                  V4       K6  	  VP                  V4       KR  	  V ! V4      # )z,See :meth:`telegram.TelegramObject.de_json`.r   )r   Úde_jsonÚappend)Úclsr'   r(   Úkeyboardr   ÚtmpÚcolÚbtns   &&&     r   r+   ÚInlineKeyboardMarkup.de_json^   se   € ð ˆØÐ)×*Ð*ˆCØˆCÛ�Ü*×2Ò2°3Ó<�ß‘3Ø—J‘J˜s–Oñ ð �O‰O˜CÖ ñ +ñ �8‹}Ðr   c                ó*   <€ V ^8„  d   QhRS[ RS[RR/# )r   ÚbuttonÚkwargsr)   r   )r   Úobject)r   r   s   "€r   r   r   n   s$   ø€ ÷ )ñ )Ñ!5ð )Áð )ÐLbñ )r   c                ó   € V ! V..3/ VB # )zßShortcut for::

    InlineKeyboardMarkup([[button]], **kwargs)

Return an InlineKeyboardMarkup from a single InlineKeyboardButton

Args:
    button (:class:`telegram.InlineKeyboardButton`): The button to use in the markup

© )r-   r4   r5   s   &&,r   Úfrom_buttonÚ InlineKeyboardMarkup.from_buttonm   s   € ñ �V�H�:Ñ( Ñ(Ð(r   c                ó:   <€ V ^8„  d   QhRS[ S[,          RS[RR/# )r   Ú
button_rowr5   r)   r   ©r   r   r6   )r   r   s   "€r   r   r   |   s+   ø€ ÷ +ñ +Ù!Ñ"6Õ7ð+ÙCIð+à	ñ+r   c                ó   € V ! V.3/ VB # )a<  Shortcut for::

    InlineKeyboardMarkup([button_row], **kwargs)

Return an InlineKeyboardMarkup from a single row of InlineKeyboardButtons

Args:
    button_row (Sequence[:class:`telegram.InlineKeyboardButton`]): The button to use
        in the markup

        .. versionchanged:: 20.0
            |sequenceargs|

r8   )r-   r<   r5   s   &&,r   Úfrom_rowÚInlineKeyboardMarkup.from_row{   s   € ñ$ �J�<Ñ* 6Ñ*Ð*r   c                ó:   <€ V ^8„  d   QhRS[ S[,          RS[RR/# )r   Úbutton_columnr5   r)   r   r=   )r   r   s   "€r   r   r   �   s+   ø€ ÷ *ñ *Ù$Ñ%9Õ:ð*ÙFLð*à	ñ*r   c                ó@   € V Uu. uF  q3.NK  	  ppV ! V3/ VB # u upi )a]  Shortcut for::

    InlineKeyboardMarkup([[button] for button in button_column], **kwargs)

Return an InlineKeyboardMarkup from a single column of InlineKeyboardButtons

Args:
    button_column (Sequence[:class:`telegram.InlineKeyboardButton`]): The button to use
        in the markup

         .. versionchanged:: 20.0
            |sequenceargs|

r8   )r-   rB   r5   r4   Úbutton_grids   &&,  r   Úfrom_columnÚ InlineKeyboardMarkup.from_column�   s-   € ñ$ /<Ó<©m F“x©mˆÐ<Ù�;Ñ) &Ñ)Ð)ùò =s   …)r!   r   )r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r   Úclassmethodr+   r9   r?   rE   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r$   r   s   @@r   r   r   !   s€   ù‡ € ñ#ðJ %€Iðð '+÷	õ ð* ÷ñ ó ðð ÷)ó ð)ð ÷+ó ð+ð& ÷*ó ÷*ð *r   r   N)rK   Úcollections.abcr   Útypingr   Ú%telegram._inline.inlinekeyboardbuttonr   Útelegram._telegramobjectr   Útelegram._utils.markupr   Útelegram._utils.typesr   Útelegramr	   r   r8   r   r   Ú<module>rX      s1   ðñ& Vå $Ý  å FÝ 3Ý 6Ý *çÝôA*˜>ö A*r   