Replace Configure with CustomCommands

This commit is contained in:
FlorianDahn 2021-11-26 17:47:42 +01:00
parent 2bd4634624
commit c1a0b12a94

View File

@ -20,12 +20,13 @@ namespace TelegramBotBase.Builder.Interfaces
/// <returns></returns>
ISessionSerializationStage DefaultCommands();
/// <summary>
/// Gives you the ability to add custom commands.
/// </summary>
/// <param name="action"></param>
/// <returns></returns>
ISessionSerializationStage Configure(Action<List<BotCommand>> action);
ISessionSerializationStage CustomCommands(Action<List<BotCommand>> action);
}
}