🤖 An elegant Telegram bots framework for Rust https://docs.rs/teloxide
Find a file
Waffle 445c42b585 Refactor file downloading
- Make `net` module public
- Move `Bot::download_file{,_stream}` methods to a new `Download` trait
  - Add `download_forward` macro to forward `Download` impls (priv)
  - Impl `Download` for all bot adaptors & the `Bot` itself
- Change return type of `download_file_stream` — return `Stream<Result<Bytes>>``,
  instead of `Future<Result<Stream<Result<Bytes>>>>``
- Add `api_url` param to standalone versions of `download_file{,_stream}`
- Make `net::{TELEGRAM_API_URL, download_file{,_stream}}` pub
- Small documentation changes
2020-12-12 15:52:47 +03:00
.github/workflows Initial commit 2020-08-12 18:04:50 +03:00
src Refactor file downloading 2020-12-12 15:52:47 +03:00
.gitignore Initial commit 2020-08-12 18:04:50 +03:00
Cargo.toml Add all tba methods to Requester trait 2020-11-24 19:32:29 +03:00
CHANGELOG.md Rename StickerType 2020-11-04 16:00:40 +03:00
LICENSE Initial commit 2020-08-06 16:40:41 +03:00
netlify.toml Initial commit 2020-08-12 18:04:50 +03:00
README.md Add badges to readme 2020-08-12 20:17:26 +03:00
rustfmt.toml Move core code from teloxide 2020-08-12 19:39:40 +03:00

teloxide-core

CI status documentation (master) LICENSE

Core part of teloxide library.