Document message types that can have a default message reference

This commit is contained in:
Jakub Kuczys
2025-02-24 11:03:24 +01:00
committed by GitHub
parent 0e4f06103e
commit 19f02c40b3
2 changed files with 27 additions and 7 deletions

View File

@ -3851,17 +3851,25 @@ of :class:`enum.Enum`.
.. versionadded:: 2.5
.. attribute:: reply
.. attribute:: default
A message reply.
A standard reference used by message replies (:attr:`MessageType.reply`),
crossposted messaged created by a followed channel integration, and messages of type:
- :attr:`MessageType.pins_add`
- :attr:`MessageType.channel_follow_add`
- :attr:`MessageType.thread_created`
- :attr:`MessageType.thread_starter_message`
- :attr:`MessageType.poll_result`
- :attr:`MessageType.context_menu_command`
.. attribute:: forward
A forwarded message.
.. attribute:: default
.. attribute:: reply
An alias for :attr:`.reply`.
An alias for :attr:`.default`.
.. _discord-api-audit-logs: