-
Notifications
You must be signed in to change notification settings - Fork 939
Closed
Description
Model in the SDK:
Lines 32 to 40 in 407d85e
| public class VideoMessageContent implements MessageContent { | |
| @JsonPOJOBuilder(withPrefix = "") | |
| public static class VideoMessageContentBuilder { | |
| // Providing builder instead of public constructor. Class body is filled by lombok. | |
| } | |
| String id; | |
| URI url; | |
| ContentProvider contentProvider; |
Model in the document:
https://developers.line.biz/en/reference/messaging-api/#wh-video
{
"id": "325708",
"type": "video",
"duration": 60000,
"contentProvider": {
"type": "external",
"originalContentUrl": "https://example.com/original.mp4",
"previewImageUrl": "https://example.com/preview.jpg"
}
}
In SDK, the model has no duration field and has one extra url field.
Metadata
Metadata
Assignees
Labels
No labels