gm_untrash_thread: Remove a single thread from the trash.

View source: R/gm_thread.R

gm_untrash_threadR Documentation

Remove a single thread from the trash.

Description

Function to untrash a given thread by id. This can reverse the results of a previous gm_trash_thread().

Usage

gm_untrash_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/untrash

See Also

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

Examples

## Not run: 
gm_untrash_thread(12345)

## End(Not run)

jimhester/gmailr documentation built on Nov. 4, 2023, 1:02 p.m.