bots.CheckDownloadFileParams#

class pyrogram.raw.functions.bots.CheckDownloadFileParams#

Check if a mini app can request the download of a specific file: called when handling web_app_request_file_download events »

Details:
  • Layer: 198

  • ID: 50077589

Parameters:
  • bot (InputUser) – The bot that owns the mini app that requested the download

  • file_name (str) – The filename from the web_app_request_file_download event »

  • url (str) – The url from the web_app_request_file_download event »

Returns:

bool