Returns message history for the specified user or group chat
messagesGetHistoryExecute(
offset = 0,
count = 0,
user_id = "",
peer_id = "",
start_message_id = "",
rev = 0,
progress_bar = FALSE,
v = getAPIVersion()
)
Offset needed to return a specific subset of messages
Number of messages to return (0 for all history)
ID of the user whose message history you want to return
Destination ID (user ID, group ID or chat ID)
Starting message ID from which to return history
Sort order: 1 - return messages in chronological order; 0 - return messages in reverse chronological order
Display progress bar
Version of API