---
name: "Mastodon::Entity::Status"
section: "3pm"
platform: "linux"
package: "libmastodon-client-perl"
version: "0.017-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Mastodon::Entity::Status"
---

# Mastodon::Entity::Status(3pm)

A Mastodon status

## NAME

Mastodon::Entity::Status - A Mastodon status

## DESCRIPTION

This object should not be manually created. It is intended to be generated from the data received from a Mastodon server using the coercions in Mastodon::Types.

For current information, see the Mastodon API documentation \<https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#status\>

## ATTRIBUTES

- **id**

  The ID of the status.

- **uri**

  A Fediverse-unique resource ID.

- **url**

  URL to the status page (can be remote).

- **account**

  The Mastodon::Entity::Account which posted the status.

- **in\_reply\_to\_id**

  `"undef"` or the ID of the status it replies to.

- **in\_reply\_to\_account\_id**

  `"undef"` or the ID of the account it replies to.

- **reblog**

  `"undef"` or the reblogged Mastodon::Entity::Status.

- **content**

  Body of the status; this will contain HTML (remote HTML already sanitized).

- **created\_at**

  The time the status was created as a DateTime object.

- **reblogs\_count**

  The number of reblogs for the status.

- **favourites\_count**

  The number of favourites for the status.

- **reblogged**

  Whether the authenticated user has reblogged the status.

- **favourited**

  Whether the authenticated user has favourited the status.

- **sensitive**

  Whether media attachments should be hidden by default.

- **spoiler\_text**

  If not empty, warning text that should be displayed before the actual content.

- **visibility**

  One of: `"public"`, `"unlisted"`, `"private"`, `"direct"`.

- **media\_attachments**

  An array of Mastodon::Entity::Attachment objects.

- **mentions**

  An array of Mastodon::Entity::Mention objects.

- **tags**

  An array of Mastodon::Entity::Tag objects.

- **application**

  Application from which the status was posted, as a Mastodon::Entity::Application object.

## METHODS

This class provides the following convenience methods. They act as a shortcut, passing the appropriate identifier of the current object as the first argument to the corresponding methods in Mastodon::Client.

- **fetch**

  A shortcut to `"get_status"`.

- **fetch\_context**

  A shortcut to `"get_status_context"`.

- **fetch\_card**

  A shortcut to `"get_status_card"`.

- **fetch\_reblogs**

  A shortcut to `"get_status_reblogs"`.

- **fetch\_favourites**

  A shortcut to `"get_status_favourites"`.

- **delete**

  A shortcut to `"delete_status"`.

- **boost**

  A shortcut to `"reblog"`.

- **unboost**

  A shortcut to `"unreblog"`.

- **favourite**

  A shortcut to `"favourite"`.

- **unfavourite**

  A shortcut to `"unfavourite"`.

## AUTHOR

- •

  José Joaquín Atria \<jjatria@cpan.org\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by José Joaquín Atria.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
