Skip to content

Commit

Permalink
refactor: added abstract method
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnarkhede committed May 16, 2024
1 parent cd80eec commit 351b217
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions stream_chat/base/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,15 @@ def get_message(
"""
pass

@abc.abstractmethod
def query_message_history(
self, filter: Dict, sort: List[Dict] = None, **options: Any
) -> Union[StreamResponse, Awaitable[StreamResponse]]:
"""
Queries message history.
"""
pass

@abc.abstractmethod
def query_users(
self, filter_conditions: Dict, sort: List[Dict] = None, **options: Any
Expand Down

0 comments on commit 351b217

Please sign in to comment.