Struct mwbot::upload::UploadRequest
source · pub struct UploadRequest { /* private fields */ }
Expand description
Builder to construct a request for file uploads
Implementations§
source§impl UploadRequest
impl UploadRequest
Add tags to the edit and upload entry
sourcepub fn ignore_warnings(self, val: bool) -> Self
pub fn ignore_warnings(self, val: bool) -> Self
Ignore any upload warnings
sourcepub fn chunk_size(self, val: usize) -> Self
pub fn chunk_size(self, val: usize) -> Self
Set the chunk size, in bytes. By default it is
5MB (5_000_000
).