TweetLegacy

May 20, 2026 ยท View on GitHub

Properties

NameTypeDescriptionNotes
bookmark_countint
bookmarkedbool
conversation_controlDict[str, object][optional]
conversation_id_strstr
created_atstr
display_text_rangeList[int]
entitiesEntities[optional]
extended_entitiesExtendedEntities[optional]
favorite_countint
favoritedbool
full_textstr
id_strstr
in_reply_to_screen_namestr[optional]
in_reply_to_status_id_strstr[optional]
in_reply_to_user_id_strstr[optional]
is_quote_statusbool
langstr
limited_actionsstr[optional]
placeDict[str, object][optional]
possibly_sensitivebool[optional]
possibly_sensitive_editablebool[optional]
quote_countint
quoted_status_id_strstr[optional]
quoted_status_permalinkQuotedStatusPermalink[optional]
reply_countint
retweet_countint
retweetedbool
retweeted_status_resultItemResult[optional]
scopesTweetLegacyScopes[optional]
self_threadSelfThread[optional]
user_id_strstr

Example

from twitter_openapi_python_generated.models.tweet_legacy import TweetLegacy

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

# convert the object into a dict
tweet_legacy_dict = tweet_legacy_instance.to_dict()
# create an instance of TweetLegacy from a dict
tweet_legacy_from_dict = TweetLegacy.from_dict(tweet_legacy_dict)

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