added render start page
This commit is contained in:
parent
0958c32f97
commit
c685a60116
@ -1495,7 +1495,7 @@ fn (mut b TgBot) send_greeting(chat_id_str string) {
|
|||||||
'Юридическая информация - ${quiz_config.info.law}\n\n'
|
'Юридическая информация - ${quiz_config.info.law}\n\n'
|
||||||
|
|
||||||
if quiz_config.startpage.background.bg_type == 'video'{
|
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'{
|
if quiz_config.startpage.background.bg_type == 'image'{
|
||||||
|
Loading…
Reference in New Issue
Block a user