messagesGet: Returns a list of the current user's incoming or outgoing...

Description Usage Arguments

View source: R/messages.R

Description

Returns a list of the current user's incoming or outgoing private messages

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
messagesGet(
  out = "",
  offset = "",
  count = "",
  time_offset = "",
  filters = "",
  preview_length = "",
  last_message_id = "",
  v = getAPIVersion()
)

Arguments

out

1 - to return outgoing messages; 0 - to return incoming messages (default)

offset

Offset needed to return a specific subset of messages

count

Number of messages to return

time_offset

Maximum time since a message was sent, in seconds. To return messages without a time limitation, set as 0

filters

Filter to apply: 1 - unread only; 2 - not from the chat; 4 - messages from friends

preview_length

Number of characters after which to truncate a previewed message. To preview the full message, specify 0

last_message_id

ID of the message received before the message that will be returned last

v

Version of API


vkR documentation built on Jan. 13, 2021, 10:09 a.m.