- Update README

- Adfly: is_personal auf true (damit Cache nur für einen Nutzer gilt)
This commit is contained in:
Andreas Bielawski
2016-07-15 15:13:00 +02:00
parent 0f8e32742e
commit a07f339ac8
2 changed files with 10 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ function adfly:inline_callback(inline_query, config, matches)
if url == 'NOTFOUND' then return end
local results = '[{"type":"article","id":"'..math.random(100000000000000000)..'","title":"Verlängerte URL","description":"'..url..'","url":"'..url..'","thumb_url":"https://anditest.perseus.uberspace.de/inlineQuerys/generic/internet.jpg","thumb_width":165,"thumb_height":150,"hide_url":true,"input_message_content":{"message_text":"'..url..'"}}]'
utilities.answer_inline_query(self, inline_query, results, 3600)
utilities.answer_inline_query(self, inline_query, results, 3600, true)
end
function adfly:action(msg, config, matches)