Object

ca.schwitzer.scaladon.Mastodon

Statuses

Related Doc: package Mastodon

Permalink

object Statuses

An object containing the methods described in the "Statuses" section of the Mastodon API documentation. (https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#statuses)

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Statuses
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def delete(id: Int)(token: AccessToken): Future[MastodonResponse[Unit]]

    Permalink

    Delete a status.

    Delete a status.

    id

    The id of the status to delete.

    token

    The AccessToken for the authenticated user.

    returns

    A future response containing a Unit (empty object) or an error.

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def favourite(id: Int)(token: AccessToken): Future[MastodonResponse[Status]]

    Permalink

    Favourite a status.

    Favourite a status.

    id

    The id of the status to favourite.

    token

    The AccessToken for the authenticated user.

    returns

    A future response containing the favourited status or an error.

  10. def favouritedBy(id: Int, limit: Int = 40, maxId: Option[Int] = None, sinceId: Option[Int] = None): Future[MastodonResponse[Seq[Account]]]

    Permalink

    Fetch who favourited a status.

    Fetch who favourited a status.

    id

    The id of the status to fetch the favourited accounts for.

    limit

    Maximum number of accounts to fetch.

    maxId

    Limits the accounts to those with an id less than or equal to this value.

    sinceId

    Limits the accounts to those with an id greater than this value.

    returns

    A future response containing the accounts or an error.

  11. def fetch(id: Int): Future[MastodonResponse[Status]]

    Permalink

    Fetch a status.

    Fetch a status.

    id

    The id of the status to fetch.

    returns

    A future response containing the status or an error.

  12. def fetchCard(id: Int): Future[MastodonResponse[Card]]

    Permalink

    Fetch a status card.

    Fetch a status card.

    id

    The id of the status to fetch the card for.

    returns

    A future response containing the status card or an error.

  13. def fetchContext(id: Int): Future[MastodonResponse[Context]]

    Permalink

    Fetch a status context.

    Fetch a status context.

    id

    The id of the status to fetch the context for.

    returns

    A future response containing the status context or an error.

  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def post(status: String, mediaIds: Seq[Int], sensitive: Boolean, inReplyToId: Option[Int] = None, spoilerText: Option[String] = None, visibility: StatusVisibility = StatusVisibilities.Public)(token: AccessToken): Future[MastodonResponse[Status]]

    Permalink
  22. def reblog(id: Int)(token: AccessToken): Future[MastodonResponse[Status]]

    Permalink

    Reblog a status.

    Reblog a status.

    id

    The id of the status to reblog.

    token

    The AccessToken for the authenticated user.

    returns

    A future response containing the reblogged status or an error.

  23. def rebloggedBy(id: Int, limit: Int = 40, maxId: Option[Int] = None, sinceId: Option[Int] = None): Future[MastodonResponse[Seq[Account]]]

    Permalink

    Fetch who reblogged a status.

    Fetch who reblogged a status.

    id

    The id of the status to fetch the reblogged accounts for.

    limit

    Maximum number of accounts to fetch.

    maxId

    Limits the accounts to those with an id less than or equal to this value.

    sinceId

    Limits the accounts to those with an id greater than this value.

    returns

    A future response containing the accounts or an error.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. def unfavourite(id: Int)(token: AccessToken): Future[MastodonResponse[Status]]

    Permalink

    Unfavourite a status.

    Unfavourite a status.

    id

    The id of the status to unfavourite.

    token

    The AccessToken for the authenticated user.

    returns

    A future response containing the unfavourited status or an error.

  27. def unreblog(id: Int)(token: AccessToken): Future[MastodonResponse[Status]]

    Permalink

    Unreblog a status.

    Unreblog a status.

    id

    The id of the status to unreblog.

    token

    The AccessToken for the authenticated user.

    returns

    A future response containing the unreblogged status or an error.

  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped