messagesGetHistoryExecute: Returns message history for the specified user or group chat

Description Usage Arguments

View source: R/messages.R

Description

Returns message history for the specified user or group chat

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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


Dementiy/vkR documentation built on Oct. 1, 2020, 9:48 a.m.