SoraApi.UploadGroupFile method
上传群文件
public ValueTask<ApiStatus> UploadGroupFile(long groupId, string localFilePath, string fileName,
string folderId = null, int timeout = 10000)
parameter | description |
---|---|
groupId | 群号 |
localFilePath | 本地文件路径 |
fileName | 上传文件名 |
folderId | 父目录ID |
timeout | API超时覆盖 |
Return Value
API状态
See Also
- struct ApiStatus
- class SoraApi
- namespace Sora.Entities.Base