Replacing Configure method in BBB with CustomCommands

This commit is contained in:
FlorianDahn
2021-11-22 22:07:55 +01:00
parent b001d5e9c4
commit d0edf8531c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ namespace TelegramBotBase.Builder
return this;
}
public ISessionSerializationStage Configure(Action<List<BotCommand>> action)
public ISessionSerializationStage CustomCommands(Action<List<BotCommand>> action)
{
action?.Invoke(_botcommands);
return this;