Mastodon::Entity::Status3pm
A mastodon status
Overview
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.
|
A shortcut to |
|---|---|
|
A shortcut to |
|
A shortcut to |
|
A shortcut to |
|
A shortcut to |
|
A shortcut to |
|
A shortcut to |
|
A shortcut to |
|
A shortcut to |
|
A shortcut to |
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.
Releases
Unchanged in 2 releases since Debian 12 (Bookworm).