Giter Club home page Giter Club logo

Comments (5)

littlecodersh avatar littlecodersh commented on May 12, 2024

@featheraaa
topic是chatroom的名字
add_friend需要的三个参数都被存在了好友申请消息产生的msg的Text键值中了,所以可以这么用:

@itchat.msg_register('Friends')
def add_friend(msg):
    itchat.add_friend(**msg['Text'])
    itchat.send_msg('Nice to meet you!', msg['RecommendInfo']['UserName'])

from itchat.

featheraaa avatar featheraaa commented on May 12, 2024

@littlecodersh
哦,我知道了,还以为是主动加好友呢,哈~

from itchat.

littlecodersh avatar littlecodersh commented on May 12, 2024

@featheraaa 好的

from itchat.

featheraaa avatar featheraaa commented on May 12, 2024

@littlecodersh
create_chatroom 创建出来的群是否自动 保存在 通讯录的群组里
因为有时候 手机上创建群聊的时候 会把创建的群不保存在 通讯录的群组里
变成一个零时群,不是永久群

from itchat.

littlecodersh avatar littlecodersh commented on May 12, 2024

@featheraaa 不会的

from itchat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.