added render start page

This commit is contained in:
Pavel 2024-09-11 12:36:10 +03:00
parent 0958c32f97
commit c685a60116

@ -1495,7 +1495,7 @@ fn (mut b TgBot) send_greeting(chat_id_str string) {
'Юридическая информация - ${quiz_config.info.law}\n\n'
if quiz_config.startpage.background.bg_type == 'video'{
greeting_message = 'Видео:\n[Смотреть](${quiz_config.startpage.background.video})\n'
greeting_message += 'Видео:\n[Смотреть](${quiz_config.startpage.background.video})\n'
}
if quiz_config.startpage.background.bg_type == 'image'{