设为首页 加入收藏

TOP

python实现微信接口(itchat)(三)
2017-12-23 06:07:03 】 浏览:1393
Tags:python 实现 接口 itchat
nbsp;     <op id='4'>

                <username>

                    # 最近联系的联系人

                    filehelper,xxx@chatroom,wxid_xxx,xxx,...

                </username>

                <unreadchatlist>

                    <chat>

                        <username>

                        # 朋友圈

                            MomentsUnreadMsgStatus

                        </username>

                        <lastreadtime>

                            1454502365

                        </lastreadtime>

                    </chat>

                </unreadchatlist>

                <unreadfunctionlist>

                # 未读的功能账号消息,群发助手,漂流瓶等

                </unreadfunctionlist>

            </op>

        </msg>

文本消息

MsgType: 1

    FromUserName: 发送方ID

    ToUserName: 接收方ID

    Content: 消息内容

图片消息

itchat 增加了 Text , 键值为下载该图片的方法.

MsgType: 3

    FromUserName: 发送方ID

    ToUserName: 接收方ID

    MsgId: 用于获取图片,用于表示每一条消息

    Content:

        <msg

首页 上一页 1 2 3 4 5 6 7 下一页 尾页 3/14/14
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇Python字符串操作 下一篇python 面向对象十 __init__和__n..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目