C# Class SanderVantEinde.TelegramBot.ReplyAudio

Inheritance: TelegramBotReplyWithFile
显示文件 Open project: sandervanteinde/TelegramBot

Public Methods

Method Description
ReplyAudio ( int chatId, Stream audioFile, string fileName ) : System
ReplyAudio ( int chatId, string audioID ) : System

Protected Methods

Method Description
SendReply ( TelegramBot bot ) : Task

Method Details

ReplyAudio() public method

public ReplyAudio ( int chatId, Stream audioFile, string fileName ) : System
chatId int
audioFile Stream
fileName string
return System

ReplyAudio() public method

public ReplyAudio ( int chatId, string audioID ) : System
chatId int
audioID string
return System

SendReply() protected method

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