Skip to content

Commit

Permalink
upd. compose.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
jobisoft committed Dec 15, 2020
1 parent d43a8bc commit 9123cc3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
5 changes: 3 additions & 2 deletions compose.rst
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ object:

- ``id`` (integer) A unique identifier for this attachment.
- ``name`` (string) The name, as displayed to the user, of this attachment. This is usually but not always the filename of the attached file.
- ``size`` (integer) The size in bytes of this attachment. *Added in Thunderbird 83, backported to 78.5.0*
- ``getFile()`` Retrieves the contents of the attachment as a DOM ``File`` object.

.. _compose.ComposeDetails:
Expand Down Expand Up @@ -281,9 +282,9 @@ OR
object:

- ``id`` (string) The ID of a contact or mailing list from the :doc:`contacts` and :doc:`mailingLists` APIs.
- ``type`` (`string <enum_type_40_>`_) Which sort of object this ID is for.
- ``type`` (`string <enum_type_41_>`_) Which sort of object this ID is for.

.. _enum_type_40:
.. _enum_type_41:

Values for type:

Expand Down
10 changes: 8 additions & 2 deletions overlay/compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,14 @@
}
},
{
"name": "ComposeAttachment",
"added": "78"
"id": "ComposeAttachment",
"added": "78",
"properties": {
"size": {
"added": "83",
"backported": "78.5.0"
}
}
}
],
"functions": [
Expand Down

0 comments on commit 9123cc3

Please sign in to comment.