FILE / ScuroNeko/Laniakea

tgapi/methods_types.go

Исходный файл и его история в репозитории.
FILE 24040fe164649c3e4a7ef2f9d37b9747957b0cc1
Files
Laniakea/tgapi/methods_types.go
T
ScuroNeko 071fc2375e
Golang lint / lint (push) Successful in 4m51s
(draft): telegram markdown v2 string builder
2026-04-30 13:56:36 +03:00

22 lines
664 B
Go

package tgapi
// ParseMode represents the text formatting mode for message parsing.
type ParseMode string
const (
// ParseMarkdownV2 enables MarkdownV2 style parsing.
ParseMarkdownV2 ParseMode = "MarkdownV2"
// ParseHTML enables HTML style parsing.
ParseHTML ParseMode = "HTML"
// ParseMarkdown enables legacy Markdown style parsing.
ParseMarkdown ParseMode = "Markdown"
// ParseNone disables parse_mode and leaves plain-text requests unannotated.
ParseNone ParseMode = ""
)
// EmptyParams is a placeholder for methods that take no parameters.
type EmptyParams struct{}
// NoParams is a convenient instance of EmptyParams.
var NoParams = EmptyParams{}