Overview

Namespaces

  • Baguette
    • Mastodon
      • Config
      • Entity
      • Grant
      • Service
  • GuzzleHttp
    • Cookie
    • Exception
    • Handler
    • Promise
  • Psr
    • Http
      • Message
  • Teto
    • Object

Classes

  • Account
  • Application
  • Attachment
  • Card
  • Context
  • Entity
  • Error_
  • Instance
  • Mention
  • Notification
  • Status
  • Tag

Constants

  • DATETIME_FORMAT

Functions

  • map
  • mapValues
  • toArrayValue
  • Overview
  • Namespace
  • Class

Class Status

Status

Baguette\Mastodon\Entity\Entity implements Teto\Object\ToArrayInterface
Extended by Baguette\Mastodon\Entity\Status uses Teto\Object\TypedProperty
Namespace: Baguette\Mastodon\Entity
Copyright: 2017 Baguette HQ
License: GPL-3.0
Author: USAMI Kenta tadsan@zonu.me
See: https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#status
Located at Entity/Status.php
Methods summary
public
# __construct( array $properties )
public array
# toArray( )

Returns account data as array

Returns account data as array

Returns

array
Methods used from Teto\Object\TypedProperty
__get(), __isset(), __set(), __unset()
Magic properties summary
public read-only integer $id

The ID of the status

public read-only string $uri

A Fediverse-unique resource ID

public read-only string $url

URL to the status page (can be remote)

public read-only Baguette\Mastodon\Entity\Account $account

The Account which posted the status

public read-only integer|null $in_reply_to_accountid

The ID of the status it replies to

public read-only integer|null $in_reply_to_id

The ID of the account it replies to

public read-only Baguette\Mastodon\Entity\Status|null $reblog

The reblogged Status

public read-only string $content

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

public read-only DateTimeImmutable $created_at

The time the status was created

public read-only integer $reblogs_count

The number of reblogs for the status

public read-only integer $favourites_count

The number of favourites for the status

public read-only boolean $reblogged

Whether the authenticated user has reblogged the status

public read-only boolean $favourited

Whether the authenticated user has favourited the status

public read-only string $sensitive

Whether media attachments should be hidden by default

public read-only string $spoiler_text

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

public read-only string $visibility

One of: public, unlisted, private, direct

public read-only Baguette\Mastodon\Entity\Application $application

Application from which the status was posted

ξ ^ω^)ξ Baguette PHP Mastodon API Client / SDK API documentation generated by ApiGen