mirror of
https://github.com/awfufu/qbot.git
synced 2026-03-01 13:29:43 +08:00
12 lines
246 B
Go
12 lines
246 B
Go
package api
|
|
|
|
func UploadPrivateFile(c Client, userID uint64, file, name string) error {
|
|
params := map[string]any{
|
|
"user_id": userID,
|
|
"file": file,
|
|
"name": name,
|
|
}
|
|
_, err := c.SendParams("upload_private_file", params)
|
|
return err
|
|
}
|