C# Class TelegramBotBase.Commands.Extensions

ファイルを表示 Open project: MajMcCloud/TelegramBotFramework

Public Methods

Method Description
AddHelpCommand ( List cmds, String description ) : void

Adding the default /help command with a description.

AddSettingsCommand ( List cmds, String description ) : void

Adding the default /settings command with a description.

AddStartCommand ( List cmds, String description ) : void

Adding the default /start command with a description.

Method Details

AddHelpCommand() public static method

Adding the default /help command with a description.
public static AddHelpCommand ( List cmds, String description ) : void
cmds List
description String
return void

AddSettingsCommand() public static method

Adding the default /settings command with a description.
public static AddSettingsCommand ( List cmds, String description ) : void
cmds List
description String
return void

AddStartCommand() public static method

Adding the default /start command with a description.
public static AddStartCommand ( List cmds, String description ) : void
cmds List
description String
return void