Skip to content

Commit

Permalink
add undelete abstract method
Browse files Browse the repository at this point in the history
  • Loading branch information
akupila committed Apr 9, 2024
1 parent ee9277f commit ab03a05
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 @@ -514,6 +514,15 @@ def delete_message(
"""
pass

@abc.abstractmethod
def undelete_message(
self, message_id: str, user_id: str
) -> Union[StreamResponse, Awaitable[StreamResponse]]:
"""
Undeletes a message.
"""
pass

@abc.abstractmethod
def get_message(
self, message_id: str
Expand Down

0 comments on commit ab03a05

Please sign in to comment.