talkjs / talkjs-flutter

Flutter SDK for the TalkJS Chat API
https://talkjs.com
BSD 3-Clause "New" or "Revised" License
9 stars 14 forks source link

Conversation.sendMessage not implemented #57

Closed dawid-niedzwiecki closed 5 months ago

dawid-niedzwiecki commented 7 months ago
image

The Conversation.sendMessage method is not yet implemented. When can we expect it to be implemented? Is there a workaround for now?

frederikcreemers commented 7 months ago

Hi @dawid-niedzwiecki, thanks for reaching out.

We're working on exposing a consistent API that makes it easier for our mobile SDKs to implement stuff like this. In the meantime, your best bet is probably to use our REST API to send the message. You'll want to send a request to your own backend, and then from there, call our API.

I understand that this is annoying, and we have plans to make this a lot easier in the future.

dawid-niedzwiecki commented 7 months ago

Hi @bigblind, thanks for your response. That's a lot to do in order to programmatically send a message. Is there an ETA on when this will be implemented?

dawid-niedzwiecki commented 6 months ago

Hi @bigblind, it's been over a month now. Is there any progress on this issue?

frederikcreemers commented 5 months ago

Hi there, and sorry for the late response. I unfortunately can't give you an ETA on when we're releasing this, as it's a big architecture change in how we communicate with the backend. Currently, all communication to our server goes through the webview that's mounted when you mount a chatbox conversation list. We'd rather not call those internal APIs directly from our mobile SDKs, but we're adding ways to make calls to the TalkJS backend directly from our SDKs, which will allow sending messages and much more.