Class Account
Account
- Baguette\Mastodon\Entity\Entity implements Teto\Object\ToArrayInterface
- Baguette\Mastodon\Entity\Account 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#account
Located at Entity/Account.php
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#account
Located at Entity/Account.php
public
|
|
public
array
|
__get(),
__isset(),
__set(),
__unset()
|
public read-only
integer
|
$id
The ID of the account |
public read-only
string
|
$username
The username of the account |
public read-only
string
|
$acct
Equals username for local users, includes @domain for remote ones |
public read-only
string
|
$display_name
The account's display name |
public read-only
boolean
|
$locked
Boolean for when the account cannot be followed without waiting for approval first |
public read-only
DateTimeImmutable
|
$created_at
The time the account was created |
public read-only
integer
|
$followers_count
The number of followers for the account |
public read-only
integer
|
$following_count
The number of accounts the given account is following |
public read-only
integer
|
$statuses_count
The number of statuses the account has made |
public read-only
string
|
$note
Biography of user |
public read-only
string
|
$url
URL of the user's profile page (can be remote) |
public read-only
string
|
$avatar
URL to the avatar image |
public read-only
string
|
$avatar_static
URL to the avatar static image (gif) |
public read-only
string
|
$header
URL to the header image |
public read-only
string
|
$header_static
URL to the header static image (gif) |