Skip to content

getUserPersonalChatMessages

Use this method to get the last messages from the personal chat (i.e., the chat currently added to their profile) of a given user. On success, an array of Message objects is returned.

Parameters

user_idIntegerRequired
Unique identifier for the target user
limitIntegerRequired
The maximum number of messages to return; 1-20

Returns

On success, an array of Message objects is returned.

GramIO Usage

Errors

Tips & Gotchas

See Also