Trait teloxide_core::requests::MultipartPayload
source · pub trait MultipartPayload: Payload {
// Required methods
fn copy_files(&self, into: &mut dyn FnMut(InputFile));
fn move_files(&mut self, into: &mut dyn FnMut(InputFile));
}
Expand description
Payloads that need to be sent as multipart/form-data
because they contain
files inside.
Required Methods§
fn copy_files(&self, into: &mut dyn FnMut(InputFile))
fn move_files(&mut self, into: &mut dyn FnMut(InputFile))
Object Safety§
This trait is not object safe.