gm_thread: Get a single thread

View source: R/gm_thread.R

gm_threadR Documentation

Get a single thread

Description

Function to retrieve a given thread by id

Usage

gm_thread(id, user_id = "me")

Arguments

id

thread id to access

user_id

gmail user_id to access, special value of 'me' indicates the authenticated user.

References

https://developers.google.com/gmail/api/reference/rest/v1/users.threads

See Also

Other thread: gm_delete_thread(), gm_modify_thread(), gm_threads(), gm_trash_thread(), gm_untrash_thread()

Examples

## Not run: 
my_thread <- gm_thread(12345)

## End(Not run)

gmailr documentation built on July 9, 2023, 5:07 p.m.