Access CHATS label with Gmail API

自闭症网瘾萝莉.ら 提交于 2019-12-04 05:12:01

问题


Does Gmail API provide a way to fetch Gmail chat logs? Chats is a label just like INBOX. I expected to find it in Users:label list but its not present.

Is there something I have to enable to allow CHATS label to show up? Is this feature supported in Gmail API?


回答1:


According to Find timestamp for hangout and chat messages retrieved with gmail api , the fact that chats show up in the Gmail API at all is a bug, not a feature. They are likely leaving it out of the list of labels intentionally.

From that answer, I'm inferring that accessing google hangouts history via the API is unsupported, and the ability to do so may disappear in the future.



来源:https://stackoverflow.com/questions/24523712/access-chats-label-with-gmail-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!