Documentation ¶
Index ¶
- Variables
- func BuildKeyboard(buttons []sql.Button) [][]ext.InlineKeyboardButton
- func BuildWelcomeKeyboard(buttons []sql.WelcomeButton) [][]ext.InlineKeyboardButton
- func Contains(arr []string, str string) bool
- func GetNoteType(msg *ext.Message) (string, string, int, string, []tg_md2html.Button)
- func GetWelcomeType(msg *ext.Message) (string, int, string, []tg_md2html.Button)
- func MentionHtml(userId int, name string) string
- func RemoveEscapes(text string) string
- func RevertButtons(buttons []sql.WelcomeButton) string
- func SplitMessage(msg string) []string
- func SplitQuotes(text string) []string
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxMessageLength = 4096
Functions ¶
func BuildKeyboard ¶
func BuildKeyboard(buttons []sql.Button) [][]ext.InlineKeyboardButton
func BuildWelcomeKeyboard ¶
func BuildWelcomeKeyboard(buttons []sql.WelcomeButton) [][]ext.InlineKeyboardButton
func GetNoteType ¶
func GetWelcomeType ¶
func MentionHtml ¶
func RemoveEscapes ¶
func RevertButtons ¶
func RevertButtons(buttons []sql.WelcomeButton) string
func SplitMessage ¶
func SplitQuotes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.