Trait telbot_types::FileMethod [−][src]
pub trait FileMethod: TelegramMethod + Serialize {
fn files(&self) -> Option<HashMap<&str, &InputFile>>;
}Expand description
Methods that should be sent in multipart or JSON format
pub trait FileMethod: TelegramMethod + Serialize {
fn files(&self) -> Option<HashMap<&str, &InputFile>>;
}Methods that should be sent in multipart or JSON format