C# Class SanderVantEinde.TelegramBot.TelegramBotReplyWithFile

Inheritance: TelegramBotReply
Mostrar archivo Open project: sandervanteinde/TelegramBot

Private Properties

Property Type Description

Public Methods

Method Description
TelegramBotReplyWithFile ( int chatId, Stream file, string fileName ) : Newtonsoft.Json
TelegramBotReplyWithFile ( int chatId, string fileId ) : Newtonsoft.Json

Protected Methods

Method Description
GetDefaultResponse ( ) : string>>.List
GetDefaultResponseMultipart ( string name ) : System.Net.Http.MultipartFormDataContent

Get the default response for this Reply

Method Details

GetDefaultResponse() protected final method

protected final GetDefaultResponse ( ) : string>>.List
return string>>.List

GetDefaultResponseMultipart() protected method

Get the default response for this Reply
protected GetDefaultResponseMultipart ( string name ) : System.Net.Http.MultipartFormDataContent
name string The name of the form field
return System.Net.Http.MultipartFormDataContent

TelegramBotReplyWithFile() public method

public TelegramBotReplyWithFile ( int chatId, Stream file, string fileName ) : Newtonsoft.Json
chatId int
file Stream
fileName string
return Newtonsoft.Json

TelegramBotReplyWithFile() public method

public TelegramBotReplyWithFile ( int chatId, string fileId ) : Newtonsoft.Json
chatId int
fileId string
return Newtonsoft.Json