From 4807320127b865aca0ad6c13ff36c69e30c2dca7 Mon Sep 17 00:00:00 2001 From: Dmitry Rubtsov Date: Sun, 30 Apr 2023 22:38:49 +0600 Subject: [PATCH] update readme --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 4c11248..0f2e7f9 100644 --- a/readme.md +++ b/readme.md @@ -53,7 +53,7 @@ Alternatively, you can set these options using command-line flags. Run `./go-mat ```bash curl -X POST -H "Content-Type: application/json" -d '{"type": "m.login.password", "identifier": {"type": "m.id.user", "user": ""}, "password": "", "initial_device_display_name": "Webhook Client"}' "https:///_matrix/client/r0/login" ``` -Get `access_token` from curl output. Don't forget to add bot to your room! +Get the `access_token` from the curl output and pass it into this application along with other required variables. Don't forget to add the bot to your room! ### Send Messages To send a message, simply make a POST request with the following structure: