fix google IS button

This commit is contained in:
bakatrouble 2022-12-14 14:08:49 +03:00
parent e9d30c6703
commit 7402c65943

View File

@ -68,7 +68,7 @@ class RobotBotModuleConfig(TelegramBotModuleConfig):
text += f'\n\n{file_url}'
if update.message.photo:
markup.inline_keyboard = [[
InlineKeyboardButton('Google IS', f'https://www.google.com/searchbyimage?image_url={file_url}'),
InlineKeyboardButton('Google IS', f'https://lens.google.com/uploadbyurl?url={file_url}'),
InlineKeyboardButton('Yandex IS', f'https://yandex.ru/images/search?rpt=imageview&url={file_url}'),
InlineKeyboardButton('SauceNao', f'https://saucenao.com/search.php?url={file_url}')
]]