Community

May 20, 2026 ยท View on GitHub

Properties

NameTypeDescriptionNotes
typenameTypeName
actionsCommunityActions[optional]
admin_resultsUserResults[optional]
created_atint[optional]
creator_resultsUserResults[optional]
custom_banner_mediaDict[str, object][optional]
default_banner_mediaDict[str, object][optional]
descriptionstr[optional]
id_strstr[optional]
invites_policystr[optional]
invites_resultCommunityInvitesResult[optional]
is_pinnedbool[optional]
join_policystr[optional]
join_requests_resultCommunityJoinRequestsResult[optional]
member_countint[optional]
members_facepile_resultsList[UserResults][optional]
moderator_countint[optional]
namestr[optional]
primary_community_topicPrimaryCommunityTopic[optional]
questionstr[optional]
rolestr[optional]
rulesList[CommunityRule][optional]
search_tagsList[str][optional]
show_only_users_to_displayList[str][optional]
urlsCommunityUrls[optional]
viewer_relationshipDict[str, object][optional]

Example

from twitter_openapi_python_generated.models.community import Community

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

# convert the object into a dict
community_dict = community_instance.to_dict()
# create an instance of Community from a dict
community_from_dict = Community.from_dict(community_dict)

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