Document iteration order

This commit is contained in:
Lonami Exo
2019-06-28 20:44:06 +02:00
parent 84c4fcdec6
commit 9322c37a94
3 changed files with 15 additions and 0 deletions

View File

@@ -315,6 +315,9 @@ class MessageMethods:
"""
Iterator over the messages for the given chat.
The default order is from newest to oldest, but this
behaviour can be changed with the `reverse` parameter.
If either `search`, `filter` or `from_user` are provided,
:tl:`messages.Search` will be used instead of :tl:`messages.getHistory`.