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 'team_id=<string>' \
--arg 'channel_id=<string>' \
--arg 'message=<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 = {
team_id = <string>
channel_id = <string>
message = <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_idstringYesThe channel's unique identifier.-
messagestringYesThe message to send.-
message_content_typestringYesThe type of the content. Possible values are text and html.text

Outputs

NameDescription
messageChannel message details.

Tags

type = featured