🤖 An elegant Telegram bots framework for Rust https://docs.rs/teloxide
Find a file
Waffle 04281bd80a A bunch of changes to multipart requests
- 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
2019-10-15 00:10:12 +03:00
src A bunch of changes to multipart requests 2019-10-15 00:10:12 +03:00
.gitignore Ignore .idea/ (.gitignore) 2019-09-02 00:23:03 +06:00
.travis.yml Run Travis CI on the nightly channel 2019-09-02 13:35:28 +06:00
Cargo.toml remove apply dep 2019-10-13 13:36:19 +03:00
LICENSE Create LICENSE 2019-09-01 22:54:39 +06:00
README.md Update README.md 2019-10-08 22:22:23 +06:00
rustfmt.toml Set the line width to 80 (rustfmt.toml) 2019-09-04 20:07:56 +06:00

async-telegram-bot