import { ListsListParams, ListsMembersParams, ListsMembersShowParams, ListsMembershipsParams, ListsOwnershipsParams, ListsShowParams, ListsStatusesParams, ListsSubscribersParams, ListsSubscribersShowParams, ListsSubscriptionsParams, ListsCreateParams, ListsDestroyParams, ListsMembersCreateParams, ListsMembersCreateAllParams, ListsMembersDestroyParams, ListsMembersDestroyAllParams, ListsSubscribersCreateParams, ListsSubscribersDestroyParams, ListsUpdateParams } from '../interfaces/params/CreateAndManageListsParams'; import { FollowersIdsParams, FollowersListParams, FriendsIdsParams, FriendsListParams, FriendshipsIncomingParams, FriendshipsLookupParams, FriendshipsNoRetweetsIdsParams, FriendshipsOutgoingParams, FriendshipsShowParams, UsersLookupParams, UsersSearchParams, UsersShowParams, FriendshipsCreateParams, FriendshipsDestroyParams, FriendshipsUpdateParams } from '../interfaces/params/FollowSearchAndGetUsersParams'; import { AccountVerifyCredentialsParams, SavedSearchesShowByIdParams, UsersProfileBannerParams, AccountUpdateProfileParams, AccountUpdateProfileBackgroundImageRetiredParams, AccountUpdateProfileBannerParams, AccountUpdateProfileImageParams, SavedSearchesCreateParams, SavedSearchesDestroyByIdParams } from '../interfaces/params/ManageAccountSettingsAndProfileParams'; import { BlocksCreateParams, BlocksDestroyParams, MutesUsersCreateParams, MutesUsersDestroyParams, UsersReportSpamParams } from '../interfaces/params/MuteBlockAndReportUsersParams'; import ListsList from '../interfaces/types/ListsListTypes'; import ListsMembers from '../interfaces/types/ListsMembersTypes'; import ListsMembersShow from '../interfaces/types/ListsMembersShowTypes'; import ListsMemberships from '../interfaces/types/ListsMembershipsTypes'; import ListsOwnerships from '../interfaces/types/ListsOwnershipsTypes'; import ListsShow from '../interfaces/types/ListsShowTypes'; import ListsStatuses from '../interfaces/types/ListsStatusesTypes'; import ListsSubscribers from '../interfaces/types/ListsSubscribersTypes'; import ListsSubscribersShow from '../interfaces/types/ListsSubscribersShowTypes'; import ListsSubscriptions from '../interfaces/types/ListsSubscriptionsTypes'; import ListsCreate from '../interfaces/types/ListsCreateTypes'; import ListsDestroy from '../interfaces/types/ListsDestroyTypes'; import ListsSubscribersCreate from '../interfaces/types/ListsSubscribersCreateTypes'; import FollowersIds from '../interfaces/types/FollowersIdsTypes'; import FollowersList from '../interfaces/types/FollowersListTypes'; import FriendsIds from '../interfaces/types/FriendsIdsTypes'; import FriendsList from '../interfaces/types/FriendsListTypes'; import FriendshipsIncoming from '../interfaces/types/FriendshipsIncomingTypes'; import FriendshipsLookup from '../interfaces/types/FriendshipsLookupTypes'; import FriendshipsOutgoing from '../interfaces/types/FriendshipsOutgoingTypes'; import FriendshipsShow from '../interfaces/types/FriendshipsShowTypes'; import UsersLookup from '../interfaces/types/UsersLookupTypes'; import UsersSearch from '../interfaces/types/UsersSearchTypes'; import UsersShow from '../interfaces/types/UsersShowTypes'; import FriendshipsCreate from '../interfaces/types/FriendshipsCreateTypes'; import FriendshipsDestroy from '../interfaces/types/FriendshipsDestroyTypes'; import FriendshipsUpdate from '../interfaces/types/FriendshipsUpdateTypes'; import AccountSettings from '../interfaces/types/AccountSettingsTypes'; import AccountVerifyCredentials from '../interfaces/types/AccountVerifyCredentialsTypes'; import SavedSearchesList from '../interfaces/types/SavedSearchesListTypes'; import SavedSearchesShowById from '../interfaces/types/SavedSearchesShowByIdTypes'; import UsersProfileBanner from '../interfaces/types/UsersProfileBannerTypes'; import AccountUpdateProfile from '../interfaces/types/AccountUpdateProfileTypes'; import AccountUpdateProfileImage from '../interfaces/types/AccountUpdateProfileImageTypes'; import SavedSearchesCreate from '../interfaces/types/SavedSearchesCreateTypes'; import SavedSearchesDestroyById from '../interfaces/types/SavedSearchesDestroyByIdTypes'; import BlocksIds from '../interfaces/types/BlocksIdsTypes'; import BlocksList from '../interfaces/types/BlocksListTypes'; import MutesUsersIds from '../interfaces/types/MutesUsersIdsTypes'; import MutesUsersList from '../interfaces/types/MutesUsersListTypes'; import BlocksCreate from '../interfaces/types/BlocksCreateTypes'; import BlocksDestroy from '../interfaces/types/BlocksDestroyTypes'; import MutesUsersCreate from '../interfaces/types/MutesUsersCreateTypes'; import MutesUsersDestroy from '../interfaces/types/MutesUsersDestroyTypes'; import UsersReportSpam from '../interfaces/types/UsersReportSpamTypes'; import Transport from '../base/Transport'; declare class AccountsAndUsersClient { private transport; constructor(transport: Transport); /** * Returns all lists the authenticating or specified user subscribes to, including their own. The user is specified using the user_id or screen_name parameters. If no user is given, the authenticating user is used.A maximum of 100 results will be returned by this call. Subscribed lists are returned first, followed by owned lists. This means that if a user subscribes to 90 lists and owns 20 lists, this method returns 90 subscriptions and 10 owned lists. The reverse method returns owned lists first, so with reverse=true, 20 owned lists and 80 subscriptions would be returned. If your goal is to obtain every list a user owns or subscribes to, use GET lists / ownerships and/or GET lists / subscriptions instead. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-list * @param parameters */ listsList(parameters?: ListsListParams): Promise; /** * members/* Returns the members of the specified list. Private list members will only be shown if the authenticated user owns the specified list. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-members * @param parameters */ listsMembers(parameters: ListsMembersParams): Promise; /** * Check if the specified user is a member of the specified list. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-members-show * @param parameters */ listsMembersShow(parameters: ListsMembersShowParams): Promise; /** * Returns the lists the specified user has been added to. If user_id or screen_name are not provided, the memberships for the authenticating user are returned. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-memberships * @param parameters */ listsMemberships(parameters?: ListsMembershipsParams): Promise; /** * Returns the lists owned by the specified Twitter user. Private lists will only be shown if the authenticated user is also the owner of the lists. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-ownerships * @param parameters */ listsOwnerships(parameters?: ListsOwnershipsParams): Promise; /** * Returns the specified list. Private lists will only be shown if the authenticated user owns the specified list. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-show * @param parameters */ listsShow(parameters: ListsShowParams): Promise; /** * Returns a timeline of tweets authored by members of the specified list. Retweets are included by default. Use the include_rts=false parameter to omit retweets. Embedded Timelines is a great way to embed list timelines on your website. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-statuses * @param parameters */ listsStatuses(parameters: ListsStatusesParams): Promise; /** * subscribers/* Returns the subscribers of the specified list. Private list subscribers will only be shown if the authenticated user owns the specified list. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-subscribers * @param parameters */ listsSubscribers(parameters: ListsSubscribersParams): Promise; /** * Check if the specified user is a subscriber of the specified list. Returns the user if they are a subscriber. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-subscribers-show * @param parameters */ listsSubscribersShow(parameters: ListsSubscribersShowParams): Promise; /** * Obtain a collection of the lists the specified user is subscribed to, 20 lists per page by default. Does not include the user's own lists. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-subscriptions * @param parameters */ listsSubscriptions(parameters?: ListsSubscriptionsParams): Promise; /** * Creates a new list for the authenticated user. Note that you can create up to 1000 lists per account. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-create * @param parameters */ listsCreate(parameters: ListsCreateParams): Promise; /** * Deletes the specified list. The authenticated user must own the list to be able to destroy it. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-destroy * @param parameters */ listsDestroy(parameters: ListsDestroyParams): Promise; /** * Add a member to a list. The authenticated user must own the list to be able to add members to it. Note that lists cannot have more than 5,000 members. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create * @param parameters */ listsMembersCreate(parameters: ListsMembersCreateParams): Promise; /** * Adds multiple members to a list, by specifying a comma-separated list of member ids or screen names. The authenticated user must own the list to be able to add members to it. Note that lists can't have more than 5,000 members, and you are limited to adding up to 100 members to a list at a time with this method.Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create_all * @param parameters */ listsMembersCreateAll(parameters: ListsMembersCreateAllParams): Promise; /** * Removes the specified member from the list. The authenticated user must be the list's owner to remove members from the list. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy * @param parameters */ listsMembersDestroy(parameters?: ListsMembersDestroyParams): Promise; /** * Removes multiple members from a list, by specifying a comma-separated list of member ids or screen names. The authenticated user must own the list to be able to remove members from it. Note that lists can't have more than 500 members, and you are limited to removing up to 100 members to a list at a time with this method.Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-destroy_all * @param parameters */ listsMembersDestroyAll(parameters: ListsMembersDestroyAllParams): Promise; /** * Subscribes the authenticated user to the specified list. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-subscribers-create * @param parameters */ listsSubscribersCreate(parameters: ListsSubscribersCreateParams): Promise; /** * Unsubscribes the authenticated user from the specified list. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-subscribers-destroy * @param parameters */ listsSubscribersDestroy(parameters: ListsSubscribersDestroyParams): Promise; /** * Updates the specified list. The authenticated user must own the list to be able to update it. * * @link https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-update * @param parameters */ listsUpdate(parameters: ListsUpdateParams): Promise; /** * Returns a cursored collection of user IDs for every user following the specified user. At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues. Results are given in groups of 5,000 user IDs and multiple "pages" of results can be navigated through using the next_cursor value in subsequent requests. See Using cursors to navigate collections for more information.This method is especially powerful when used in conjunction with GET users / lookup, a method that allows you to convert user IDs into full user objects in bulk. * * @link https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-followers-ids * @param parameters */ followersIds(parameters?: FollowersIdsParams): Promise; /** * Returns a cursored collection of user objects for users following the specified user. At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues. Results are given in groups of 20 users and multiple "pages" of results can be navigated through using the next_cursor value in subsequent requests. See Using cursors to navigate collections for more information. * * @link https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-followers-list * @param parameters */ followersList(parameters?: FollowersListParams): Promise; /** * Returns a cursored collection of user IDs for every user the specified user is following (otherwise known as their "friends").At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues. Results are given in groups of 5,000 user IDs and multiple "pages" of results can be navigated through using the next_cursor value in subsequent requests. See Using cursors to navigate collections for more information.This method is especially powerful when used in conjunction with GET users / lookup, a method that allows you to convert user IDs into full user objects in bulk. * * @link https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friends-ids * @param parameters */ friendsIds(parameters?: FriendsIdsParams): Promise; /** * Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their "friends").At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues. Results are given in groups of 20 users and multiple "pages" of results can be navigated through using the next_cursor value in subsequent requests. See Using cursors to navigate collections for more information. * * @link https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friends-list * @param parameters */ friendsList(parameters?: FriendsListParams): Promise; /** * Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user. * * @link https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friendships-incoming * @param parameters */ friendshipsIncoming(parameters?: FriendshipsIncomingParams): Promise; /** * Returns the relationships of the authenticating user to the comma-separated list of up to 100 screen_names or user_ids provided. Values for connections can be: following, following_requested, followed_by, none, blocking, muting. * * @link https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friendships-lookup * @param parameters */ friendshipsLookup(parameters?: FriendshipsLookupParams): Promise; /** * Returns a collection of user_ids that the currently authenticated user does not want to receive retweets from.Use POST friendships / update to set the "no retweets" status for a given user account on behalf of the current user. * * @link https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friendships-no_retweets-ids * @param parameters */ friendshipsNoRetweetsIds(parameters?: FriendshipsNoRetweetsIdsParams): Promise; /** * Returns a collection of numeric IDs for every protected user for whom the authenticating user has a pending follow request. * * @link https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friendships-outgoing * @param parameters */ friendshipsOutgoing(parameters?: FriendshipsOutgoingParams): Promise; /** * Returns detailed information about the relationship between two arbitrary users. * * @link https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friendships-show * @param parameters */ friendshipsShow(parameters?: FriendshipsShowParams): Promise; /** * Returns fully-hydrated user objects for up to 100 users per request, as specified by comma-separated values passed to the user_id and/or screen_name parameters.This method is especially useful when used in conjunction with collections of user IDs returned from GET friends / ids and GET followers / ids.GET users / show is used to retrieve a single user object.There are a few things to note when using this method. You must be following a protected user to be able to see their most recent status update. If you don't follow a protected user their status will be removed. The order of user IDs or screen names may not match the order of users in the returned array. If a requested user is unknown, suspended, or deleted, then that user will not be returned in the results list. If none of your lookup criteria can be satisfied by returning a user object, a HTTP 404 will be thrown. You are strongly encouraged to use a POST for larger requests. * * @link https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-lookup * @param parameters */ usersLookup(parameters?: UsersLookupParams): Promise; /** * Provides a simple, relevance-based search interface to public user accounts on Twitter. Try querying by topical interest, full name, company name, location, or other criteria. Exact match searches are not supported.Only the first 1,000 matching results are available. * * @link https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-search * @param parameters */ usersSearch(parameters: UsersSearchParams): Promise; /** * Returns a variety of information about the user specified by the required user_id or screen_name parameter. The author's most recent Tweet will be returned inline when possible.GET users / lookup is used to retrieve a bulk collection of user objects.You must be following a protected user to be able to see their most recent Tweet. If you don't follow a protected user, the user's Tweet will be removed. A Tweet will not always be returned in the current_status field. * * @link https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-show * @param parameters */ usersShow(parameters?: UsersShowParams): Promise; /** * Allows the authenticating user to follow (friend) the user specified in the ID parameter.Returns the followed user when successful. Returns a string describing the failure condition when unsuccessful. If the user is already friends with the user a HTTP 403 may be returned, though for performance reasons this method may also return a HTTP 200 OK message even if the follow relationship already exists.Actions taken in this method are asynchronous. Changes will be eventually consistent. * * @link https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/post-friendships-create * @param parameters */ friendshipsCreate(parameters?: FriendshipsCreateParams): Promise; /** * Allows the authenticating user to unfollow the user specified in the ID parameter. Returns the unfollowed user when successful. Returns a string describing the failure condition when unsuccessful. Actions taken in this method are asynchronous. Changes will be eventually consistent. * * @link https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/post-friendships-destroy * @param parameters */ friendshipsDestroy(parameters?: FriendshipsDestroyParams): Promise; /** * Enable or disable Retweets and device notifications from the specified user. * * @link https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/post-friendships-update * @param parameters */ friendshipsUpdate(parameters?: FriendshipsUpdateParams): Promise; /** * Returns settings (including current trend, geo and sleep time information) for the authenticating user. * * @link https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-account-settings */ accountSettings(): Promise; /** * Returns an HTTP 200 OK response code and a representation of the requesting user if authentication was successful; returns a 401 status code and an error message if not. Use this method to test if supplied user credentials are valid. * * @link https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/manage-account-settings/api-reference/get-account-verify_credentials * @param parameters */ accountVerifyCredentials(parameters?: AccountVerifyCredentialsParams): Promise; /** * Returns the authenticated user's saved search queries. * * @link https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-saved_searches-list */ savedSearchesList(): Promise; /** * Retrieve the information for the saved search represented by the given id. The authenticating user must be the owner of saved search ID being requested. * * @link https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-saved_searches-show-id * @param parameters */ savedSearchesShowById(parameters: SavedSearchesShowByIdParams): Promise; /** * Returns a map of the available size variations of the specified user's profile banner. If the user has not uploaded a profile banner, a HTTP 404 will be served instead. This method can be used instead of string manipulation on the profile_banner_url returned in user objects as described in Profile Images and Banners. The profile banner data available at each size variant's URL is in PNG format. * * @link https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-users-profile_banner * @param parameters */ usersProfileBanner(parameters?: UsersProfileBannerParams): Promise; /** * Removes the uploaded profile banner for the authenticating user. Returns HTTP 200 upon success. * * @link https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-remove_profile_banner */ accountRemoveProfileBanner(): Promise; /** * Sets some values that users are able to set under the "Account" tab of their settings page. Only the parameters specified will be updated. * * @link https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile * @param parameters */ accountUpdateProfile(parameters?: AccountUpdateProfileParams): Promise; /** * Updates the authenticating user's profile background image. This method can also be used to enable or disable the profile background image.Although each parameter is marked as optional, at least one of image or media_id must be provided when making this request.Learn more about the deprecation of this endpoint via our forum post. * * @link https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile_background_image * @param parameters */ accountUpdateProfileBackgroundImageRetired(parameters?: AccountUpdateProfileBackgroundImageRetiredParams): Promise; /** * Uploads a profile banner on behalf of the authenticating user. More information about sizing variations can be found in User Profile Images and Banners and GET users / profile_banner.Profile banner images are processed asynchronously. The profile_banner_url and its variant sizes will not necessary be available directly after upload. * * @link https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile_banner * @param parameters */ accountUpdateProfileBanner(parameters: AccountUpdateProfileBannerParams): Promise; /** * Updates the authenticating user's profile image. Note that this method expects raw multipart data, not a URL to an image. This method asynchronously processes the uploaded file before updating the user's profile image URL. You can either update your local cache the next time you request the user's information, or, at least 5 seconds after uploading the image, ask for the updated URL using GET users / show. * * @link https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile_image * @param parameters */ accountUpdateProfileImage(parameters: AccountUpdateProfileImageParams): Promise; /** * Create a new saved search for the authenticated user. A user may only have 25 saved searches. * * @link https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-saved_searches-create * @param parameters */ savedSearchesCreate(parameters: SavedSearchesCreateParams): Promise; /** * Destroys a saved search for the authenticating user. The authenticating user must be the owner of saved search id being destroyed. * * @link https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-saved_searches-destroy-id * @param parameters */ savedSearchesDestroyById(parameters: SavedSearchesDestroyByIdParams): Promise; /** * Returns an array of numeric user ids the authenticating user is blocking. Important This method is cursored, meaning your app must make multiple requests in order to receive all blocks correctly. See Using cursors to navigate collections for more details on how cursoring works. * * @link https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-blocks-ids */ blocksIds(): Promise; /** * Returns a collection of user objects that the authenticating user is blocking. Important This method is cursored, meaning your app must make multiple requests in order to receive all blocks correctly. See Using cursors to navigate collections for more details on how cursoring works. * * @link https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-blocks-list */ blocksList(): Promise; /** * Returns an array of numeric user ids the authenticating user has muted. * * @link https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-mutes-users-ids */ mutesUsersIds(): Promise; /** * Returns an array of user objects the authenticating user has muted. * * @link https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/get-mutes-users-list */ mutesUsersList(): Promise; /** * 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.The URL pattern /version/block/create/:screen_name_or_user_id.format is still accepted but not recommended. As a sequence of numbers is a valid screen name we recommend using the screen_name or user_id parameter instead. * * @link https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-blocks-create * @param parameters */ blocksCreate(parameters?: BlocksCreateParams): Promise; /** * Un-blocks the user specified in the ID parameter for the authenticating user. Returns the un-blocked user when successful. If relationships existed before the block was instantiated, they will not be restored. * * @link https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/mute-block-report-users/api-reference/post-blocks-destroy * @param parameters */ blocksDestroy(parameters?: BlocksDestroyParams): Promise; /** * Mutes the user specified in the ID parameter for the authenticating user. Returns the muted user when successful. Returns a string describing the failure condition when unsuccessful.Actions taken in this method are asynchronous. Changes will be eventually consistent. * * @link https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-mutes-users-create * @param parameters */ mutesUsersCreate(parameters?: MutesUsersCreateParams): Promise; /** * Un-mutes the user specified in the ID parameter for the authenticating user. Returns the unmuted user when successful. Returns a string describing the failure condition when unsuccessful.Actions taken in this method are asynchronous. Changes will be eventually consistent. * * @link https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-mutes-users-destroy * @param parameters */ mutesUsersDestroy(parameters?: MutesUsersDestroyParams): Promise; /** * Report the specified user as a spam account to Twitter. Additionally, optionally performs the equivalent of POST blocks / create on behalf of the authenticated user. * * @link https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-users-report_spam * @param parameters */ usersReportSpam(parameters?: UsersReportSpamParams): Promise; } export default AccountsAndUsersClient;