Unverified Commit 642d42bd authored by Jorge Alberto Díaz Orozco (Akiel)'s avatar Jorge Alberto Díaz Orozco (Akiel) Committed by GitHub
Browse files

Correct the format on the payload table for createDiscussion endpoint (#1810)

parent c26313ce
......@@ -12,7 +12,13 @@ Creates a new discussion for room. It requires at least one of the following per
## Payload
\| `prid` \| `GENERAL` \| Required \| Parent room id of the discussion. \| \| `t_name` \| `discussion name` \| Required \| Discussion name. \| \| `users` \| `['rocket.cat']` \| Optional\| Array of users to join in the discussion, if not provide will be an empry array\(Note: if provided, it must be an array\). \| \| `pmid` \| `aobEgbghXfe543keqG` \| Optional \| Parent message id\(if the discussion comes from a message\). \| \| `reply` \| `reply of this discussion` \| Optional \| The reply of the discussion. \|
| Argument | Example | Required | Description |
| :--- | :--- | :--- | :--- |
| `prid` | `GENERAL` | Required | Parent room id of the discussion. |
| `t_name` | `discussion name` | Required | Discussion name. |
| `users` | `['rocket.cat']` | Optional | Array of users to join in the discussion, if not provide will be an empry array\(Note: if provided, it must be an array\). |
| `pmid` | `aobEgbghXfe543keqG` | Optional | Parent message id\(if the discussion comes from a message\). |
| `reply` | `reply of this discussion` | Optional | The reply of the discussion. |
## Example Call
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment