Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Commit

Permalink
Add payload "readOnly" in request of "channels.create" and "groups.cr…
Browse files Browse the repository at this point in the history
…eate"
  • Loading branch information
macabeus committed Oct 4, 2017
1 parent 3ca6a8b commit 424648d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions 6. Developer Guides/REST API/Channels/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <br> Default: `[]` | The users to add to the channel when it is created. |
| `readOnly` | `true` | Optional <br> Default: `false` | Set if the channel is read only or not. |

## Example Call
```bash
Expand Down
1 change: 1 addition & 0 deletions 6. Developer Guides/REST API/Groups/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <br> Default: `[]` | The users to add to the group when it is created. |
| `readOnly` | `true` | Optional <br> Default: `false` | Set if the group is read only or not. |

## Example Call
```bash
Expand Down

0 comments on commit 424648d

Please sign in to comment.