|
@ -1405,6 +1405,12 @@ class PartialMessage(Hashable): |
|
|
The updated view to update this message with. If ``None`` is passed then |
|
|
The updated view to update this message with. If ``None`` is passed then |
|
|
the view is removed. |
|
|
the view is removed. |
|
|
|
|
|
|
|
|
|
|
|
.. note:: |
|
|
|
|
|
|
|
|
|
|
|
If you want to update the message to have a :class:`~discord.ui.LayoutView`, you must |
|
|
|
|
|
explicitly set to ``None`` or empty array, as required, the ``content``, ``embed``, |
|
|
|
|
|
``embeds``, and ``attachments`` parameters. |
|
|
|
|
|
|
|
|
.. versionchanged:: 2.6 |
|
|
.. versionchanged:: 2.6 |
|
|
This now accepts :class:`~discord.ui.LayoutView` instances. |
|
|
This now accepts :class:`~discord.ui.LayoutView` instances. |
|
|
|
|
|
|
|
@ -2991,6 +2997,12 @@ class Message(PartialMessage, Hashable): |
|
|
The updated view to update this message with. If ``None`` is passed then |
|
|
The updated view to update this message with. If ``None`` is passed then |
|
|
the view is removed. |
|
|
the view is removed. |
|
|
|
|
|
|
|
|
|
|
|
.. note:: |
|
|
|
|
|
|
|
|
|
|
|
If you want to update the message to have a :class:`~discord.ui.LayoutView`, you must |
|
|
|
|
|
explicitly set to ``None`` or empty array, as required, the ``content``, ``embed``, |
|
|
|
|
|
``embeds``, and ``attachments`` parameters. |
|
|
|
|
|
|
|
|
Raises |
|
|
Raises |
|
|
------- |
|
|
------- |
|
|
HTTPException |
|
|
HTTPException |
|
|