Open cubarco opened 2 years ago
看了下,限制是在UploadMediaRequest的inputMediaDocumentExternal限制大小是20MB。
那么能否支持使用自建Bot API上传大文件?或者缓存本地后用send_file、upload_file上传呢(确实会有额外损耗)?
RSStT does not use HTTP bot API, but MTProto API. Thus, a self-hosted HTTP bot API instance would not work with RSStT, just like the official one.
It is possible to download and upload media to work around the limitation. It is not implemented yet, however, as the use cases are rare but data traffic concerns are common. No matter whether implemented or not in the future, the public demo would not enable such a feature, in order to save the data traffic and avoid being DDoS (but self-hosted bots will be able to enable it, of course).
大部分播客节目一期的音频文件大小都会超过20MB,可否增加支持大文件上传?