C# 클래스 Telegram.Bot.Types.FileToSend

Represents information for a file to be sent
파일 보기 프로젝트 열기: MrRoundRobin/telegram.bot 1 사용 예제들

공개 메소드들

메소드 설명
FileToSend ( Uri url ) : System

Send a File from Url

FileToSend ( string fileId ) : System

Send a File by Id

FileToSend ( string filename, Stream content ) : System

Send a FileStream.

메소드 상세

FileToSend() 공개 메소드

Send a File from Url
public FileToSend ( Uri url ) : System
url Uri The File to send
리턴 System

FileToSend() 공개 메소드

Send a File by Id
public FileToSend ( string fileId ) : System
fileId string The File to send
리턴 System

FileToSend() 공개 메소드

Send a FileStream.
public FileToSend ( string filename, Stream content ) : System
filename string The .
content Stream The .
리턴 System