Add method for retweeting

This commit is contained in:
Oliver Davies 2019-01-10 23:15:45 +00:00
parent 802a9b0ba2
commit e8ad0b9b91
2 changed files with 8 additions and 1 deletions

View file

@ -25,4 +25,11 @@ class Retweeter
$this->codebird = $codebird;
}
public function retweet(array $tweet): void
{
$this->codebird->statuses_retweet_ID([
'id' => $tweet['id'],
]);
}
}