YouTube-DL: Fixe CallbackQuery (telegram:cache:youtube_dl leeren!)

This commit is contained in:
Andreas Bielawski 2016-10-05 01:58:20 +02:00
parent 8e6a865b0c
commit 4757d846c4

View File

@ -162,7 +162,7 @@ function youtube_dl:action(msg, config, matches)
else else
pretty_format = video.pretty_format..' ('..pretty_size..')' pretty_format = video.pretty_format..' ('..pretty_size..')'
end end
local button = '{"text":"'..pretty_format..'","callback_data":"@'..self.info.username..' youtube_dl:'..id..'@'..format..'"}' local button = '{"text":"'..pretty_format..'","callback_data":"youtube_dl:'..id..'@'..format..'"}'
callback_buttons[#callback_buttons+1] = button callback_buttons[#callback_buttons+1] = button
end end