Mercurial > prosody-modules
comparison mod_post_msg/README.markdown @ 2986:e85cf5a443e2
mod_post_msg/README: Clarify 'body' fields
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 04 Apr 2018 15:50:52 +0200 |
| parents | 7467509abdbb |
| children | 2af0be50b287 |
comparison
equal
deleted
inserted
replaced
| 2985:7467509abdbb | 2986:e85cf5a443e2 |
|---|---|
| 25 --------------- | 25 --------------- |
| 26 | 26 |
| 27 Supported formats are: | 27 Supported formats are: |
| 28 | 28 |
| 29 `text/plain` | 29 `text/plain` |
| 30 : The HTTP body is used as message `<body>`. | 30 : The HTTP body is used as plain text message payload, in the `<body>` |
| 31 element. | |
| 31 | 32 |
| 32 `application/x-www-form-urlencoded` | 33 `application/x-www-form-urlencoded` |
| 33 : Allows more fields to be specified. | 34 : Allows more fields to be specified. |
| 34 | 35 |
| 35 ### Data fields | 36 ### Data fields |
| 41 | 42 |
| 42 `type` | 43 `type` |
| 43 : [Message type.](https://xmpp.org/rfcs/rfc6121.html#message-syntax-type) | 44 : [Message type.](https://xmpp.org/rfcs/rfc6121.html#message-syntax-type) |
| 44 | 45 |
| 45 `body` | 46 `body` |
| 46 : Plain text message payload. | 47 : Plain text message payload which goes in the `<body>` element. |
| 47 | 48 |
| 48 Acknowledgements | 49 Acknowledgements |
| 49 ---------------- | 50 ---------------- |
| 50 | 51 |
| 51 Some code originally borrowed from mod\_webpresence | 52 Some code originally borrowed from mod\_webpresence |
