From 601e0a9dc7b2a864208d92237d573812e28f2065 Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Mon, 1 Apr 2024 13:52:35 +0200 Subject: [PATCH] add more information about the atachment and poll option types --- content/en/entities/Translation.md | 31 +++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/content/en/entities/Translation.md b/content/en/entities/Translation.md index edd71044..1b88f814 100644 --- a/content/en/entities/Translation.md +++ b/content/en/entities/Translation.md @@ -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