library
turbot/teams
Get Involved
Version
Pipeline: Create Chat
Create a new one-on-one or group chat.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run teams.pipeline.create_chat \ --arg 'chat_type=<string>'Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = teams.pipeline.create_chat args = { chat_type = <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 |
| chat_type | string | Yes | Specifies the type of chat. | - |
| topic | string | No | Subject or topic for the chat. Only available for group chats. | - |
| user_ids | list(string) | No | List of conversation members that should be added. One-on-one chat requires minimum of 2 users including the current user. | - |
Outputs
| Name | Description |
|---|---|
| chat | The newly created chat resource. |