| 1 |
settings: |
| 2 |
token_env: TOKEN |
| 3 |
parse_mode: HTML |
| 4 |
long_poller: {} |
| 5 |
|
| 6 |
commands: |
| 7 |
/start: Start the bot |
| 8 |
/help: How to use the bot |
| 9 |
|
| 10 |
config: |
| 11 |
str: string |
| 12 |
num: 123 |
| 13 |
strs: |
| 14 |
- abc |
| 15 |
- def |
| 16 |
nums: |
| 17 |
- 123 |
| 18 |
- 456 |
| 19 |
obj: &obj |
| 20 |
dur: 10m |
| 21 |
arr: |
| 22 |
- <<: *obj |
| 23 |
- <<: *obj |
| 24 |
|
| 25 |
|
| 26 |
buttons: |
| 27 |
# Shortened reply buttons |
| 28 |
help: Help |
| 29 |
settings: Settings |
| 30 |
|
| 31 |
# Extended reply button |
| 32 |
contact: |
| 33 |
text: Send a contact |
| 34 |
request_contact: true |
| 35 |
|
| 36 |
# Inline button |
| 37 |
stop: |
| 38 |
unique: stop |
| 39 |
text: Stop |
| 40 |
data: '{{.}}' |
| 41 |
|
| 42 |
# Callback data |
| 43 |
pay: |
| 44 |
unique: pay |
| 45 |
text: Pay |
| 46 |
data: |
| 47 |
- '{{ .UserID }}' |
| 48 |
- '{{ .Amount }}' |
| 49 |
- '{{ .Currency }}' |
| 50 |
|
| 51 |
web_app: |
| 52 |
text: This is a web app |
| 53 |
web_app: |
| 54 |
url: https://google.com |
| 55 |
|
| 56 |
markups: |
| 57 |
reply_shortened: |
| 58 |
- [ help ] |
| 59 |
- [ settings ] |
| 60 |
reply_extended: |
| 61 |
keyboard: |
| 62 |
- [ contact ] |
| 63 |
one_time_keyboard: true |
| 64 |
inline: |
| 65 |
- [ stop ] |
| 66 |
web_app: |
| 67 |
- [ web_app ] |
| 68 |
|
| 69 |
results: |
| 70 |
article: |
| 71 |
type: article |
| 72 |
id: '{{ .ID }}' |
| 73 |
title: '{{ .Title }}' |
| 74 |
description: '{{ .Description }}' |
| 75 |
thumbnail_url: '{{ .PreviewURL }}' |
| 76 |
message_text: '{{ text `article_message` }}' |