|
|
@ -370,12 +370,13 @@ func (lt *Layout) MarkupLocale(locale, k string, args ...interface{}) *tele.Repl
|
|
|
|
// The given optional argument will be passed to the template engine.
|
|
|
|
// The given optional argument will be passed to the template engine.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// results:
|
|
|
|
// results:
|
|
|
|
// type: article
|
|
|
|
// article:
|
|
|
|
// id: '{{ .ID }}'
|
|
|
|
// type: article
|
|
|
|
// title: '{{ .Title }}'
|
|
|
|
// id: '{{ .ID }}'
|
|
|
|
// description: '{{ .Description }}'
|
|
|
|
// title: '{{ .Title }}'
|
|
|
|
// message_text: '{{ .Content }}'
|
|
|
|
// description: '{{ .Description }}'
|
|
|
|
// thumb_url: '{{ .PreviewURL }}'
|
|
|
|
// message_text: '{{ .Content }}'
|
|
|
|
|
|
|
|
// thumb_url: '{{ .PreviewURL }}'
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Usage:
|
|
|
|
// Usage:
|
|
|
|
// func onQuery(c tele.Context) error {
|
|
|
|
// func onQuery(c tele.Context) error {
|
|
|
|