Rust library to access the Zulip API
#[tokio::main]
async main() -> Result<()>{
let client = Client::parse(rc)?;
let req = SendMessageRequest::Private {
to: "[8]".to_string(),
content: "hello world".to_string(),
};
let resp = client.send_message(req).await?;
println!("{:?}", resp);
}
- Send a message (tested)
- Upload a file
- Edit a message
- Delete a message (tested)
- Get messages (tested)
- Construct a narrow
- Add an emoji reaction
- Remove an emoji reaction
- Render a message
- Get a message's raw Markdown
- Check messages match narrow
- Get a message's edit history
- Update personal message flags
- Mark messages as read in bulk
- Get subscribed streams
- Subscribe to a stream
- Unsubscribe from a stream
- Get subscription status
- Update subscription settings
- Get all streams
- Get stream ID
- Create a stream
- Update a stream
- Archive a stream
- Get topics in a stream
- Topic muting
- Get all users
- Get own user
- Get a user
- Get a user by email
- Update a user
- Create a user
- Deactivate a user
- Reactivate a user
- Deactivate own user
- Set "typing" status
- Get user presence
- Get attachments
- Update display settings
- Update notification settings
- Get user groups
- Create a user group
- Update a user group
- Delete a user group
- Update user group members
- Mute a user
- Unmute a user
- Get server settings
- Get linkifiers
- Add a linkifier
- Update a linkifier
- Remove a linkifier
- Add a playground
- Remove a playground
- Get all custom emoji
- Upload custom emoji
- Get all custom profile fields
- Reorder custom profile fields
- Create a custom profile field
- Real time events API
- Register an event queue
- Get events from an event queue
- Delete an event queue
- Fetch an API key (production)
- Fetch an API key (development only)