本文介绍了查找使用gmail API检索到的视频群聊和聊天消息的时间戳的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在摆弄Gmail API时,我注意到,如果我不使用任何过滤器,则 Users.messages:list 方法还返回通过Google Hangouts或Gmail聊天发送和接收的消息.很好.

While fiddling with the Gmail API, I noticed that if I don't use any filters, the Users.messages: list method also returns messages sent and received through Google Hangout or Gmail Chat. Which is very nice.

视频群聊消息的json对象的结构类似于电子邮件(带有有效负载,标头等),但提供的唯一标头是发件人.没有有关消息发送时间的信息.我浏览了所有其他Gmail API方法(线程,历史记录...),但是它们都不提供聊天消息的日期时间信息.

The json object for a Hangout message is structured like an email (with payload, headers etc), but the only header provided is the sender. There's no information about the time the message is sent. I've looked through all other Gmail API methods (threads, history...) but none of them provides datetime information for chat messages.

是否知道(如何/可以在后端流程中)查找聊天/环聊消息的时间戳?

Any idea if/how I could lookup a timestamp for chat/hangout messages (from within a backend process)?

推荐答案

Gmail API中显示的环聊聊天是一个已知问题,不支持将Gmail API用于环聊.

Hangout chats show up in the Gmail API is a known issue, using the Gmail API for Hangout chats is not supported.

这篇关于查找使用gmail API检索到的视频群聊和聊天消息的时间戳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 02:04