Upgrading BotCommands to new BotCommandScope format
- adding IsKnownBotCommand method to BotBase - updated UploadBotCommand method to new format - adding new Commandformat to BotBaseBuilder - adding AddChatCommand and ClearChatCommand for custom Chat commands - integrating new checks into FormBaseMessageLoop
This commit is contained in:
@@ -324,7 +324,6 @@ namespace TelegramBotBase.Builder
|
||||
bb.Sessions.Client = bb.Client;
|
||||
|
||||
bb.BotCommandScopes = _BotCommandScopes;
|
||||
//bb.BotCommands = _botcommands;
|
||||
|
||||
bb.StateMachine = _statemachine;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user