Replacing BotCommands with BotCommandsScope

This commit is contained in:
FlorianDahn
2022-02-08 18:07:59 +01:00
parent 8fa952e68b
commit d7a5c149b1
3 changed files with 141 additions and 17 deletions
@@ -33,7 +33,9 @@ namespace TelegramBotBase.Builder.Interfaces
/// </summary>
/// <param name="action"></param>
/// <returns></returns>
ISessionSerializationStage CustomCommands(Action<List<BotCommand>> action);
ISessionSerializationStage CustomCommands(Action<Dictionary<BotCommandScope, List<BotCommand>>> action);
}
}