video_kb = types.InlineKeyboardMarkup()
music_bt = types.InlineKeyboardButton(text=' Скачать музыку', callback_data=f'get_music|{info_video["aweme_list"][0]["aweme_id"]}')
info_bt = types.InlineKeyboardButton(text=' Статистика', callback_data=f'get_stat|{info_video["aweme_list"][0]["aweme_id"]}')
authorinfo_bt = types.InlineKeyboardButton(text=' О авторе', callback_data=f'author|{info_video["aweme_list"][0]["aweme_id"]}')
video_kb.row(music_bt,info_bt)
video_kb.row(authorinfo_bt)
if info_video['aweme_list'][0]['video']['height'] == 0:
getphoto_bt = types.InlineKeyboardButton(text=' Скачать фото', callback_data=f'getphoto|{info_video["aweme_list"][0]["aweme_id"]}')
video_kb.row(getphoto_bt)
else:
getvideo_bt = types.InlineKeyboardButton(text=' Скачать видео', callback_data=f'getvideo|{info_video["aweme_list"][0]["aweme_id"]}')
video_kb.row(getvideo_bt)
bot.send_sticker(message.chat.id,'CAACAgIAAxkBAAEKGfJk5iH1z2RktPZ4FwrS7ZGKd7A5lAACFgADDkfHKEcrF76w95k0MAQ')
bot.send_message(message.chat.id,f' Видео получено!\n\n<b>Что с ним сделать? </b>', parse_mode='HTML', reply_markup=video_kb)
@bot.callback_query_handler(func=lambda call: True)
def callback_inline(call):
print(123)