process_gift_purchase_offer()

Client.process_gift_purchase_offer()

Handles a pending gift purchase offer.

Usable by Users Bots
Parameters:
  • message_id (``int``) – Identifier of the message with the gift purchase offer.

  • accept (``bool``) – Pass True to accept the request. Pass False to reject it.

Returns:

:obj:`~pyrogram.types.Message` (On success, the sent Message is returned.)