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

#2 added PostNewHandler.ts

This commit is contained in:
Fedor Katurov 2021-04-29 15:18:24 +07:00
parent 61f0440cb6
commit 8c17836868
10 changed files with 183 additions and 15 deletions

18
templates/post_new.md Normal file
View file

@ -0,0 +1,18 @@
---
image: true
buttons: [likes,links]
link_text: Пост полностью
links:
https://map.vault48.org/: Посмотреть карту
http://map.vault48.org/: Посмотреть карту
---
{{!--
use handlebars template here
available variables are: text, user, group
(see PostNewHandler)
--}}
{{text}}
{{#if user}}
[{{user.first_name}} {{user.last_name}}](https://vk.com/id{{user.id}})
{{/if}}