library
turbot/teams
Get Involved
Version
Pipeline: Create Channel
Create a new channel in a team.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run teams.pipeline.create_channel \ --arg 'team_id=<string>' \ --arg 'channel_name=<string>'Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = teams.pipeline.create_channel args = { team_id = <string> channel_name = <string> }}Params
| Name | Type | Required | Description | Default |
|---|---|---|---|---|
| cred | string | Yes | Name for credentials to use. If not provided, the default credentials will be used. | default |
| team_id | string | Yes | The unique identifier of the team. | - |
| channel_name | string | Yes | Channel name as it will appear to the user in Microsoft Teams. | - |
| channel_description | string | No | Optional textual description for the channel. | - |
| membership_type | string | Yes | The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. | standard |
Outputs
| Name | Description |
|---|---|
| channel | The created channel. |