Search

Lib.rs

› Email | Asynchronous
#stream #message #api #emoji #narrow #real-time-events #file-upload

zulip_rs

Rust library to access the Zulip API

by nukr

  • Install
  • API reference
  • GitHub (nukr)

7 releases

0.2.0 May 30, 2021
0.1.5 May 13, 2021
0.1.4 Dec 30, 2020
0.1.2 Nov 28, 2020

#535 in Email

MIT license

23KB
609 lines

Messages

  • 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

Streams

  • 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

Users

  • 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

Server & organizations

  • 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

  • Real time events API
  • Register an event queue
  • Get events from an event queue
  • Delete an event queue

Specialty endpoints

  • Fetch an API key (production)
  • Fetch an API key (development only)

Dependencies

~7–22MB
~260K SLoC

  • anyhow
  • log
  • pest
  • pest_derive
  • reqwest 0.11+json
  • serde+derive
  • serde_json
  • serde_qs 0.8
  • dev httpmock 0.5.8
  • dev tokio+full
See also: aws-sdk-personalizeevents, narrow, emojis, pict-rs, rustypaste, aws-sdk-workdocs, ripress, curl-http-client, cloudreve-cli, s3-algo, rusty-rain

Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski. It contains data from multiple sources, including heuristics, and manually curated data. Content of this page is not necessarily endorsed by the authors of the crate. This site is not affiliated with nor endorsed by the Rust Project. If something is missing or incorrect, please file a bug.