gm_id: Get the id of a gmailr object

Description Usage Arguments Examples

View source: R/gmailr.R

Description

Get the id of a gmailr object

Usage

1
2
3
4
5
gm_id(x, ...)

## S3 method for class 'gmail_messages'
gm_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

1
2
3
4
5
## Not run: 
gm_id(my_message)
gm_id(my_draft)

## End(Not run)

gmailr documentation built on Aug. 23, 2019, 5:06 p.m.