add more information about the atachment and poll option types

This commit is contained in:
Konrad Pozniak 2024-04-01 13:52:35 +02:00 committed by GitHub
parent 891d7862a0
commit 601e0a9dc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 28 additions and 3 deletions

View File

@ -79,7 +79,7 @@ Translation of status with poll:
### `media_attachments` {#media_attachments}
**Description:** The translated media descriptions of the status.\
**Type:** Array\
**Type:** Array of [Translation::Attachment](#Attachment)\
**Version history:**\
4.2.0 - added
@ -101,7 +101,7 @@ Translation of status with poll:
### `id` {#Poll-id}
**Description:** The ID of the Poll.\
**Description:** The ID of the poll.\
**Type:** String (cast from an integer, but not guaranteed to be a number)\
**Version history:**\
4.2.0 - added
@ -109,7 +109,32 @@ Translation of status with poll:
### `options` {#Poll-options}
**Description:** The translated poll options.\
**Type:** Array\
**Type:** Array of [Translation::Poll::Option](#Option)\
**Version history:**\
4.2.0 - added
## Translation::Poll::Option attributes {#Option}
### `title` {#Option-title}
**Description:** The translated title of the poll option.\
**Type:** String\
**Version history:**\
4.2.0 - added
## Translation::Attachment attributes {#Attachment}
### `id` {#Attachment-id}
**Description:** The id of the attachment.\
**Type:** String (cast from an integer, but not guaranteed to be a number)\
**Version history:**\
4.2.0 - added
### `description` {#Attachment-description}
**Description:** The translated description of the attachment.\
**Type:** String\
**Version history:**\
4.2.0 - added