C# Класс SanderVantEinde.TelegramBot.TemplateInlineHandler

Показать файл Открыть проект

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
AddQueryResult ( InlineQueryResult result ) : void
GetInlineMessageResult ( InlineQuery query, TelegramBot bot ) : System.Threading.Tasks.Task

Описание методов

AddArticle() защищенный Метод

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
Результат void

AddGif() защищенный Метод

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
Результат void

AddMpeg4Gif() защищенный Метод

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
Результат void

AddPhoto() защищенный Метод

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
Результат void

AddVideo() защищенный Метод

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
Результат void

HandleInlineMessage() защищенный абстрактный Метод

protected abstract HandleInlineMessage ( InlineQuery query, TelegramBot bot ) : System.Threading.Tasks.Task
query InlineQuery
bot TelegramBot
Результат System.Threading.Tasks.Task