.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Mastodon::Entity::Status 3pm" .TH Mastodon::Entity::Status 3pm "2022-11-03" "perl v5.36.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Mastodon::Entity::Status \- A Mastodon status .SH "DESCRIPTION" .IX Header "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. .PP For current information, see the Mastodon \s-1API\s0 documentation .SH "ATTRIBUTES" .IX Header "ATTRIBUTES" .IP "\fBid\fR" 4 .IX Item "id" The \s-1ID\s0 of the status. .IP "\fBuri\fR" 4 .IX Item "uri" A Fediverse-unique resource \s-1ID.\s0 .IP "\fBurl\fR" 4 .IX Item "url" \&\s-1URL\s0 to the status page (can be remote). .IP "\fBaccount\fR" 4 .IX Item "account" The Mastodon::Entity::Account which posted the status. .IP "\fBin_reply_to_id\fR" 4 .IX Item "in_reply_to_id" \&\f(CW\*(C`undef\*(C'\fR or the \s-1ID\s0 of the status it replies to. .IP "\fBin_reply_to_account_id\fR" 4 .IX Item "in_reply_to_account_id" \&\f(CW\*(C`undef\*(C'\fR or the \s-1ID\s0 of the account it replies to. .IP "\fBreblog\fR" 4 .IX Item "reblog" \&\f(CW\*(C`undef\*(C'\fR or the reblogged Mastodon::Entity::Status. .IP "\fBcontent\fR" 4 .IX Item "content" Body of the status; this will contain \s-1HTML\s0 (remote \s-1HTML\s0 already sanitized). .IP "\fBcreated_at\fR" 4 .IX Item "created_at" The time the status was created as a DateTime object. .IP "\fBreblogs_count\fR" 4 .IX Item "reblogs_count" The number of reblogs for the status. .IP "\fBfavourites_count\fR" 4 .IX Item "favourites_count" The number of favourites for the status. .IP "\fBreblogged\fR" 4 .IX Item "reblogged" Whether the authenticated user has reblogged the status. .IP "\fBfavourited\fR" 4 .IX Item "favourited" Whether the authenticated user has favourited the status. .IP "\fBsensitive\fR" 4 .IX Item "sensitive" Whether media attachments should be hidden by default. .IP "\fBspoiler_text\fR" 4 .IX Item "spoiler_text" If not empty, warning text that should be displayed before the actual content. .IP "\fBvisibility\fR" 4 .IX Item "visibility" One of: \f(CW\*(C`public\*(C'\fR, \f(CW\*(C`unlisted\*(C'\fR, \f(CW\*(C`private\*(C'\fR, \f(CW\*(C`direct\*(C'\fR. .IP "\fBmedia_attachments\fR" 4 .IX Item "media_attachments" An array of Mastodon::Entity::Attachment objects. .IP "\fBmentions\fR" 4 .IX Item "mentions" An array of Mastodon::Entity::Mention objects. .IP "\fBtags\fR" 4 .IX Item "tags" An array of Mastodon::Entity::Tag objects. .IP "\fBapplication\fR" 4 .IX Item "application" Application from which the status was posted, as a Mastodon::Entity::Application object. .SH "METHODS" .IX Header "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. .IP "\fBfetch\fR" 4 .IX Item "fetch" A shortcut to \f(CW\*(C`get_status\*(C'\fR. .IP "\fBfetch_context\fR" 4 .IX Item "fetch_context" A shortcut to \f(CW\*(C`get_status_context\*(C'\fR. .IP "\fBfetch_card\fR" 4 .IX Item "fetch_card" A shortcut to \f(CW\*(C`get_status_card\*(C'\fR. .IP "\fBfetch_reblogs\fR" 4 .IX Item "fetch_reblogs" A shortcut to \f(CW\*(C`get_status_reblogs\*(C'\fR. .IP "\fBfetch_favourites\fR" 4 .IX Item "fetch_favourites" A shortcut to \f(CW\*(C`get_status_favourites\*(C'\fR. .IP "\fBdelete\fR" 4 .IX Item "delete" A shortcut to \f(CW\*(C`delete_status\*(C'\fR. .IP "\fBboost\fR" 4 .IX Item "boost" A shortcut to \f(CW\*(C`reblog\*(C'\fR. .IP "\fBunboost\fR" 4 .IX Item "unboost" A shortcut to \f(CW\*(C`unreblog\*(C'\fR. .IP "\fBfavourite\fR" 4 .IX Item "favourite" A shortcut to \f(CW\*(C`favourite\*(C'\fR. .IP "\fBunfavourite\fR" 4 .IX Item "unfavourite" A shortcut to \f(CW\*(C`unfavourite\*(C'\fR. .SH "AUTHOR" .IX Header "AUTHOR" .IP "\(bu" 4 José Joaquín Atria .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" This software is copyright (c) 2017 by José Joaquín Atria. .PP This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.