{"action":"created","issue":{"url":"https://api.github.com/repos/littlecodersh/ItChat/issues/69","repository_url":"https://api.github.com/repos/littlecodersh/ItChat","labels_url":"https://api.github.com/repos/littlecodersh/ItChat/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/littlecodersh/ItChat/issues/69/comments","events_url":"https://api.github.com/repos/littlecodersh/ItChat/issues/69/events","html_url":"https://github.com/littlecodersh/ItChat/issues/69","id":172914069,"node_id":"MDU6SXNzdWUxNzI5MTQwNjk=","number":69,"title":"求问add_member_into_chatroom怎么用？","user":{"login":"tylor-e","id":12898096,"node_id":"MDQ6VXNlcjEyODk4MDk2","avatar_url":"https://avatars0.githubusercontent.com/u/12898096?v=4","gravatar_id":"","url":"https://api.github.com/users/tylor-e","html_url":"https://github.com/tylor-e","followers_url":"https://api.github.com/users/tylor-e/followers","following_url":"https://api.github.com/users/tylor-e/following{/other_user}","gists_url":"https://api.github.com/users/tylor-e/gists{/gist_id}","starred_url":"https://api.github.com/users/tylor-e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylor-e/subscriptions","organizations_url":"https://api.github.com/users/tylor-e/orgs","repos_url":"https://api.github.com/users/tylor-e/repos","events_url":"https://api.github.com/users/tylor-e/events{/privacy}","received_events_url":"https://api.github.com/users/tylor-e/received_events","type":"User","site_admin":false},"labels":[{"id":313355785,"node_id":"MDU6TGFiZWwzMTMzNTU3ODU=","url":"https://api.github.com/repos/littlecodersh/ItChat/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-08-24T10:10:21Z","updated_at":"2018-12-06T13:54:48Z","closed_at":"2016-08-25T06:57:17Z","author_association":"NONE","body":"想实现发送“群”就拉人到指定群的功能，这个版本看到有add_member_into_chatroom和delete_member_from_chatroom的函数。但是要的两个变量是chatRoomName和，memberList\n\n我尝试写入了一个群的名字，把一个人的ID `@xxxxxxxxxxxxxxxxxx` 做成list（即[`@xxxxxxxxxxxxxxx`]），这两个值传入，报错\n\n看了下源代码，memberList里的member要有UserName属性，那我如何从发来消息的msg里，也就是msg['FromUserName']来转化成这个memberList呢？另外chatRoomName是单纯的在客户端看见那个群名字吗？\n\n最后我看着保持在线这个问题上，作者建议是定时向自动回复的公众号发消息，既然如此，给公众号也来一个List保存在storage里吧，其实我已经自己添加了这个功能，不过如果作者添加的话，我也就不用每个版本更新都手动去改了\n"},"comment":{"url":"https://api.github.com/repos/littlecodersh/ItChat/issues/comments/444877991","html_url":"https://github.com/littlecodersh/ItChat/issues/69#issuecomment-444877991","issue_url":"https://api.github.com/repos/littlecodersh/ItChat/issues/69","id":444877991,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDg3Nzk5MQ==","user":{"login":"jamesjiongsi","id":7054353,"node_id":"MDQ6VXNlcjcwNTQzNTM=","avatar_url":"https://avatars3.githubusercontent.com/u/7054353?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesjiongsi","html_url":"https://github.com/jamesjiongsi","followers_url":"https://api.github.com/users/jamesjiongsi/followers","following_url":"https://api.github.com/users/jamesjiongsi/following{/other_user}","gists_url":"https://api.github.com/users/jamesjiongsi/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesjiongsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesjiongsi/subscriptions","organizations_url":"https://api.github.com/users/jamesjiongsi/orgs","repos_url":"https://api.github.com/users/jamesjiongsi/repos","events_url":"https://api.github.com/users/jamesjiongsi/events{/privacy}","received_events_url":"https://api.github.com/users/jamesjiongsi/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T13:54:48Z","updated_at":"2018-12-06T13:54:48Z","author_association":"NONE","body":"@littlecodersh \r\n同问\r\nitchat.add_member_into_chatroom(chatroom_username, [friends[1]])\r\n返回\r\n<ItchatReturnValue: {'BaseResponse': {'Ret': 1, 'ErrMsg': '', 'RawMsg': ''}, 'MemberCount': 0, 'MemberList': []}>\r\n是否已关闭了拉人API?"}}
{"actor":{"display_login":"jamesjiongsi"}}