Ejemplo n.º 1
0
        private ResponseTrigger CommandGoogle(IBotCommand command)
        {
            var row = _commandTextGoogle.GetRandomRowGSheets(new GSheetQuery()
            {
                Ranges = new[] { command.TableName }
            });
            var response = command.GetResponse(row);

            response.Trigger     = command.Trigger;
            response.WithButtons = command.WithButtons;
            return(response);
        }