public virtual TelegramMessageHandler HandleMessage(TelegramSession session, Api api, Message message, object state) { return this; }
public override TelegramMessageHandler HandleMessage(TelegramSession session, Api api, Message message, object state) { api.SendTextMessage(message.Chat.Id, Text, DisableWebPagePreview, ReplyToMessageId, ReplyMarkup, IsMarkdown); return(this); }
public virtual TelegramMessageHandler HandleMessage(TelegramSession session, Api api, Message message, object state) { return(this); }
public override TelegramMessageHandler HandleMessage(TelegramSession session, Api api, Message message, object state) { api.SendTextMessage(message.Chat.Id, Text, DisableWebPagePreview, ReplyToMessageId, ReplyMarkup, IsMarkdown); return this; }
public override TelegramMessageHandler HandleMessage(TelegramSession session, TelegramBotClient api, Message message, object state) { api.SendTextMessageAsync(message.Chat.Id, Text, IsMarkdown ? ParseMode.Markdown : ParseMode.Default, DisableWebPagePreview, false, ReplyToMessageId, ReplyMarkup); return(this); }
public virtual TelegramMessageHandler CommandHelp(TelegramSession session, TelegramBotClient api, Message message, object state) { return(this); }