library
turbot/teams
OverviewPipelines
0
Triggers
0
Variables
GitHub

Send Chat Message

Send a new chat message in the specified chat.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run teams.pipeline.send_chat_message \
--arg 'chat_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_chat_message
args = {
chat_id = <string>
message = <string>
}
}

Params

NameTypeRequiredDefaultDescription
chat_idstringYes-The unique identifier for the chat.
messagestringYes-The message to send.
message_content_typestringYestextThe type of the content. Possible values are text and html.
credstringYesdefaultName for credentials to use. If not provided, the default credentials will be used.

Outputs

NameDescription
messageA new chat message object.