-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathgm_message.Rd
45 lines (43 loc) · 1.05 KB
/
gm_message.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gm_message.R
\name{gm_message}
\alias{gm_message}
\title{Get a single message}
\usage{
gm_message(
id,
user_id = "me",
format = c("full", "metadata", "minimal", "raw")
)
}
\arguments{
\item{id}{message id to access}
\item{user_id}{gmail user_id to access, special value of 'me' indicates the authenticated user.}
\item{format}{format of the message returned}
}
\description{
Function to retrieve a given message by id
}
\examples{
\dontrun{
my_message <- gm_message(12345)
}
}
\references{
\url{https://developers.google.com/gmail/api/reference/rest/v1/users.messages}
}
\seealso{
Other message:
\code{\link{gm_attachment}()},
\code{\link{gm_delete_message}()},
\code{\link{gm_import_message}()},
\code{\link{gm_insert_message}()},
\code{\link{gm_messages}()},
\code{\link{gm_modify_message}()},
\code{\link{gm_save_attachments}()},
\code{\link{gm_save_attachment}()},
\code{\link{gm_send_message}()},
\code{\link{gm_trash_message}()},
\code{\link{gm_untrash_message}()}
}
\concept{message}