Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mazzz1y committed Apr 30, 2023
1 parent 33d001a commit 4807320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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": "<bot username>"}, "password": "<bot password>", "initial_device_display_name": "Webhook Client"}' "https://<your-server>/_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:
Expand Down

0 comments on commit 4807320

Please sign in to comment.