2020-09-05 22:29:24 +00:00
|
|
|
settings:
|
|
|
|
token_env: TOKEN
|
|
|
|
parse_mode: html
|
|
|
|
long_poller: {}
|
|
|
|
|
|
|
|
config:
|
|
|
|
str: string
|
|
|
|
num: 123
|
|
|
|
dur: 10m
|
|
|
|
|
|
|
|
buttons:
|
2020-09-26 15:48:49 +00:00
|
|
|
# Shortened reply buttons
|
|
|
|
help: Help
|
|
|
|
settings: Settings
|
|
|
|
|
|
|
|
# Extended reply button
|
|
|
|
contact:
|
|
|
|
text: Send a contact
|
|
|
|
request_contact: true
|
|
|
|
|
|
|
|
# Inline button
|
|
|
|
stop:
|
|
|
|
unique: stop
|
|
|
|
text: Stop
|
2021-07-07 10:16:38 +00:00
|
|
|
data: '{{.}}'
|
|
|
|
|
|
|
|
# Callback data
|
|
|
|
pay:
|
|
|
|
unique: pay
|
|
|
|
text: Pay
|
|
|
|
data:
|
|
|
|
- '{{.UserID}}'
|
|
|
|
- '{{.Amount}}'
|
|
|
|
- '{{.Currency}}'
|
2020-09-05 22:29:24 +00:00
|
|
|
|
|
|
|
markups:
|
2020-09-26 15:48:49 +00:00
|
|
|
reply_shortened:
|
|
|
|
- [ help ]
|
|
|
|
- [ settings ]
|
|
|
|
reply_extended:
|
2020-09-05 22:29:24 +00:00
|
|
|
keyboard:
|
2020-09-26 15:48:49 +00:00
|
|
|
- [ contact ]
|
2020-09-05 22:29:24 +00:00
|
|
|
one_time_keyboard: true
|
|
|
|
inline:
|
2020-09-26 15:48:49 +00:00
|
|
|
- [ stop ]
|
2021-07-25 11:15:42 +00:00
|
|
|
|
|
|
|
results:
|
|
|
|
article:
|
|
|
|
type: article
|
|
|
|
id: '{{ .ID }}'
|
|
|
|
title: '{{ .Title }}'
|
|
|
|
description: '{{ .Description }}'
|
|
|
|
message_text: '{{ .Content }}'
|
|
|
|
thumb_url: '{{ .PreviewURL }}'
|