library
turbot/teams
Get Involved
Version
Pipeline: 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
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_id | string | Yes | The channel's unique identifier. | - |
message | string | Yes | The message to send. | - |
message_content_type | string | Yes | The type of the content. Possible values are text and html. | text |
Outputs
Name | Description |
---|---|
message | Channel message details. |
Tags
type = featured