Closed dcsan closed 9 years ago
maybe there is no output XML wrapper? It exists for video but not shortvideo
https://github.com/node-webot/wechat/blob/master/lib/wechat.js#L69
'<% } else if (msgType === "video") { %>',
'<Video>',
'<MediaId><![CDATA[<%-content.mediaId%>]]></MediaId>',
'<Title><![CDATA[<%-content.title%>]]></Title>',
'<Description><![CDATA[<%-content.description%>]]></Description>',
'</Video>',
maybe shortvideo is just for receive and not for sending?
yes, currently just can receive it. server can not send shortvideo to anyone.
sorry for poor english.
thanks for your reply! 对不起,我不说中国 :(
it also seems you cannot send it from the admin panel, just from the client.
(sorry, english only!)
can you send "sight" files?
it looks like "shortvideo" type is supported: https://github.com/node-webot/wechat/blob/master/lib/wechat.js#L383
but just not documented. However I cannot get a short video to send.
I sent a "sight" file to myself, and then checked the ID. but the file doesn't get sent.