Returns all message history for the specified user or group chat
messagesGetHistoryAll(user_id = "", peer_id = "", rev = 0, v = getAPIVersion())
ID of the user whose message history you want to return
Destination ID (user ID, group ID or chat ID)
Sort order: 1 - return messages in chronological order; 0 - return messages in reverse chronological order
Version of API