def send_group_invitation(msg) -> None:
chatroom_id = itchat.search_chatrooms(name=GROUP_NAME)[0].UserName
itchat.add_member_into_chatroom(chatroomUserName=chatroom_id, useInvitation=True, memberList=[msg.User])
评论列表
文章目录