library
turbot/teams
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
team_idstringYesThe unique identifier of the team.-
channel_namestringYesChannel name as it will appear to the user in Microsoft Teams.-
channel_descriptionstringNoOptional textual description for the channel.-
membership_typestringYesThe 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

NameDescription
channelThe created channel.