jadolg / rocketchat_API

Python API wrapper for Rocket.Chat
MIT License
268 stars 93 forks source link

Is there any callback interface for us to subscribe? #227

Closed HuXinjing closed 1 year ago

HuXinjing commented 1 year ago

Is there any callback interface for us to subscribe for? It seems we need to poll by ourselves with _rocket.channelshistory('GENERAL', count=5).json()

jadolg commented 1 year ago

This library only talks to the REST API so far. There's a realtime API and it looks like someone wrote a wrapper for it already https://github.com/hynek-urban/rocketchat-async

HuXinjing commented 1 year ago

This library only talks to the REST API so far. There's a realtime API and it looks like someone wrote a wrapper for it already https://github.com/hynek-urban/rocketchat-async

Thx,that's exactly what I need.