mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-05-11 18:10:01 +08:00
fix: update max upload part size to use uploader's maximum value and adjust document upload options
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
package tglimit
|
||||
|
||||
import (
|
||||
"github.com/gotd/td/telegram/uploader"
|
||||
)
|
||||
|
||||
const (
|
||||
MaxPartSize = 1024 * 1024
|
||||
MaxUploadPartSize = 512 * 1024
|
||||
MaxUploadPartSize = uploader.MaximumPartSize
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user