Create video message
Command Description
Create a video message that can be sent to employees or in groups in the future
Command Prototype
MessageObject = WxWork.CreateVideoMessage(wxwork_obj, file)
Command parameter
parameter | mandatory | type | default value | Instructions |
---|---|---|---|---|
wxwork_obj | True | expression | WxWorkObject | Enterprise WeChat object created using the WxWork. Create command |
file | True | path | "" | The format only supports mp4 |
Return result
Return_array, Assign the result of running the command to this variable.
Run instance
/********************************* Create Video Message **************************************
Command Prototype:
MessageObject = WxWork.CreateVideoMessage(wxwork_obj, file)
Input Parameters:
wxwork_obj -- WeChat Work object. Note: WeChat Work object created using the WxWork.Create command.
file -- Video file. Note: Only supports mp4 format.
Output Parameters:
return_array -- Variable to store the output of the function call.
Important Notes:
None
********************************************************************************/
Dim return_array = ""
MessageObject = WxWork.CreateVideoMessage(WxWorkObject, "")
TracePrint(return_array)