createSimpleImageMessage static method
Implementation
static createSimpleImageMessage(Map params) async {
return {
"elemType": 3,
"type": "image",
"imageElem": {
"file": params["inputElement"] ??
await createFile(
path: params["imagePath"],
name: params["imageName"],
),
}
};
}