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

Commit

Permalink
Merge pull request #404 from macabeus/master
Browse files Browse the repository at this point in the history
Add payload "readOnly" in request of "channels.create" and "groups.create"
  • Loading branch information
MartinSchoeler authored Oct 17, 2017
2 parents 4a47483 + 424648d commit 10a1c27
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 10a1c27

Please sign in to comment.