userSuggestionCategories

fun Users.userSuggestionCategories(lang: String? = null, vararg options: Option): JsonArrayApiAction<UserSuggestionCategory>

Access to Twitter's suggested user list. This returns the list of suggested user categories. The category can be used in GET users / suggestions/:slug to get the users in that category.

Twitter API reference

Receiver

Users endpoint instance.

Return

JsonArrayApiAction for UserSuggestionCategory model.

Parameters

lang

Restricts the suggested categories to the requested language. The language must be specified by the appropriate two letter ISO 639-1 representation. Currently supported languages are provided by the GET help/languages API request. Unsupported language codes will receive English (en) results. If you use lang in this request, ensure you also include it when requesting the GET users/suggestions/:slug list.

options

Optional. Custom parameters of this request.


Shorthand property to Users.userSuggestionCategories.

See also