openim-sdk-core icon indicating copy to clipboard operation
openim-sdk-core copied to clipboard

[FEATURE REQUEST] Add Documentation for open-im-sdk-core in Go

Open syncmeta opened this issue 1 year ago • 2 comments

Why this feature?

We are looking to develop a bot using the core SDK directly in Go. The existing client SDKs provide documentation for various platforms, but there is a lack of documentation for the core SDK in Go. Implementing complex bot features, such as responding to user's typing status, requires direct use of the core SDK in Go. We would greatly appreciate it if you could provide documentation for implementing the open-im-sdk-core in Go.

Suggested Solution

Please provide documentation for using open-im-sdk-core with Go. Thank you!

Additional Information

No response

syncmeta avatar Dec 11 '24 09:12 syncmeta

Do you mean the development bot is an embedded device or just software on a phone? If it's an embedded device, would MQTT be a better option for you?

skiffer-git avatar Dec 12 '24 02:12 skiffer-git

Do you mean the development bot is an embedded device or just software on a phone? If it's an embedded device, would MQTT be a better option for you?

Thanks for your reply. Now we found that adding a webhook and REST API for typing status might work better. The bot simulates a single user on the server and interacts through the server API. At first, we tried to make the bot respond to typing status, but the server API doesn’t provide that feature. So we attempted to simulate it directly using the client SDK in Go. Now we realize that was unnecessary, as the server API is already detailed and powerful enough to handle most simulations, except for responding to typing status. Could you add support for a typing status webhook and REST API? It would make it much easier for bots to interact more naturally.

syncmeta avatar Dec 12 '24 04:12 syncmeta