require_auth=True, **kwargs
)
- def unretweet(self, *args, **kwargs):
+ def unretweet(self, status_id, *args, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-unretweet-id
- :allowed_param: 'id'
+ :allowed_param:
"""
return bind_api(
*args, api=self,
- path='/statuses/unretweet/{id}.json',
+ path=f'/statuses/unretweet/{status_id}.json',
method='POST',
payload_type='status',
- allowed_param=['id'],
require_auth=True, **kwargs
)