C# Class SanderVantEinde.TelegramBot.TelegramBotReplyWithFile

Inheritance: TelegramBotReply
Afficher le fichier Open project: sandervanteinde/TelegramBot

Private Properties

Свойство Type Description

Méthodes publiques

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

Méthodes protégées

Méthode Description
GetDefaultResponse ( ) : string>>.List
GetDefaultResponseMultipart ( string name ) : System.Net.Http.MultipartFormDataContent

Get the default response for this Reply

Method Details

GetDefaultResponse() protected final méthode

protected final GetDefaultResponse ( ) : string>>.List
Résultat string>>.List

GetDefaultResponseMultipart() protected méthode

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

TelegramBotReplyWithFile() public méthode

public TelegramBotReplyWithFile ( int chatId, Stream file, string fileName ) : Newtonsoft.Json
chatId int
file Stream
fileName string
Résultat Newtonsoft.Json

TelegramBotReplyWithFile() public méthode

public TelegramBotReplyWithFile ( int chatId, string fileId ) : Newtonsoft.Json
chatId int
fileId string
Résultat Newtonsoft.Json