Raw.bots.CheckDownloadFileParams
Check if a mini app can request the download of a specific file: called when handling webAppRequestFileDownload events
bots.checkDownloadFileParams#50077589 bot:InputUser file_name:string url:string = Bool;export namespace Raw {
export namespace bots {
export class CheckDownloadFileParams {
constructor(params: { bot: Raw.TypeInputUser; fileName: string; url: string }) {}
}
}
}This is a function constructor, you can use it as method when call invoke
Layer: 201
Constructor ID: 0x50077589
Property
bot: Raw.TypeInputUserThe bot that owns the mini app that requested the download
fileName: stringThe filename from the webAppRequestFileDownload event
url: stringThe url from the webAppRequestFileDownload event