docs.rs failed to build telegram-bot-0.4.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
telegram-bot-0.8.0
Rust Telegram Bot Library
A library for writing your own Telegram bots. More information here. Official API here. Note: It's usable, but not feature complete yet.
Example
Here is a simple example (see example/simple.rs
):
extern crate telegram_bot;
use *;
You can find a bigger example in the examples
folder.
Usage
This library is available via crates.io
. In order to use it, just add this to your Cargo.toml
:
telegram-bot = "0.4"
Collaboration
Yes please! Every type of contribution is welcome: Create issues, hack some code or make suggestions. If you don't know where to start, just contact me (my email is on my github profile).
Please submit pull request against the dev
branch, unless all changes are just documentation fixes.
Todo
- "getMe"
- Methods without files
- "getMe"
- "sendMessage"
- "forwardMessage"
- "sendLocation"
- "sendChatAction"
- "getUserProfilePhotos"
- "getUpdates" and
long_poll
- "setWebhook" and
listen
- sending files ("sendAudio", "sendDocument", ...)
- More good documentation and examples
- Maybe think about multithreading stuff