teams file upload
Auto-generated reference
This page is generated from checked-in CLI metadata for release v0.3.0. Do not edit it by hand.
Upload a file to a channel.
Synopsis
teams file upload --team TEAM_ID --channel CHANNEL_ID (--file PATH | --stdin --name NAME)
Options
| Option | Value | Required | Env | Default | Description |
|---|---|---|---|---|---|
--team | TEAM_ID | yes | Team ID | ||
--channel | CHANNEL_ID | yes | Channel ID | ||
--file | PATH | no | Local file path to upload | ||
--stdin | no | Read file bytes from stdin | |||
--name | NAME | no | Filename (required with --stdin) |
Examples
No command-specific examples are published yet.
Exit Codes
| Code | Meaning |
|---|---|
| 0 | success |
| 2 | invalid input |
| 3 | authentication error |
| 4 | permission denied |
| 6 | rate limited |