getDownloadUrl method
Returns the download URL for the particular file as String
This method uses the latest Bot token used in your code. If you have
multiple bots running with the same code, you might want to pass the
token
parameter that can be used to generate the download URL.
Implementation
String getDownloadUrl([String? token]) {
return 'https://api.telegram.org/file/bot$token/$filePath';
}