1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-24 22:46:41 +07:00

#5 updated suggest template

This commit is contained in:
Fedor Katurov 2021-05-12 12:49:41 +07:00
parent 174dcac9e6
commit 1fe3d35540
3 changed files with 22 additions and 4 deletions

View file

@ -11,11 +11,15 @@
---
{{!--
use handlebars template here
available variables are: text, user, group
available variables are: text, user, group, type
(see PostNewHandler)
--}}
{{#ifEq type 'suggest'}}
Предложка:
{{/ifEq}}
{{text}}
{{#if user}}
-- [{{user.first_name}} {{user.last_name}}](https://vk.com/id{{user.id}})
[{{user.first_name}} {{user.last_name}}](https://vk.com/id{{user.id}})
{{/if}}