Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.36 KB

TimelineMessagePromptContent.md

File metadata and controls

33 lines (24 loc) · 1.36 KB

TimelineMessagePromptContent

Properties

Name Type Description Notes
body_rich_text TimelineMessagePromptRichText [optional]
body_text str [optional]
content_type str
header_text str
primary_button_action TimelineMessagePromptButton [optional]

Example

from twitter_openapi_python_generated.models.timeline_message_prompt_content import TimelineMessagePromptContent

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

# convert the object into a dict
timeline_message_prompt_content_dict = timeline_message_prompt_content_instance.to_dict()
# create an instance of TimelineMessagePromptContent from a dict
timeline_message_prompt_content_from_dict = TimelineMessagePromptContent.from_dict(timeline_message_prompt_content_dict)

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