mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
Update webhooks.md (#381)
* Update webhooks.md * Create 381.doc * Capitalize Markdown Co-authored-by: Christian Paul <christian@chrpaul.de> Co-authored-by: Christian Paul <christian@chrpaul.de>
This commit is contained in:
parent
ea6382faa1
commit
8f2015b605
1
changelog.d/381.doc
Normal file
1
changelog.d/381.doc
Normal file
@ -0,0 +1 @@
|
||||
Clarify wording in Generic Hook Setup docs
|
@ -131,7 +131,7 @@ if (data.counter === undefined) {
|
||||
|
||||
### V1 API
|
||||
|
||||
The v1 API expects `result` to be a string. The string will be automatically transformed into markdown. All webhook messages
|
||||
The v1 API expects `result` to be a string. The string will be automatically interpreted as Markdown and transformed into HTML. All webhook messages
|
||||
will be prefix'd with `Received webhook:`. If `result` is falsey (undefined, false or null) then the message will be `No content`.
|
||||
|
||||
#### Example script
|
||||
|
Loading…
x
Reference in New Issue
Block a user