rocketchat / rocket.chat.kotlin.sdk Goto Github PK
View Code? Open in Web Editor NEWRocket.Chat's Kotlin SDK (REST & WebSocket abstractions)
License: MIT License
Rocket.Chat's Kotlin SDK (REST & WebSocket abstractions)
License: MIT License
The lastModified
field is mapped to the lm
key in the Subscriptions.kt
file here. Both the documentation and the actual response received use the ls
key.
I can send a PR, but since it's a tiny change it might be better to simply include it in a soon-to-be-merged one.
DOCS: RocketChat/Rocket.Chat#8947
Tests on: unstable.rocket.chat
Presently the SDK supports login only with username. In order to support login with email, the payload needs to be built with the key user
as mentioned in the api docs instead of username
which has been used currently(see here) for supporting login with username.
Are you willing to work on this?
Yes
Presently, the SDK does not have any rest call for fetching all members of a particular channel. In order to do so, a rest call needs to be made to the api endpoint /api/v1/channels.members
with the params roomName
or roomId
and api headers X-Auth-Token
and X-User-Id
.
Are you willing to work on this issue?
Yes
Methods:
REST API: RocketChat/Rocket.Chat#8531
For more info, refer docs.
Are you interested to work on this one?
Yes
The setAvatar(filename, mimeType)
function is not working. This is possibly happening because of incorrect form field provided in the code. See below:
It should be image
instead of image=
Delete chat message: https://rocket.chat/docs/developer-guides/rest-api/chat/delete/
Add GitLab support which can then be implemented in Android 2.0.0 version of the app. Thanks
More information: RocketChat/Rocket.Chat.Android#788
Requirement of a the rest api call for creating a new channel. Read the docs for more.
While working on an issue for the Android Native application, I noticed an error (See #762 for an example of this error produced by aniketsingh03) that popped up when a user would attempt to update their profile. From reading the documentation for the REST API, it looks like the payload is being delivered incorrectly. The API specifies that data should be delivered in this format:
{"userId": "BsNr28znDkG8aeo7W", "data": { "name": "new name", "email": "[email protected]" }}
However, the SDK appears to be delivering the data in this format:
{"userId": "BsNr28znDkG8aeo7W", "name": "new name", "email": "[email protected]"}
I observed this behaviour while looking through the LOGCAT for the Android 2.0 App
Possible Fix
Since UserPayload is also used when signing up, it can separated into SignUpPayload
and UpdatePayload
.
Willing to work on this issue
Yes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.