Return helpers.TotalList instances on client.get_ methods

This commit is contained in:
Lonami Exo
2018-08-02 23:00:10 +02:00
parent a1837431b6
commit 7cce7aa3e4
7 changed files with 46 additions and 20 deletions

View File

@@ -38,7 +38,7 @@ class BotMethods(UserMethods):
geo_point=geo_point
))
# TODO Custom InlineResults(UserList) class with more information
# TODO Custom InlineResults(list) class with more information
return [
custom.InlineResult(self, x, query_id=result.query_id)
for x in result.results