mirror of
https://github.com/tucnak/telebot
synced 2024-11-11 01:10:39 +00:00
54 lines
849 B
YAML
54 lines
849 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
|
|
data: '{{.}}'
|
|
|
|
# Callback data
|
|
pay:
|
|
unique: pay
|
|
text: Pay
|
|
data:
|
|
- '{{ .UserID }}'
|
|
- '{{ .Amount }}'
|
|
- '{{ .Currency }}'
|
|
|
|
markups:
|
|
reply_shortened:
|
|
- [ help ]
|
|
- [ settings ]
|
|
reply_extended:
|
|
keyboard:
|
|
- [ contact ]
|
|
one_time_keyboard: true
|
|
inline:
|
|
- [ stop ]
|
|
|
|
results:
|
|
article:
|
|
type: article
|
|
id: '{{ .ID }}'
|
|
title: '{{ .Title }}'
|
|
description: '{{ .Description }}'
|
|
message_text: '{{ .Content }}'
|
|
thumb_url: '{{ .PreviewURL }}' |