本文介绍了是否将功能添加到Gmail应用程序脚本API以获取分配给消息的星型类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Gmail设置允许在(黄色星,红色星,绿色检查,...)。

可以设置可以使用的星型的数量在Gmail中。



的包含,它只返回布尔值。它不提供设置的星型。



这个函数会被修改,或者被添加,以返回哪种类型的星星被设置为消息?

解决方案

似乎希望发生这种情况。最好的地方是在Apps脚本上填写增强请求。无论如何,因为我们在这个主题上,你可以通过发布。

Gmail settings allows to set a star of a different type among several ("yellow-star", "red-star", "green-check", ...).
The number of star types that can be used can be set in Gmail settings menu.

Google Apps Script's Gmail services includes a GmailMessage::isStarred that just returns a Boolean. It does not provide the type of star that is set.

Will this function be modified, or an other be added, to return which type of star is set to a message ?

解决方案

It seems that wishing for that to happen. The best place is fill an "Enhancement request" on Apps Script issue tracker.

Anyway, since we're on this subject, you can get all messages of a specific star by issue the appropriate search on gmail.

这篇关于是否将功能添加到Gmail应用程序脚本API以获取分配给消息的星型类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-01 15:53