python-3.x - 如何获取 Skype 群聊 ID

标签 python-3.x

如何从 Skype 帐户中查找 SkypeGroupChat ID。我想使用 Skype API (SkPy with python) 向 Skype 群组发送消息

最佳答案

我发现了另一种查看聊天ID的方法:

  • 登录您的 Web Skype使用 Chrome,
  • 按 F12 打开开发者工具,
  • 切换到“网络”选项卡,然后在需要知道ID的聊天组中发送一些消息,
  • 查找网络记录,你会发现一些发送消息的请求是这样的:
  • Request URL: https://client-s.gateway.messenger.live.com/v1/users/ME/conversations/19%3Axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx%40thread.skype/messages?x-ecs-etag=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx....
    

    在路径中的“对话”之后,“19:xxxxxxxxxxxxxxxxxxxxx...@thread.skype”是您想要的聊天组 ID。 (%3A 是“:”,%40 是“@”)

    关于python-3.x - 如何获取 Skype 群聊 ID,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45862364/

    相关文章:

    python 流子进程 stdout 和 stderr zip 不起作用

    Python Xlsxwriter 无法正常工作

    python - 修改包含元组的字典

    python-3.x - 使用 `os.system`调用gpg时如何传递加密消息和密码?

    python-3.x - 在 pytorch 中学习之前对图像进行标准化

    regex - Python正则表达式在匹配后匹配n行

    python - zip 变量首次使用后为空

    python - 在 N 分钟不活动后将用户从 Django 站点注销

    python - 如何在 django 中执行操作后重定向到同一页面

    python - 为什么我的列表是 Nonetype?在 python