create_message {imguR}R Documentation

Create a comments

Description

Create a comment on an image

Usage

create_message(recipient, body, ...)

Arguments

recipient

A character string containing the recipient's Imgur username.

body

A character string containing the message.

...

Other arguments passed to HTTP request functions, for example: token (an OAuth2.0 token), which is required.

Details

Send a message to another Imgur user.

Value

An object of class “imgur_basic”.

Author(s)

Thomas J. Leeper

See Also

get_conversations

delete_conversation

Examples

## Not run: 
tkn <- imgur_login()
create_message("thosjleeper", "This is a test comment from imguR", token = tkn)

## End(Not run)

[Package imguR version 1.0.3 Index]