enhancement: Update type hints

This commit is contained in:
jinyu
2024-11-20 06:22:42 +08:00
committed by mathieui
parent 075812adf3
commit d86dccaf85
3 changed files with 35 additions and 31 deletions

View File

@@ -167,8 +167,9 @@ processing the same stanza twice.
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`BaseXMPP <.BaseXMPP>`
Makes the contents of message stanzas available whenever one is received. Be
sure to check the message type in order to handle error messages.
Makes the contents of message stanzas that include <body> tags available
whenever one is received.
Be sure to check the message type to handle error messages appropriately.
message_error
- **Data:** :py:class:`~.Message`