RidersDiscountCom/HypChat

AttributeError: 'User' object has no attribute 'contents'

yossarian04 opened this issue · 0 comments

I'm trying to use .contents() to page through user history. But I get the above error. This works fine when using it with 'users'

users = hc.users(expand='items').contents() works fine

msgs = hc.get_user('email').history().contents() fails with the above error. I thought .contents() would allow me to page through the results? Right now .history() only returns 200 messages.