Skip to content

Latest commit

 

History

History
59 lines (50 loc) · 2.26 KB

File metadata and controls

59 lines (50 loc) · 2.26 KB

TweetLegacy

Properties

Name Type Description Notes
bookmark_count int
bookmarked bool
conversation_control Dict[str, object] [optional]
conversation_id_str str
created_at str
display_text_range List[int]
entities Entities
extended_entities ExtendedEntities [optional]
favorite_count int
favorited bool
full_text str
id_str str
in_reply_to_screen_name str [optional]
in_reply_to_status_id_str str [optional]
in_reply_to_user_id_str str [optional]
is_quote_status bool
lang str
limited_actions str [optional]
place Dict[str, object] [optional]
possibly_sensitive bool [optional]
possibly_sensitive_editable bool [optional]
quote_count int
quoted_status_id_str str [optional]
quoted_status_permalink QuotedStatusPermalink [optional]
reply_count int
retweet_count int
retweeted bool
retweeted_status_result ItemResult [optional]
scopes TweetLegacyScopes [optional]
self_thread SelfThread [optional]
user_id_str str

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]