Makes a bot send a video message.
A video file can be sent by using a URL or a file ID.
Note
- Whenever a file ID is used to send a video message, the recipient's shared storage will be reduced by the size of the video.
| Parameter | Type | Required | Description |
|---|---|---|---|
| type | string | Y | Set this parameter to "video". |
| previewImageUrl | string | N | URL of the preview image (PNG format, HTTPS only) Maximum length: 1,000 characters Either previewImageUrl/originalContentUrl or fileId, but not both, must be specified (required). |
| originalContentUrl | string | N | URL of the source file (HTTPS only). Maximum length: 1,000 characters Either previewImageUrl/originalContentUrl or fileId, but not both, must be specified (required). |
| fileId | string | N | File ID acquired when uploading content. Either previewImageUrl/originalContentUrl or fileId, but not both, must be specified (required). |
{ "content": { "type": "video", "previewImageUrl": "https://www.worksmobile.com/preview.png", "originalContentUrl": "https://www.worksmobile.com/video.mp4" }}{ "content": { "type": "video", "fileId": "jp1.1628695315008671000.1628781715.0.1000001.0.0.0" }}