mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
Add support for message forwarding
Co-authored-by: Red Magnos <redmagnos@gmail.com> Co-authored-by: MCausc78 <mcausc78@gmail.com> Co-authored-by: owocado <24418520+owocado@users.noreply.github.com> Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
This commit is contained in:
26
docs/api.rst
26
docs/api.rst
@ -3810,6 +3810,24 @@ of :class:`enum.Enum`.
|
||||
The subscription is inactive and not being charged.
|
||||
|
||||
|
||||
.. class:: MessageReferenceType
|
||||
|
||||
Represents the type of a message reference.
|
||||
|
||||
.. versionadded:: 2.5
|
||||
|
||||
.. attribute:: reply
|
||||
|
||||
A message reply.
|
||||
|
||||
.. attribute:: forward
|
||||
|
||||
A forwarded message.
|
||||
|
||||
.. attribute:: default
|
||||
|
||||
An alias for :attr:`.reply`.
|
||||
|
||||
.. _discord-api-audit-logs:
|
||||
|
||||
Audit Log Data
|
||||
@ -5353,6 +5371,14 @@ PollAnswer
|
||||
|
||||
.. _discord_api_data:
|
||||
|
||||
MessageSnapshot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. attributetable:: MessageSnapshot
|
||||
|
||||
.. autoclass:: MessageSnapshot
|
||||
:members:
|
||||
|
||||
Data Classes
|
||||
--------------
|
||||
|
||||
|
Reference in New Issue
Block a user