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
: Offset needed to return a specific subset of messagescount
: Number of messages to return (0 for all history)user_id
: ID of the user whose message history you want to returnpeer_id
: Destination ID (user ID, group ID or chat ID)start_message_id
: Starting message ID from which to return historyrev
: Sort order: 1 - return messages in chronological order; 0 - return messages in reverse chronological orderprogress_bar
: Display progress barv
: Version of API