telebot/layout/example.yml
2020-09-26 18:58:00 +03:00

37 lines
526 B
YAML

settings:
token_env: TOKEN
parse_mode: html
long_poller: {}
config:
str: string
num: 123
dur: 10m
buttons:
# 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
callback_data: '{{.}}'
markups:
reply_shortened:
- [ help ]
- [ settings ]
reply_extended:
keyboard:
- [ contact ]
one_time_keyboard: true
inline:
- [ stop ]