Software / code / prosody-modules
Comparison
mod_rest/README.markdown @ 4506:508cb880b163
mod_rest: Fix typos [codespell]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 09 Mar 2021 18:44:35 +0100 |
| parent | 4478:7ab0c423688a |
| child | 4518:073f5397c1d2 |
comparison
equal
deleted
inserted
replaced
| 4505:e11abf578df5 | 4506:508cb880b163 |
|---|---|
| 382 `state` | 382 `state` |
| 383 : String with current chat state, e.g. `"active"` (default) and | 383 : String with current chat state, e.g. `"active"` (default) and |
| 384 `"composing"` (typing). | 384 `"composing"` (typing). |
| 385 | 385 |
| 386 `html` | 386 `html` |
| 387 : String with HTML allowing rich formating. **MUST** be contained in a | 387 : String with HTML allowing rich formatting. **MUST** be contained in a |
| 388 `<body>` element. | 388 `<body>` element. |
| 389 | 389 |
| 390 `oob_url` | 390 `oob_url` |
| 391 : String with an URL of an external resource. | 391 : String with an URL of an external resource. |
| 392 | 392 |
| 465 : Data form with description of expected input and data types in | 465 : Data form with description of expected input and data types in |
| 466 the next step of multi-step commands. **TODO** document format. | 466 the next step of multi-step commands. **TODO** document format. |
| 467 | 467 |
| 468 `data` | 468 `data` |
| 469 : Map with only the data for result dataforms. Fields may be | 469 : Map with only the data for result dataforms. Fields may be |
| 470 stings or arrays of strings. | 470 strings or arrays of strings. |
| 471 | 471 |
| 472 ##### Example | 472 ##### Example |
| 473 | 473 |
| 474 Discovering commands: | 474 Discovering commands: |
| 475 | 475 |