trait TwitterBlockClient extends AnyRef
Implements the available requests for the blocks
resource.
- Source
- TwitterBlockClient.scala
- Alphabetic
- By Inheritance
- TwitterBlockClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
val
restClient: RestClient
- Attributes
- protected
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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 eithertrue
statuses will not be included in the returned user object.- returns
: The representation of the blocked user.
-
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 eithertrue
statuses will not be included in the returned user object.- returns
: The representation of the blocked user.
-
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.
-
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.
-
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 eithertrue
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.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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 eithertrue
statuses will not be included in the returned user object.- returns
: The representation of the unblocked user.
-
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 eithertrue
statuses will not be included in the returned user object.- returns
: The representation of the unblocked user.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )