From 424648d2ead1277659425143aa9d35cb4b5b38b2 Mon Sep 17 00:00:00 2001 From: Bruno Macabeus Aquino Date: Wed, 4 Oct 2017 11:33:56 -0300 Subject: [PATCH] Add payload "readOnly" in request of "channels.create" and "groups.create" --- 6. Developer Guides/REST API/Channels/create.md | 1 + 6. Developer Guides/REST API/Groups/create.md | 1 + 2 files changed, 2 insertions(+) diff --git a/6. Developer Guides/REST API/Channels/create.md b/6. Developer Guides/REST API/Channels/create.md index 20dd46a1c9..3f733c9034 100644 --- a/6. Developer Guides/REST API/Channels/create.md +++ b/6. Developer Guides/REST API/Channels/create.md @@ -14,6 +14,7 @@ Creates a new public channel, optionally including specified users. The channel | :--- | :--- | :--- | :--- | | `name` | `channelname` | Required | The name of the new channel | | `members` | `["rocket.cat"]` | Optional
Default: `[]` | The users to add to the channel when it is created. | +| `readOnly` | `true` | Optional
Default: `false` | Set if the channel is read only or not. | ## Example Call ```bash diff --git a/6. Developer Guides/REST API/Groups/create.md b/6. Developer Guides/REST API/Groups/create.md index 291b0f8b6a..0bb8587ca1 100644 --- a/6. Developer Guides/REST API/Groups/create.md +++ b/6. Developer Guides/REST API/Groups/create.md @@ -14,6 +14,7 @@ Creates a new private group, optionally including specified users. The group cre | :--- | :--- | :--- | :--- | | `name` | `testing` | Required | The name of the new private group | | `members` | `["rocket.cat"]` | Optional
Default: `[]` | The users to add to the group when it is created. | +| `readOnly` | `true` | Optional
Default: `false` | Set if the group is read only or not. | ## Example Call ```bash