Crates.io | tweety |
lib.rs | tweety |
version | 0.1.5 |
source | src |
created_at | 2022-06-07 18:00:52.45694 |
updated_at | 2022-06-09 23:44:02.773191 |
description | A wrapper for twitter v2.0 api written for rust. |
homepage | https://github.com/Nicest-One/rust-tweety |
repository | https://github.com/Nicest-One/rust-tweety |
max_upload_size | |
id | 601617 |
size | 35,629 |
A wrapper for twitter v2.0 api written for rust.
Create a new tweety::Bot
struct and send a message with it.
use tweety::Bot;
fn main() {
let bot = Bot::new(
access_token: "twitter bot access token"
)
let response = bot.send_message("This is a test Tweet! :)").unwrap();
println!("{:?}", response.data);
}