C# Class SanderVantEinde.WindesheimRoosterBot.MessageHandlers.IgnoreLessonMessageHandler

Inheritance: SanderVantEinde.TelegramBot.TemplateAdminMessageHandlerAsync
Show file Open project: sandervanteinde/TelegramBot

Public Methods

Method Description
IgnoreLessonMessageHandler ( User u ) : System

Protected Methods

Method Description
HandleMessageAsync ( TelegramBot bot, Message m, MessageHandlerType type ) : Task

Private Methods

Method Description
FailedInstruction ( Message m, ReplyKeyboardMarkup customKeyboard = null ) : TelegramBotReply
InitialResponse ( Message m ) : TelegramBotReply
KeyboardForResults ( UserPreferences preferences ) : ReplyKeyboardMarkup
ReplyWithInstruction ( string reply ) : string
Step1 ( Message m ) : Task
Step2 ( Message m ) : TelegramBotReply
TextStartsWith ( string text, string startsWith ) : bool

Method Details

HandleMessageAsync() protected method

protected HandleMessageAsync ( TelegramBot bot, Message m, MessageHandlerType type ) : Task
bot SanderVantEinde.TelegramBot.TelegramBot
m SanderVantEinde.TelegramBot.Message
type MessageHandlerType
return Task

IgnoreLessonMessageHandler() public method

public IgnoreLessonMessageHandler ( User u ) : System
u SanderVantEinde.TelegramBot.User
return System