PostCreateTweetRequestVariables

September 30, 2024 ยท View on GitHub

Properties

NameTypeDescriptionNotes
attachment_urlstr[optional] [default to 'https://x.com/elonmusk/status/1349129669258448897']
conversation_controlPostCreateTweetRequestVariablesConversationControl[optional]
dark_requestbool[default to False]
disallowed_reply_optionsobject[optional]
mediaPostCreateTweetRequestVariablesMedia
replyPostCreateTweetRequestVariablesReply[optional]
semantic_annotation_idsList[object]
tweet_textstr[default to 'test']

Example

from twitter_openapi_python_generated.models.post_create_tweet_request_variables import PostCreateTweetRequestVariables

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

# convert the object into a dict
post_create_tweet_request_variables_dict = post_create_tweet_request_variables_instance.to_dict()
# create an instance of PostCreateTweetRequestVariables from a dict
post_create_tweet_request_variables_from_dict = PostCreateTweetRequestVariables.from_dict(post_create_tweet_request_variables_dict)

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