Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.34 KB

File metadata and controls

36 lines (27 loc) · 1.34 KB

TimelineNotification

Properties

Name Type Description Notes
typename TypeName
id str
item_type ContentItemType
notification_icon str
notification_url SocialContextLandingUrl
rich_message RichMessage
template NotificationTemplate
timestamp_ms str

Example

from twitter_openapi_python_generated.models.timeline_notification import TimelineNotification

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

# convert the object into a dict
timeline_notification_dict = timeline_notification_instance.to_dict()
# create an instance of TimelineNotification from a dict
timeline_notification_from_dict = TimelineNotification.from_dict(timeline_notification_dict)

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