bs_get_messages function

Retrieve messages from a conversation, optionally paginated