Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问下如何接受图片消息,下载或者读取图片 #17

Open
notomatoes opened this issue Jan 31, 2024 · 3 comments
Open

请问下如何接受图片消息,下载或者读取图片 #17

notomatoes opened this issue Jan 31, 2024 · 3 comments

Comments

@notomatoes
Copy link

接受的图片消息是下面的格式,要怎么保存或者读取图片呢

{
    "data": [
        {
            "BytesExtra": "Cxxxxxxxxxxxxxxxxxxxxx===",
            "BytesTrans": "",
            "CompressContent": "",
            "CreateTime": "1706664281",
            "DisplayContent": "",
            "FlagEx": "0",
            "IsSender": "0",
            "MsgSequence": "8xxxxxxx8",
            "MsgServerSeq": "1",
            "MsgSvrID": "11xxxxxxxxxxxxxx5",
            "Reserved0": "0",
            "Reserved1": "2",
            "Reserved2": "",
            "Reserved3": "",
            "Reserved4": "",
            "Reserved5": "",
            "Reserved6": "",
            "Sequence": "1xxxxxxxxxxxx00",
            "Status": "4",
            "StatusEx": "0",
            "StrContent":"<?xml version=\"1.0\"?>\n<msg>\n\t< img aeskey=\"74af4xxxxxxxxx50\" encryver=\"1\" cdnthumbaeskey=\"74afxxxxxxx0\" cdnthumburl=\"3057xxxxxx0\" cdnthumblength=\"5278\"  
.........

BytesExtra 用base64解析之后是这样的内容

������� ��<msgsource>
    <bizflag>0</bizflag>
    <pua>1</pua>
    <sec_msg_node>
        <uuid>d6a3xxxxxxxxxxxxxxx85_</uuid>
        <alnode>
            <fr>1</fr>
        </alnode>
    </sec_msg_node>
    <signature>V1xxxxxxxxxxxxC</signature>
    <tmp_node>
        <publisher-id />
    </tmp_node>
</msgsource>
�$��� dcb2xxxxxx691�R���Nwxid_xxxxxxxxxxxx2\FileStorage\Cache\2024-01\fcbxxxxxxxxxx996f

这个cache路径也没有文件
FileStorage\Cache\2024-01\fcbxxxxxxxxxx996f

@atorber
Copy link

atorber commented Feb 1, 2024

@geekyzk
Copy link

geekyzk commented Apr 23, 2024

@atorber 您好,想咨询一下现在都是缩略图,怎么能得到大图? 好像只有人工点击后,才有,能默认就有么?

@atorber
Copy link

atorber commented May 1, 2024

暂时不能

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants