diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.rst | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/docs/api.rst b/docs/api.rst index e1321daf..50ccfe1f 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -1188,17 +1188,30 @@ of :class:`enum.Enum`. .. attribute:: pong Pongs the interaction when given a ping. + + See also :meth:`InteractionResponse.pong` .. attribute:: channel_message - Respond to a slash command with a message. + Respond to the interaction with a message. + + See also :meth:`InteractionResponse.send_message` .. attribute:: deferred_channel_message - Responds to a slash command with a message at a later time. + Responds to the interaction with a message at a later time. + + See also :meth:`InteractionResponse.defer` .. attribute:: deferred_message_update Acknowledges the component interaction with a promise that the message will update later (though there is no need to actually update the message). + See also :meth:`InteractionResponse.defer` + .. attribute:: message_update + + Responds to the interaction by editing the message. + + See also :meth:`InteractionResponse.edit_message` + .. class:: ComponentType Represents the component type of a component. @@ -2951,6 +2964,14 @@ Interaction .. autoclass:: Interaction() :members: +InteractionResponse +~~~~~~~~~~~~~~~~~~~~ + +.. attributetable:: InteractionResponse + +.. autoclass:: InteractionResponse() + :members: + Member ~~~~~~ |