messagesGetHistoryExecute {vkR}R Documentation

Returns message history for the specified user or group chat

Description

Returns message history for the specified user or group chat

Usage

messagesGetHistoryExecute(
  offset = 0,
  count = 0,
  user_id = "",
  peer_id = "",
  start_message_id = "",
  rev = 0,
  progress_bar = FALSE,
  v = getAPIVersion()
)

Arguments

offset

Offset needed to return a specific subset of messages

count

Number of messages to return (0 for all history)

user_id

ID of the user whose message history you want to return

peer_id

Destination ID (user ID, group ID or chat ID)

start_message_id

Starting message ID from which to return history

rev

Sort order: 1 - return messages in chronological order; 0 - return messages in reverse chronological order

progress_bar

Display progress bar

v

Version of API


[Package vkR version 0.2 Index]