Packages

trait TwitterBlockClient extends AnyRef

Implements the available requests for the blocks resource.

Source
TwitterBlockClient.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TwitterBlockClient
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val restClient: RestClient
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def blockUser(screen_name: String, include_entities: Boolean = true, skip_status: Boolean = false): Future[User]

    Blocks the specified user from following the authenticating user.

    Blocks the specified user from following the authenticating user. In addition the blocked user will not show in the authenticating users mentions or timeline (unless retweeted by another user). If a follow or friend relationship exists it is destroyed. For more information see https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-blocks-create.

    screen_name

    : The screen name of the potentially blocked user. Helpful for disambiguating when a valid user ID is also a valid screen name.

    include_entities

    : By default it is true. The parameters node will not be included when set to false.

    skip_status

    : By default it is false. When set to either true statuses will not be included in the returned user object.

    returns

    : The representation of the blocked user.

  6. def blockUserId(user_id: Long, include_entities: Boolean = true, skip_status: Boolean = false): Future[User]

    Blocks the specified user id from following the authenticating user.

    Blocks the specified user id from following the authenticating user. In addition the blocked user will not show in the authenticating users mentions or timeline (unless retweeted by another user). If a follow or friend relationship exists it is destroyed. For more information see https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-blocks-create.

    user_id

    : The ID of the potentially blocked user. Helpful for disambiguating when a valid user ID is also a valid screen name.

    include_entities

    : By default it is true. The parameters node will not be included when set to false.

    skip_status

    : By default it is false. When set to either true statuses will not be included in the returned user object.

    returns

    : The representation of the blocked user.

  7. def blockedUserIds(cursor: Long = -1): Future[RatedData[UserIds]]

    Returns an array of user ids the authenticating user is blocking.

    Returns an array of user ids the authenticating user is blocking. For more information see https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-blocks-ids.

    cursor

    : By default it is -1, which is the first “page”. Causes the list of blocked users to be broken into pages of no more than 5000 IDs at a time. The number of IDs returned is not guaranteed to be 5000 as suspended users are filtered out after connections are queried.

    returns

    : The cursored representation of user ids.

  8. def blockedUserStringifiedIds(cursor: Long = -1): Future[RatedData[UserStringifiedIds]]

    Returns an array of user stringified ids the authenticating user is blocking.

    Returns an array of user stringified ids the authenticating user is blocking. For more information see https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-blocks-ids.

    cursor

    : By default it is -1, which is the first “page”. Causes the list of blocked users to be broken into pages of no more than 5000 IDs at a time. The number of IDs returned is not guaranteed to be 5000 as suspended users are filtered out after connections are queried.

    returns

    : The cursored representation of user stringified ids with cursors.

  9. def blockedUsers(include_entities: Boolean = true, skip_status: Boolean = false, cursor: Long = -1): Future[RatedData[Users]]

    Returns the users that the authenticating user is blocking.

    Returns the users that the authenticating user is blocking. For more information see https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-blocks-list.

    include_entities

    : By default it is true. The parameters node will not be included when set to false.

    skip_status

    : By default it is false. When set to either true statuses will not be included in the returned user object.

    cursor

    : By default it is -1, which is the first “page”. Causes the list of blocked users to be broken into pages of no more than 5000 IDs at a time. The number of IDs returned is not guaranteed to be 5000 as suspended users are filtered out after connections are queried.

    returns

    : The cursored representation of blocked users.

  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def unblockUser(screen_name: String, include_entities: Boolean = true, skip_status: Boolean = false): Future[User]

    Un-blocks the user for the authenticating user.

    Un-blocks the user for the authenticating user. Returns the un-blocked user in the requested format when successful. If relationships existed before the block was instated, they will not be restored. For more information see https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-blocks-destroy.

    screen_name

    : The screen name of the potentially blocked user. Helpful for disambiguating when a valid user ID is also a valid screen name.

    include_entities

    : By default it is true. The parameters node will not be included when set to false.

    skip_status

    : By default it is false. When set to either true statuses will not be included in the returned user object.

    returns

    : The representation of the unblocked user.

  23. def unblockUserId(user_id: Long, include_entities: Boolean = true, skip_status: Boolean = false): Future[User]

    Un-blocks the user specified id for the authenticating user.

    Un-blocks the user specified id for the authenticating user. Returns the un-blocked user in the requested format when successful. If relationships existed before the block was instated, they will not be restored. For more information see https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-blocks-destroy.

    user_id

    : The ID of the potentially blocked user. Helpful for disambiguating when a valid user ID is also a valid screen name.

    include_entities

    : By default it is true. The parameters node will not be included when set to false.

    skip_status

    : By default it is false. When set to either true statuses will not be included in the returned user object.

    returns

    : The representation of the unblocked user.

  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped