mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-25 06:56:40 +07:00
#1 added buttons to MessageNewHandler.ts
This commit is contained in:
parent
eb6a645ad3
commit
b35b5d3731
4 changed files with 73 additions and 12 deletions
|
@ -1,9 +1,11 @@
|
|||
---
|
||||
buttons: [link]
|
||||
link_text: Посмотреть сообщение
|
||||
---
|
||||
{{!--
|
||||
use handlebars template here
|
||||
available variables are: user, text
|
||||
available variables are: user, group, text
|
||||
(see MessageNewHandler)
|
||||
--}}
|
||||
{{user.first_name}} {{user.last_name}} пишет: {{text}}
|
||||
***Новое сообщение:***
|
||||
[{{user.first_name}} {{user.last_name}}](https://vk.com/id{{user.id}}) {{#ifEq user.sex 1}}написала{{else}}написал{{/ifEq}}: {{text}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue