puppet-padlocal
puppet-padlocal copied to clipboard
私聊发送gif图片,有返回值,但是实际在手机端并没有收到。
14:59:31 VERB Message say(FileBox#Base64<small.gif>)
14:59:31 VERB Message static load(5520244318649141126)
14:59:31 VERB Message constructor(5520244318649141126) for class WechatifiedMessage
14:59:31 VERB Message ready()
14:59:31 VERB Puppet messagePayload(5520244318649141126)
14:59:31 SILL Puppet messagePayloadCache(5520244318649141126) cache MISS
14:59:31 SILL Puppet messagePayload(5520244318649141126) cache SET
14:59:31 SILL Contact ready() @ Puppet#0<PuppetPadlocal>() with id="wxid_8kg1wdu3jvk322"
14:59:31 SILL Contact ready() isReady() true
14:59:31 SILL Contact ready() @ Puppet#0<PuppetPadlocal>() with id="Soul001001"
14:59:31 SILL Contact ready() isReady() true
14:59:31 SILL Message toString() for message type: Image(6)
msg: Message#Image[🗣Contact<疫情小助手>]
是把 gif 当作文件发送吗?
应该在接收方呈现为表情动图,而非文件。
是把 gif 当作文件发送吗?
是的 我这样设置之后,收到的是一张图片 而非表情动图

使用以下代码使emoticon正常工作。
const emoticonPayload: EmojiMessagePayload = {
"cdnurl": "",
"md5": "",
"len": ,
"type": 2,
"width": ,
"height": ,
}
const emoticon: FileBox = await FileBox.fromUrl(emoticonPayload.cdnurl)
emoticon.mimeType = "emoticon";
emoticon.metadata = emoticonPayload
room.say(emoticon)
可以关闭这个issue了。
使用以下代码使emoticon正常工作。
const emoticonPayload: EmojiMessagePayload = { "cdnurl": "", "md5": "", "len": , "type": 2, "width": , "height": , } const emoticon: FileBox = await FileBox.fromUrl(emoticonPayload.cdnurl) emoticon.mimeType = "emoticon"; emoticon.metadata = emoticonPayload room.say(emoticon)可以关闭这个issue了。
请问下 EmojiMessagePayload 这个体里面的内容是必须属于自己已经收藏的表情吗。 还有方便告知下FileBox,wechaty的版本吗