Returns message history for the specified user or group chat
1 2 3 4 5 6 7 8 9 | messagesGetHistory(
offset = "",
count = "",
user_id = "",
peer_id = "",
start_message_id = "",
rev = "",
v = getAPIVersion()
)
|
offset |
Offset needed to return a specific subset of messages |
count |
Number of messages to return (maximum value 200) |
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 |
v |
Version of API |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.