Replace Configure with CustomCommands
This commit is contained in:
parent
2bd4634624
commit
c1a0b12a94
@ -20,12 +20,13 @@ namespace TelegramBotBase.Builder.Interfaces
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
ISessionSerializationStage DefaultCommands();
|
ISessionSerializationStage DefaultCommands();
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gives you the ability to add custom commands.
|
/// Gives you the ability to add custom commands.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="action"></param>
|
/// <param name="action"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
ISessionSerializationStage Configure(Action<List<BotCommand>> action);
|
ISessionSerializationStage CustomCommands(Action<List<BotCommand>> action);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user