diff --git a/docs/api.rst b/docs/api.rst index e2f77de97..4a8233065 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -493,6 +493,7 @@ Debug :param payload: The message that is about to be passed on to the WebSocket library. It can be :class:`bytes` to denote a binary message or :class:`str` to denote a regular text message. + :type payload: Union[:class:`bytes`, :class:`str`] Gateway @@ -1363,7 +1364,7 @@ Threads .. versionadded:: 2.0 :param payload: The raw event payload data. - :type member: :class:`RawThreadMembersUpdate` + :type payload: :class:`RawThreadMembersUpdate` Voice ~~~~~~