library
turbot/teams
OverviewPipelines
0
Triggers
0
Variables
GitHub

Send Channel Message

Send a new chat message in the specified channel.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run teams.pipeline.send_channel_message \
--arg 'channel_id=<string>' \
--arg 'message=<string>' \
--arg 'team_id=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = teams.pipeline.send_channel_message
args = {
channel_id = <string>
message = <string>
team_id = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
channel_idstringYesThe channel's unique identifier.-
messagestringYesThe message to send.-
message_content_typestringYesThe type of the content. Possible values are text and html.text
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
team_idstringYesThe unique identifier of the team.-

Outputs

NameDescription
messageChannel message details.