def messages(self, uid=<NUM_LIT:0>, **kwargs):
messages = Messages(self.base_uri, self.auth)<EOL>return self.get_subresource_instances(uid, instance=messages,<EOL>resource="<STR_LIT>", params=kwargs)<EOL>
Fetch messages by given session id.
An useful synonym for "messages/search" command with provided `sessionId` parameter.
Returns a list of :class:`Message` objects and a pager dict.

:Example:

messages = client.sessions.messages(1901001)

:param int uid:   The unique id of the Session. Required.
:param int page:  Fetch specified results page. Default=1
:param int limit: How many results on page. Default=10