getUserPersonalChatMessages
Returns: Message[]Official docs ↗
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_idIntegerRequiredUnique identifier for the target user
limitIntegerRequiredThe maximum number of messages to return; 1-20
Returns
On success, an array of Message objects is returned.