UserLegacy

May 20, 2026 ยท View on GitHub

Properties

NameTypeDescriptionNotes
blocked_bybool[optional]
blockingbool[optional]
can_dmbool[optional]
can_media_tagbool[optional]
created_atstr[optional]
default_profilebool
default_profile_imagebool
descriptionstr
entitiesDict[str, object]
fast_followers_countint
favourites_countint
follow_request_sentbool[optional]
followed_bybool[optional]
followers_countint
followingbool[optional]
friends_countint
has_custom_timelinesbool
is_translatorbool
listed_countint
locationstr[optional]
media_countint
mutingbool[optional]
namestr[optional]
normal_followers_countint
notificationsbool[optional]
pinned_tweet_ids_strList[str][optional]
possibly_sensitivebool
profile_banner_extensionsobject[optional]
profile_banner_urlstr[optional]
profile_image_extensionsobject[optional]
profile_image_url_httpsstr[optional]
profile_interstitial_typestr
protectedbool[optional]
screen_namestr[optional]
statuses_countint
time_zonestr
translator_typestr
urlstr[optional]
utc_offsetint
verifiedbool[optional]
verified_typestr[optional]
want_retweetsbool[optional]
withheld_descriptionstr
withheld_in_countriesList[str][optional]
withheld_scopestr

Example

from twitter_openapi_python_generated.models.user_legacy import UserLegacy

# TODO update the JSON string below
json = "{}"
# create an instance of UserLegacy from a JSON string
user_legacy_instance = UserLegacy.from_json(json)
# print the JSON string representation of the object
print(UserLegacy.to_json())

# convert the object into a dict
user_legacy_dict = user_legacy_instance.to_dict()
# create an instance of UserLegacy from a dict
user_legacy_from_dict = UserLegacy.from_dict(user_legacy_dict)

[Back to Model list] [Back to API list] [Back to README]