Skip to content

Commit

Permalink
feat: add return type to room_send (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
xtexChooser committed Jul 14, 2023
1 parent f3a3cca commit 9a1d2e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nio/client/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@
RoomRedactResponse,
RoomResolveAliasError,
RoomResolveAliasResponse,
RoomSendError,
RoomSendResponse,
RoomTypingError,
RoomTypingResponse,
Expand Down Expand Up @@ -1547,7 +1548,7 @@ async def room_send(
content: Dict[Any, Any],
tx_id: Optional[str] = None,
ignore_unverified_devices: bool = False,
):
) -> Union[RoomSendResponse, RoomSendError]:
"""Send a message to a room.
Calls receive_response() to update the client state if necessary.
Expand Down

0 comments on commit 9a1d2e9

Please sign in to comment.