)
@payload('list')
- def add_list_member(self, *args, **kwargs):
+ def add_list_member(self, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/post-lists-members-create
"""
return self.request(
- 'POST', 'lists/members/create', *args, endpoint_parameters=(
- 'screen_name', 'user_id', 'owner_screen_name', 'owner_id',
- 'slug', 'list_id'
+ 'POST', 'lists/members/create', endpoint_parameters=(
+ 'list_id', 'slug', 'user_id', 'screen_name',
+ 'owner_screen_name', 'owner_id'
), **kwargs
)