Layer 220
method Users
bots.checkDownloadFileParams#50077589 bot:InputUser file_name:string url:string = Bool;

Parameters

Name Type Description
Bot InputUser The bot that owns the mini app that requested the download
FileName string The filename from the web_app_request_file_download event
Url string The url from the web_app_request_file_download event

Returns

Bool

Possible Errors

Code Type Description
400 BOT_INVALID This is not a valid bot.

Gogram Example

// BotsCheckDownloadFileParams - positional arguments
result, err := client.BotsCheckDownloadFileParams(&tg.InputUserSelf{}, "...", "...")
if err != nil {
    // handle error
}
// result is *tg.Bool