Documentation
¶
Index ¶
- Variables
- func AddTaskReplyMarkup(messageID int) *telego.InlineKeyboardMarkup
- func AddToQueue(ctx context.Context, bot *telego.Bot, query telego.CallbackQuery)
- func ChangeSilentMode(ctx context.Context, bot *telego.Bot, message telego.Message)
- func CleanReceivedFile(ctx context.Context, bot *telego.Bot, message telego.Message)
- func EscapeMarkdown(text string) string
- func FileDownloadURL(filePath string) string
- func HandleFileMessage(ctx context.Context, bot *telego.Bot, message telego.Message)
- func Help(ctx context.Context, bot *telego.Bot, message telego.Message)
- func Init()
- func ReplyMessage(replyTo telego.Message, format string, args ...any) (*telego.Message, error)
- func Run()
- func SaveFile(ctx context.Context, bot *telego.Bot, message telego.Message)
- func SetDefaultStorage(ctx context.Context, bot *telego.Bot, message telego.Message)
- func Start(ctx context.Context, bot *telego.Bot, message telego.Message)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Bot *telego.Bot
)
View Source
var StorageDisplayNames = map[string]string{
"all": "全部",
"local": "服务器磁盘",
"alist": "Alist",
"webdav": "WebDAV",
}
Functions ¶
func AddTaskReplyMarkup ¶
func AddTaskReplyMarkup(messageID int) *telego.InlineKeyboardMarkup
func AddToQueue ¶
func ChangeSilentMode ¶
func CleanReceivedFile ¶
func EscapeMarkdown ¶
func FileDownloadURL ¶
func HandleFileMessage ¶
func ReplyMessage ¶
func SetDefaultStorage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.