Closed euriconicacio closed 2 years ago
@Kalebu, could you please 👍 this? Some other developments/solutions may depend on it. Thanks!
Hi @euriconicacio
Thanks for taking your time contributing to this package
Can you also add docs about the newly implemented methods to the README.md
Absolutely @Kalebu, adding them right now!
As a resolution to issue #48 and further adventures, we are creating the following methods:
get_first_chat(self, ignore_pinned=True)
method: opens the first chat on the left list. Since they are out of order in the code itself, the technique was to hit the search field and press the down arrow. This method receives as an argument ignore_pinned, a boolean value that indicates if pinned chats should be ignored when retrieving the first one (default value is True). Works like a charm.search_chat_by_name(self, query: str)
method: searches for the first chat containing the query parameter - not case sensitive.Enjoy!