C# 클래스 TeleBotDotNet.Extensions.TeleBotExtensions

파일 보기 프로젝트 열기: LouisMT/TeleBotDotNet

공개 메소드들

메소드 설명
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.

메소드 상세

DownloadFile() 공개 정적인 메소드

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
리턴 byte[]

DownloadFileAsync() 공개 정적인 메소드

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
리턴 Task