15 lines
422 B
C#
15 lines
422 B
C#
using TelegramBotBase.Base;
|
|
using TelegramBotBase.Form;
|
|
|
|
namespace TelegramBotBase.Experiments.ActionManager.Actions
|
|
{
|
|
public static class Int32Action_Extensions
|
|
{
|
|
|
|
public static void AddInt32Action(this ExternalActionManager manager, string method, Func<int, CallbackData, UpdateResult, MessageResult, Task> action)
|
|
{
|
|
manager.Add(new Int32Action(method, action));
|
|
}
|
|
}
|
|
}
|