Example #1
0
        public override async Task Execute(Message message)
        {
            var keyboard = Keyboards.FirstOrDefault(Name);

            if (keyboard == null)
            {
                throw new InvalidOperationException("could not find an appropriate keyboard");
            }

            await keyboard.SendKeyboardAsync(message);
        }