007gzs / dingtalk-sdk

钉钉 dingding Python SDK。 DingTalk SDK for Python http://dingtalk-sdk.readthedocs.io/zh_CN/latest/
GNU General Public License v3.0
183 stars 56 forks source link

会话 获取群会话请求方法错误 #15

Closed BUGLAN closed 5 years ago

BUGLAN commented 5 years ago

源码

def get(self, chatid):
        """
        获取会话

        :param chatid: 群会话的id
        :return: 群会话信息
        """
        return self._post(
            '/chat/get',
            {'chatid': chatid},
            result_processor=lambda x: x['chat_info']
        )

钉钉文档

请求方式:GET(HTTPS)
请求地址:https://oapi.dingtalk.com/chat/get?access_token=ACCESS_TOKEN