package Ġdev . in mo . tg bot api . extensions . utils . extensions Ċ Ċ import Ġdev . in mo . tg bot api . types . files . Pat hed File Ċ import Ġdev . in mo . tg bot api . utils . Telegram API Urls Keeper Ċ import Ġio . ktor . client . HttpClient Ċ import Ġio . ktor . client . request . get Ċ Ċ suspend Ġfun ĠHttpClient . load File ( ĊĠĠĠ Ġtele gram API Urls Keeper : ĠTelegram API Urls Keeper , ĊĠĠĠ ĠfilePath : ĠString Ċ ) Ġ= Ġget < ByteArray >(" ${ telegram API Urls Keeper . file BaseUrl }/ $ filePath ") Ċ Ċ suspend Ġfun ĠHttpClient . load File ( ĊĠĠĠ Ġtele gram API Urls Keeper : ĠTelegram API Urls Keeper , ĊĠĠĠ Ġpat hed File : ĠPat hed File Ċ ) Ġ= Ġload File ( telegram API Urls Keeper , Ġpat hed File . filePath ) Ċ Ċ suspend Ġfun ĠPat hed File . download ( ĊĠĠĠ Ġtele gram API Urls Keeper : ĠTelegram API Urls Keeper , ĊĠĠĠ Ġclient : ĠHttpClient Ġ= ĠHttpClient () Ċ ) Ġ= Ġclient . load File ( telegram API Urls Keeper , Ġthis ) Ċ