Skip to content

Commit

Permalink
resort
Browse files Browse the repository at this point in the history
  • Loading branch information
jobisoft committed Dec 1, 2023
1 parent 48ee942 commit 6ed22cd
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 36 deletions.
66 changes: 33 additions & 33 deletions messages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,39 +109,6 @@ Archives messages using the current settings. Archiving external messages will t
- :permission:`messagesRead`
- :permission:`messagesMove`

.. _messages.continueList:

continueList(messageListId)
---------------------------

.. api-section-annotation-hack::

Returns the next chunk of messages in a list. See :doc:`how-to/messageLists` for more information.

.. api-header::
:label: Parameters


.. api-member::
:name: ``messageListId``
:type: (string)


.. api-header::
:label: Return type (`Promise`_)


.. api-member::
:type: :ref:`messages.MessageList`


.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. api-header::
:label: Required permissions

- :permission:`messagesRead`

.. _messages.copy:

copy(messageIds, destination)
Expand Down Expand Up @@ -626,6 +593,39 @@ Marks or unmarks a message as junk, read, flagged, or tagged. Updating external
:type: (:ref:`messages.MessageProperties`)


.. api-header::
:label: Required permissions

- :permission:`messagesRead`

.. _messages.continueList:

continueList(messageListId)
---------------------------

.. api-section-annotation-hack::

Returns the next chunk of messages in a list. See :doc:`how-to/messageLists` for more information.

.. api-header::
:label: Parameters


.. api-member::
:name: ``messageListId``
:type: (string)


.. api-header::
:label: Return type (`Promise`_)


.. api-member::
:type: :ref:`messages.MessageList`


.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. api-header::
:label: Required permissions

Expand Down
10 changes: 7 additions & 3 deletions overlay/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,28 @@
}
]
},
{
"name": "continueList",
"sort": "1"
},
{
"name": "getAttachmentFile",
"added": "88",
"hints": "The most simple way to get the content of an attachment is to use the `text() <https://developer.mozilla.org/en-US/docs/Web/API/Blob/text>`__ method of the returned `File <https://developer.mozilla.org/en-US/docs/Web/API/File>`__ object:<literalinclude>includes/messages/file.js<lang>JavaScript</lang></literalinclude>",
"returns": {
"$ref": "extensionTypes.File"
},
"sort": "1"
"sort": "2"
},
{
"name": "listAttachments",
"added": "88",
"sort": "1"
"sort": "2"
},
{
"name": "openAttachment",
"added": "114",
"sort": "1"
"sort": "2"
},

{
Expand Down

0 comments on commit 6ed22cd

Please sign in to comment.