Skip to content

Latest commit

 

History

History
56 lines (47 loc) · 2.66 KB

File metadata and controls

56 lines (47 loc) · 2.66 KB

Tweet

Properties

Name Type Description Notes
typename TypeName [optional]
article Article [optional]
author_community_relationship AuthorCommunityRelationship [optional]
birdwatch_pivot BirdwatchPivot [optional]
card TweetCard [optional]
community_relationship CommunityRelationship [optional]
community_results Community [optional]
core UserResultCore [optional]
edit_control TweetEditControl [optional]
edit_prespective TweetEditPrespective [optional]
grok_analysis_button bool [optional]
grok_analysis_followups List[str] [optional]
grok_share_attachment GrokShareAttachment [optional]
has_birdwatch_notes bool [optional]
is_translatable bool [optional]
legacy TweetLegacy [optional]
note_tweet NoteTweet [optional]
previous_counts TweetPreviousCounts [optional]
quick_promote_eligibility object [optional]
quoted_ref_result QuotedRefResult [optional]
quoted_status_result ItemResult [optional]
rest_id str
source str [optional]
super_follows_reply_user_result SuperFollowsReplyUserResult [optional]
trend_results TrendResults [optional]
unified_card UnifiedCard [optional]
unmention_data Dict[str, object] [optional]
views TweetView [optional]

Example

from twitter_openapi_python_generated.models.tweet import Tweet

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

# convert the object into a dict
tweet_dict = tweet_instance.to_dict()
# create an instance of Tweet from a dict
tweet_from_dict = Tweet.from_dict(tweet_dict)

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