public static implicit operator ChosenInlineResultContext((Type ModuleType, TelegramBotClient Client, ChosenInlineResultEventArgs Args) u) => new ChosenInlineResultContext(u.ModuleType, u.Client, u.Args);
 public static implicit operator InlineQueryContext((Type ModuleType, TelegramBotClient Client, InlineQueryEventArgs Args) u) => new InlineQueryContext(u.ModuleType, u.Client, u.Args);
 public static implicit operator CallbackQueryContext((Type ModuleType, TelegramBotClient Client, CallbackQueryEventArgs Args) u) => new CallbackQueryContext(u.ModuleType, u.Client, u.Args);
Пример #4
0
 public static implicit operator MessageContext((Type ModuleType, TelegramBotClient Client, MessageEventArgs Args) u) => new MessageContext(u.ModuleType, u.Client, u.Args);
Пример #5
0
 public static implicit operator UpdateContext((Type ModuleType, TelegramBotClient Client, UpdateEventArgs Args) u) => new UpdateContext(u.ModuleType, u.Client, u.Args);