C# Class SanderVantEinde.SecretHitlerBot.MessageHandlers.PickPlayerFlow

Inheritance: SanderVantEinde.TelegramBot.TemplateMessageHandlerAsync
ファイルを表示 Open project: sandervanteinde/TelegramBot Class Usage Examples

Public Methods

Method Description
GetKeyboard ( ) : ReplyKeyboardMarkup
PickPlayerFlow ( GameRegistry game, Func onPlayerPicked ) : SanderVantEinde.TelegramBot

Protected Methods

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

Method Details

GetKeyboard() public method

public GetKeyboard ( ) : ReplyKeyboardMarkup
return ReplyKeyboardMarkup

HandleMessageAsync() protected method

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

PickPlayerFlow() public method

public PickPlayerFlow ( GameRegistry game, Func onPlayerPicked ) : SanderVantEinde.TelegramBot
game GameRegistry
onPlayerPicked Func
return SanderVantEinde.TelegramBot