gSearch mit InlineButton für alle Ergebnisse (danke an @Akamaru für die Idee!)

This commit is contained in:
Andreas Bielawski 2016-07-02 15:18:42 +02:00
parent e2d27a3754
commit 3433f9913a

View File

@ -71,7 +71,7 @@ function gSearch:action(msg, config)
utilities.send_reply(self, msg, config.errors.quotaexceeded)
return
end
utilities.send_message(self, msg.chat.id, gSearch:stringlinks(results, stats), true, nil, true)
utilities.send_message(self, msg.chat.id, gSearch:stringlinks(results, stats), true, nil, true, '{"inline_keyboard":[[{"text":"Alle Ergebnisse anzeigen","url":"https://www.google.com/search?q='..URL.escape(input)..'"}]]}')
end