
    i                     0    S SK r S SK JrJr   " S S5      rg)    N)rawutilsc                   *    \ rS rSrSSS\S\4S jrSrg)	HideGift   selfzpyrogram.Clientowned_gift_idreturnc                    #    U R                  [        R                  R                  R	                  [
        R                  " X5      I Sh  vN SS95      I Sh  vN nU$  N N7f)a)  Hide gift on the current user's or the channel's profile page.

.. note::

    Requires `can_post_messages` administrator right in the channel chat.

.. include:: /_includes/usable-by/users.rst

Parameters:
    owned_gift_id (``str``):
        Unique identifier of the target gift.
        For a user gift, you can use the message ID (str) of the gift message.
        For a channel gift, you can use the packed format `chatID_savedID` (str).
        For a upgraded gift, you can use the gift link.

Returns:
    ``bool``: On success, True is returned.

Example:
    .. code-block:: python

        # Hide gift in user profile
        await app.hide_gift(owned_gift_id="123")

        # Hide gift in channel (owned_gift_id packed in format chatID_savedID)
        await app.hide_gift(owned_gift_id="123_456")
NT)stargiftunsave)invoker   	functionspaymentsSaveStarGiftr   get_input_stargift)r   r	   rs      P/app/mltbenv/lib/python3.13/site-packages/pyrogram/methods/payments/hide_gift.py	hide_giftHideGift.hide_gift   s]     > ++MM""//$77LL 0 
 
  M
s$   AA$
A A$A"A$"A$ N)__name__
__module____qualname____firstlineno__strboolr   __static_attributes__r       r   r   r      s!    &&& 
&r   r   )pyrogramr   r   r   r   r   r   <module>r!      s   &  ' 'r   