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 46 47 48 49 50 51
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/direct_messages.R
\name{direct_messages_received}
\alias{direct_messages_received}
\alias{direct_messages_sent}
\title{(DEPRECATED) Get the most recent direct messages sent to the authenticating user.}
\usage{
direct_messages_received(
since_id = NULL,
max_id = NULL,
n = 200,
parse = TRUE,
token = NULL
)
direct_messages_sent(
since_id = NULL,
max_id = NULL,
n = 200,
parse = TRUE,
token = NULL
)
}
\value{
Return object converted to nested list. If status code of
response object is not 200, the response object is returned
directly.
}
\description{
Retrieves up to 200 of the most recently received direct messages
by the authenticating (home) user. This function requires access
token with read, write, and direct messages access.
}
\details{
Includes detailed information about the sender and
recipient user. You can request up to 200 direct messages per
call, and only the most recent 200 direct messages will be available using
this endpoint.
}
\examples{
\dontrun{
## get my direct messages
dms <- direct_messages_received()
## get direct messages I've sent
sdms <- direct_messages_sent()
}
}
\keyword{internal}
|