trait TwitterMuteClient extends AnyRef
Implements the available requests for the mutes
resource.
- Source
- TwitterMuteClient.scala
- Alphabetic
- By Inheritance
- TwitterMuteClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def muteUser(screen_name: String): Future[User]
Mutes the user specified for the authenticating user.
Mutes the user specified for the authenticating user. Actions taken in this method are asynchronous and changes will be eventually consistent. For more information see https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-mutes-users-create.
- screen_name
: The screen name of the potentially muted user. Helpful for disambiguating when a valid screen name is also a user ID.
- returns
: The muted user representation.
- def muteUserId(user_id: Long): Future[User]
Mutes the user ID specified for the authenticating user.
Mutes the user ID specified for the authenticating user. Actions taken in this method are asynchronous and changes will be eventually consistent. For more information see https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-mutes-users-create.
- user_id
: The ID of the potentially muted user. Helpful for disambiguating when a valid user ID is also a valid screen name.
- returns
: The muted user representation.
- def mutedUserIds(cursor: Long = -1): Future[RatedData[UserIds]]
Returns an array of numeric user ids the authenticating user has muted.
Returns an array of numeric user ids the authenticating user has muted. For more information see https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-mutes-users-ids.
- cursor
: By default it is
-1
, which is the first “page”. Causes the list of IDs 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. The response from the API will include a previous_cursor and next_cursor to allow paging back and forth. See [node:10362, title=”Using cursors to navigate collections”] for more information.- returns
: The representation of the muted user ids.
- def mutedUsers(cursor: Long = -1, include_entities: Boolean = true, skip_status: Boolean = false): Future[RatedData[Users]]
Returns the users representation that the authenticating user has muted.
Returns the users representation that the authenticating user has muted. For more information see https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-mutes-users-list.
- cursor
: By default it is
-1
, which is the first “page”. Causes the list of IDs 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. The response from the API will include a previous_cursor and next_cursor to allow paging back and forth. See [node:10362, title=”Using cursors to navigate collections”] for more information.- include_entities
: By default it is
true
. his node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. You can omit parameters from the result by settinginclude_entities
tofalse
.- skip_status
: By default it is
false
. When set to eithertrue
, statuses will not be included in the returned user objects.- returns
: The representation of the muted users.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unmuteUser(screen_name: String): Future[User]
Un-mutes the user specified for the authenticating user.
Un-mutes the user specified for the authenticating user. Actions taken in this method are asynchronous and changes will be eventually consistent. For more information see https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-mutes-users-destroy.
- screen_name
: The screen name of the potentially muted user. Helpful for disambiguating when a valid screen name is also a user ID.
- returns
: The un-muted user representation.
- def unmuteUserId(user_id: Long): Future[User]
Un-mutes the user ID specified for the authenticating user.
Un-mutes the user ID specified for the authenticating user. Actions taken in this method are asynchronous and changes will be eventually consistent. For more information see https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-mutes-users-destroy.
- user_id
: The ID of the potentially muted user. Helpful for disambiguating when a valid user ID is also a valid screen name.
- returns
: The un-muted user representation.
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])