Closed dawid-niedzwiecki closed 5 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.
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?
Hi @bigblind, it's been over a month now. Is there any progress on this issue?
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.
The
Conversation.sendMessage
method is not yet implemented. When can we expect it to be implemented? Is there a workaround for now?