create_message: Create a comments

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/create_message.r

Description

Create a comment on an image

Usage

1
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

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

## End(Not run)

imguR documentation built on May 2, 2019, 4:02 p.m.