TimelineTweet

January 5, 2025 ยท View on GitHub

Properties

NameTypeDescriptionNotes
typenameTypeName
has_moderated_repliesbool[optional]
highlightsHighlight[optional]
item_typeContentItemType
promoted_metadataDict[str, object][optional]
social_contextSocialContextUnion[optional]
tweet_display_typestr
tweet_resultsItemResult

Example

from twitter_openapi_python_generated.models.timeline_tweet import TimelineTweet

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

# convert the object into a dict
timeline_tweet_dict = timeline_tweet_instance.to_dict()
# create an instance of TimelineTweet from a dict
timeline_tweet_from_dict = TimelineTweet.from_dict(timeline_tweet_dict)

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