Skip to content

Add new fields to label#70

Open
rasa wants to merge 1 commit intojeremyephron:masterfrom
rasa:rasa/add-label-fields
Open

Add new fields to label#70
rasa wants to merge 1 commit intojeremyephron:masterfrom
rasa:rasa/add-label-fields

Conversation

@rasa
Copy link
Contributor

@rasa rasa commented Apr 21, 2022

This adds all the fields returned by the labels.list API.

Example:

gmail = simplegmail.Gmail()

labels = gmail.list_labels()
for label in labels:
    print(label.name, label.id, label.type, label.messageListVisibility, label.labelListVisibility)

It also adds a predefined CHAT label, which was missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant