C# Class Telegram.MTProto.Components.Files

Afficher le fichier Open project: naphaso/kilogram

Méthodes publiques

Méthode Description
DownloadVideo ( System.Video arg, FileUploadProcessHandler handler ) : Task
Files ( TelegramSession session ) : System
GetAvatar ( FileLocation location ) : Task
GetFile ( FileLocation fileLocation ) : Task
UploadFile ( string filename, Stream stream, FileUploadProcessHandler handler ) : Task

Private Methods

Méthode Description
FileLocationToCachePath ( FileLocationConstructor fileLocation ) : string
GetVideoPath ( VideoConstructor video ) : string

Method Details

DownloadVideo() public méthode

public DownloadVideo ( System.Video arg, FileUploadProcessHandler handler ) : Task
arg System.Video
handler FileUploadProcessHandler
Résultat Task

Files() public méthode

public Files ( TelegramSession session ) : System
session TelegramSession
Résultat System

GetAvatar() public méthode

public GetAvatar ( FileLocation location ) : Task
location FileLocation
Résultat Task

GetFile() public méthode

public GetFile ( FileLocation fileLocation ) : Task
fileLocation FileLocation
Résultat Task

UploadFile() public méthode

public UploadFile ( string filename, Stream stream, FileUploadProcessHandler handler ) : Task
filename string
stream Stream
handler FileUploadProcessHandler
Résultat Task