createSimpleVideoMessage static method
Implementation
static createSimpleVideoMessage(
String videoFilePath,
dynamic file,
) async {
return {
"elemType": 5,
"type": "video",
"videoElem": {
"videoFilePath": videoFilePath,
"file": file ?? await createFile(path: videoFilePath),
}
};
}