mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-23 06:51:01 +01:00
🤖 An elegant Telegram bots framework for Rust
https://docs.rs/teloxide
04281bd80a
- remove `FormBuilder::add_if_some` - `FormBuilder::add` now work properly with `Option` and `InputFile` - `FormBuilder::add_file` now accept `PathBuf` instead of `&PathBuf` and is used only in `SendMediaGroup::send` - `ToFormValue` renamed to `IntoFromValue` - `IntoFormValue::into_form_value` now accepts self by value and return `Option<FormValue>` instead of `String` (that gives `FormBuilder::add` abilities to work properly with `Option` and `InputFile`) - `requests::utils::file_to_part` now accepts `PathBuf` instead of `&PathBuf` - add `impl From<InputFile> for Option<PathBuf>` - add `impl From<InputMedia> for InputFile` - clean `{SendAudio,SendMediaGroup,SendPhoto}::send` code |
||
---|---|---|
src | ||
.gitignore | ||
.travis.yml | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
rustfmt.toml |