C# Class SanderVantEinde.TelegramBot.ReplyPhoto

Inheritance: TelegramBotReplyWithFile
Exibir arquivo Open project: sandervanteinde/TelegramBot

Public Methods

Method Description
ReplyPhoto ( int chatId, Stream photo, string fileName ) : System
ReplyPhoto ( int chatId, string photoId ) : System

Protected Methods

Method Description
SendReply ( TelegramBot bot ) : Task

Method Details

ReplyPhoto() public method

public ReplyPhoto ( int chatId, Stream photo, string fileName ) : System
chatId int
photo Stream
fileName string
return System

ReplyPhoto() public method

public ReplyPhoto ( int chatId, string photoId ) : System
chatId int
photoId string
return System

SendReply() protected method

protected SendReply ( TelegramBot bot ) : Task
bot TelegramBot
return Task