Documentation ¶
Index ¶
- Variables
- func DecodeJson(url string, f func(io.ReadCloser) bool) (bool, error)
- func Register(botPlugin BotPlugin)
- func SaveAudio(url string) (string, error)
- func SaveImage(url string) (string, error)
- func SaveSticker(url string) (string, error)
- func SaveVideo(url string) (string, error)
- func SendAudio(url string, message telebot.Message, bot *telebot.Bot) error
- func SendPhoto(url string, message telebot.Message, bot *telebot.Bot) error
- func SendSticker(url string, message telebot.Message, bot *telebot.Bot) error
- func SendVideo(url string, message telebot.Message, bot *telebot.Bot) error
- func UrlExt(url string) string
- type BotPlugin
Constants ¶
This section is empty.
Variables ¶
View Source
var Bot *telebot.Bot
View Source
var RegisteredPlugins = map[string]BotPlugin{}
Functions ¶
func DecodeJson ¶
func SaveSticker ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.