Skip to content

Commit

Permalink
Update signature for get_list_tweets in documentation
Browse files Browse the repository at this point in the history
Add media_fields, place_fields, and poll_fields parameters
  • Loading branch information
Harmon758 committed Oct 8, 2022
1 parent eafa665 commit 86577b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tweepy/asynchronous/client.py
Expand Up @@ -2556,7 +2556,8 @@ async def get_space_tweets(self, id, **params):

async def get_list_tweets(self, id, *, user_auth=False, **params):
"""get_list_tweets( \
id, *, expansions=None, max_results=None, pagination_token=None, \
id, *, expansions=None, max_results=None, media_fields=None, \
pagination_token=None, place_fields=None, poll_fields=None, \
tweet_fields=None, user_fields=None, user_auth=False \
)
Expand Down
3 changes: 2 additions & 1 deletion tweepy/client.py
Expand Up @@ -2760,7 +2760,8 @@ def get_space_tweets(self, id, **params):

def get_list_tweets(self, id, *, user_auth=False, **params):
"""get_list_tweets( \
id, *, expansions=None, max_results=None, pagination_token=None, \
id, *, expansions=None, max_results=None, media_fields=None, \
pagination_token=None, place_fields=None, poll_fields=None, \
tweet_fields=None, user_fields=None, user_auth=False \
)
Expand Down

0 comments on commit 86577b1

Please sign in to comment.