rocketchat_sdk 0.2.0 copy "rocketchat_sdk: ^0.2.0" to clipboard
rocketchat_sdk: ^0.2.0 copied to clipboard

A highly modular, strictly-typed, and enterprise-grade Dart & Flutter SDK for integrating Rocket.Chat REST APIs.

0.2.0 #

  • Subscriptions API Support: Added client.subscriptions.get and client.subscriptions.read for fetching active room subscriptions and marking subscriptions as read.
  • Direct Message API Enhancements: Added support for sending messages to DM rooms via client.dm.sendMessage.
  • User Avatar Support: Added client.users.getAvatar API to retrieve user avatar URLs, resolving redirects automatically and substituting localhost/127.0.0.1 with the configured client base URL.
  • Client Traffic Logging: Introduced logging capabilities via enableLogging and logPrinter options in RocketChatClient initialization.
  • Test Environment Support: Updated tests to run dynamically using environment variables or a .env file configuration.

0.1.0 #

  • Initial release of a fully modular, strictly-typed Rocket.Chat REST API SDK.
  • Support for Auth API (client.auth.login, client.auth.logout, client.auth.me) with dynamic header management.
  • Support for DM API (client.dm.list, client.dm.messages) for direct message chats.
  • Support for Channels API (client.channels.list, client.channels.create, client.channels.join, client.channels.leave, client.channels.history, client.channels.info).
  • Support for Users API (client.users.list, client.users.info, client.users.create, client.users.delete).
  • Built-in type safety with immutable Freezed models.
  • Fully validated under strict Very Good Analysis guidelines.
0
likes
70
points
0
downloads

Documentation

API reference

Publisher

verified publishermerterkoc.dev

Weekly Downloads

A highly modular, strictly-typed, and enterprise-grade Dart & Flutter SDK for integrating Rocket.Chat REST APIs.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

dio, freezed_annotation, json_annotation

More

Packages that depend on rocketchat_sdk