Returns message history for the specified user or group chat
messagesGetHistory(
offset = "",
count = "",
user_id = "",
peer_id = "",
start_message_id = "",
rev = "",
v = getAPIVersion()
)
Offset needed to return a specific subset of messages
Number of messages to return (maximum value 200)
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
Version of API