C# Class TeleBotDotNet.Extensions.TeleBotExtensions

Afficher le fichier Open project: LouisMT/TeleBotDotNet

Méthodes publiques

Méthode Description
DownloadFile ( this bot, TeleBotDotNet.Responses.Methods.GetFileResponse getFileResponse ) : byte[]

Download a file as a byte array using a GetFileResponse.

DownloadFileAsync ( this bot, TeleBotDotNet.Responses.Methods.GetFileResponse getFileResponse ) : Task

Download a file as a byte array async using a GetFileResponse.

Method Details

DownloadFile() public static méthode

Download a file as a byte array using a GetFileResponse.
public static DownloadFile ( this bot, TeleBotDotNet.Responses.Methods.GetFileResponse getFileResponse ) : byte[]
bot this
getFileResponse TeleBotDotNet.Responses.Methods.GetFileResponse
Résultat byte[]

DownloadFileAsync() public static méthode

Download a file as a byte array async using a GetFileResponse.
public static DownloadFileAsync ( this bot, TeleBotDotNet.Responses.Methods.GetFileResponse getFileResponse ) : Task
bot this
getFileResponse TeleBotDotNet.Responses.Methods.GetFileResponse
Résultat Task