signal-cli-rest-api icon indicating copy to clipboard operation
signal-cli-rest-api copied to clipboard

How to send to an accout which has only a user name?

Open MilamberValheru opened this issue 1 year ago • 3 comments

(Maybe this is not a feature and I just missed the documentation.)

Within signal You can hide your phone number and make only a user name public, something like "thatsme.123". How can I send a message to such an address? Is there a special syntax for this recipent field?

Using "recipients": [ "thatsme.108" ] in http://localhost:8080/v2/send Post responds with "error": "Failed to send (some) messages:\n+49123: Unregistered user \"+49123\"\n1714855949363\nFailed to send message\n"

MilamberValheru avatar May 04 '24 20:05 MilamberValheru

Although that is already supported by the upstream signal-cli, there is no support yet in the REST API wrapper. But it is on my todo list.

bbernhard avatar May 07 '24 15:05 bbernhard

In case someone wants to give it a try, there's now a docker image for testing here: bbernhard/signal-cli-rest-api:0.159-dev

bbernhard avatar May 27 '24 18:05 bbernhard

Excellent, hopefully this gets merged into main soon.

thedeadliestcatch avatar May 29 '24 14:05 thedeadliestcatch

@bbernhard I suggest closing this issue.

GergelyGombai avatar Oct 18 '24 16:10 GergelyGombai

Ok, seems to work now 😄🙏

MilamberValheru avatar Oct 19 '24 10:10 MilamberValheru