id {gmailr}R Documentation

Get the id of a gmailr object

Description

Get the id of a gmailr object

Usage

id(x, ...)

## S3 method for class 'gmail_messages'
id(x, what = c("message_id", "thread_id"), ...)

Arguments

x

the object from which to retrieve the id

...

other parameters passed to methods

what

the type of id to return

Examples

## Not run: 
id(my_message)
id(my_draft)

## End(Not run)

[Package gmailr version 0.7.1 Index]