Skip to main content
Version: v6.5.0

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

parametermandatorytypedefault valueInstructions
wxwork_objTrueexpressionWxWorkObjectEnterprise WeChat object created using the WxWork. Create command
fileTruepath""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)