mirror of
https://github.com/mamoe/mirai.git
synced 2024-12-28 17:40:09 +08:00
Rename ExternalResource.Companion.uploadAsFileTo to uploadAsFile to keep consistency
This commit is contained in:
parent
09cbc55ef6
commit
0112d4622e
@ -291,7 +291,7 @@ public interface ExternalResource : Closeable {
|
||||
@JvmBlockingBridge
|
||||
@JvmName("uploadAsFile")
|
||||
@JvmOverloads
|
||||
public suspend fun ExternalResource.uploadAsFileTo(
|
||||
public suspend fun ExternalResource.uploadAsFile(
|
||||
contact: FileSupported,
|
||||
path: String,
|
||||
callback: RemoteFile.ProgressionCallback? = null
|
||||
|
Loading…
Reference in New Issue
Block a user