util

package
v0.0.0-...-04bcfef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayName

func DisplayName(u *tb.User) string

DisplayName will generate a "display name" for a user

func EscapeMarkdown

func EscapeMarkdown(s string) string

EscapeMarkdown will escape any markdown characters in a string

func GetUserName

func GetUserName(m *tb.Message) string

GetUserName will generate a "user name" for a given user

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL