twtr_direct_messages_new: POST direct_messages/new

Description Usage Arguments See Also

View source: R/direct_messages_new.R

Description

POST direct_messages/new

Usage

1
twtr_direct_messages_new(user_id = NULL, screen_name = NULL, text, ...)

Arguments

user_id

The ID of the user who should receive the direct message. Helpful for disambiguating when a valid user ID is also a valid screen name. Example Values: 12345

screen_name

The screen name of the user who should receive the direct message. Helpful for disambiguating when a valid screen name is also a user ID. Example Values: noradio

text

The text of your direct message. Be sure to URL encode as necessary, and keep the message within the character count limit (available in the help/configuration endpoint) Example Values: Meet me behind the cafeteria after school

See Also

https://dev.twitter.com/rest/reference/post/direct_messages/new


yutannihilation/twihttr documentation built on May 4, 2019, 7:46 p.m.