C# Class SanderVantEinde.SpoilerBot.SpoilerMessageHandler.SpoilerFlow

Inheritance: SanderVantEinde.TelegramBot.TemplateMessageHandlerAsync
Exibir arquivo Open project: sandervanteinde/TelegramBot

Public Methods

Method Description
SpoilerFlow ( Chat group ) : SanderVantEinde.TelegramBot
Step1 ( Message m, MessageHandlerType type ) : TelegramBotReply
Step2 ( Message m, MessageHandlerType type ) : TelegramBotReply
Step3 ( Message m, TelegramBot bot ) : Task

Protected Methods

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

Private Methods

Method Description
GetDescription ( Spoiler s ) : string

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

SpoilerFlow() public method

public SpoilerFlow ( Chat group ) : SanderVantEinde.TelegramBot
group SanderVantEinde.TelegramBot.Chat
return SanderVantEinde.TelegramBot

Step1() public method

public Step1 ( Message m, MessageHandlerType type ) : TelegramBotReply
m SanderVantEinde.TelegramBot.Message
type MessageHandlerType
return SanderVantEinde.TelegramBot.TelegramBotReply

Step2() public method

public Step2 ( Message m, MessageHandlerType type ) : TelegramBotReply
m SanderVantEinde.TelegramBot.Message
type MessageHandlerType
return SanderVantEinde.TelegramBot.TelegramBotReply

Step3() public method

public Step3 ( Message m, TelegramBot bot ) : Task
m SanderVantEinde.TelegramBot.Message
bot SanderVantEinde.TelegramBot.TelegramBot
return Task