gSearch mit InlineButton für alle Ergebnisse (danke an @Akamaru für die Idee!)
This commit is contained in:
parent
e2d27a3754
commit
3433f9913a
@ -71,7 +71,7 @@ function gSearch:action(msg, config)
|
|||||||
utilities.send_reply(self, msg, config.errors.quotaexceeded)
|
utilities.send_reply(self, msg, config.errors.quotaexceeded)
|
||||||
return
|
return
|
||||||
end
|
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
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user