R: Posts direct message from user's Twitter account

post_message {rtweet} | R Documentation

## Posts direct message from user's Twitter account

### Description

Posts direct message from user's Twitter account

### Usage

    post_message(text, user, media = NULL, token = NULL)

### Arguments

`text` | Character, text of message.
`user` | Screen name or user ID of message target.
`media` | File path to image or video media to be included in tweet.
`token` | OAuth token. By default `token = NULL` fetches a non-exhausted token from an environment variable tokens.

[Package rtweet version 0.7.0 Index]