C# Class SanderVantEinde.TelegramBot.TemplateInlineHandler

Afficher le fichier Open project: sandervanteinde/TelegramBot

Méthodes protégées

Méthode Description
AddArticle ( string id, string title, string messageText, string parseMode = null, bool disableWebPagePreview = false, string url = null, bool hideUrl = false, string description = null, string thumbUrl = null, int thumbWidth, int thumbHeight ) : void
AddGif ( string id, string gifUrl, int gifWidth, int gifHeight, string thumbUrl = null, string title = null, string caption = null, string messageText = null, string parseMode = null, bool disableWebPagePreview = false ) : void
AddMpeg4Gif ( string id, string mpeg4Url, int mpeg4Width, int mpeg4Height, string thumbUrl = null, string title = null, string caption = null, string messageText = null, string parseMode = null, bool disableWebPagePreview = false ) : void
AddPhoto ( string id, string photoUrl, string thumbUrl, int photoWidth, int photoHeight, string title = null, string description = null, string caption = null, string messageText = null, string parseMode = null, bool disableWebPagePreview = false ) : void
AddVideo ( string id, string videoUrl, string mimeType, string messageText = null, string parseMode = null, bool disableWegPagePreview = false, int videoWidth, int videoHeight, int videoDuration, string thumbUrl = null, string title = null, string description = null ) : void
HandleInlineMessage ( InlineQuery query, TelegramBot bot ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
AddQueryResult ( InlineQueryResult result ) : void
GetInlineMessageResult ( InlineQuery query, TelegramBot bot ) : System.Threading.Tasks.Task

Method Details

AddArticle() protected méthode

protected AddArticle ( string id, string title, string messageText, string parseMode = null, bool disableWebPagePreview = false, string url = null, bool hideUrl = false, string description = null, string thumbUrl = null, int thumbWidth, int thumbHeight ) : void
id string
title string
messageText string
parseMode string
disableWebPagePreview bool
url string
hideUrl bool
description string
thumbUrl string
thumbWidth int
thumbHeight int
Résultat void

AddGif() protected méthode

protected AddGif ( string id, string gifUrl, int gifWidth, int gifHeight, string thumbUrl = null, string title = null, string caption = null, string messageText = null, string parseMode = null, bool disableWebPagePreview = false ) : void
id string
gifUrl string
gifWidth int
gifHeight int
thumbUrl string
title string
caption string
messageText string
parseMode string
disableWebPagePreview bool
Résultat void

AddMpeg4Gif() protected méthode

protected AddMpeg4Gif ( string id, string mpeg4Url, int mpeg4Width, int mpeg4Height, string thumbUrl = null, string title = null, string caption = null, string messageText = null, string parseMode = null, bool disableWebPagePreview = false ) : void
id string
mpeg4Url string
mpeg4Width int
mpeg4Height int
thumbUrl string
title string
caption string
messageText string
parseMode string
disableWebPagePreview bool
Résultat void

AddPhoto() protected méthode

protected AddPhoto ( string id, string photoUrl, string thumbUrl, int photoWidth, int photoHeight, string title = null, string description = null, string caption = null, string messageText = null, string parseMode = null, bool disableWebPagePreview = false ) : void
id string
photoUrl string
thumbUrl string
photoWidth int
photoHeight int
title string
description string
caption string
messageText string
parseMode string
disableWebPagePreview bool
Résultat void

AddVideo() protected méthode

protected AddVideo ( string id, string videoUrl, string mimeType, string messageText = null, string parseMode = null, bool disableWegPagePreview = false, int videoWidth, int videoHeight, int videoDuration, string thumbUrl = null, string title = null, string description = null ) : void
id string
videoUrl string
mimeType string
messageText string
parseMode string
disableWegPagePreview bool
videoWidth int
videoHeight int
videoDuration int
thumbUrl string
title string
description string
Résultat void

HandleInlineMessage() protected abstract méthode

protected abstract HandleInlineMessage ( InlineQuery query, TelegramBot bot ) : System.Threading.Tasks.Task
query InlineQuery
bot TelegramBot
Résultat System.Threading.Tasks.Task