Larabros\Elogram\Repositories\UsersRepository::getLikedMedia PHP Method

getLikedMedia() public method

Get the list of recent media liked by the owner of the access token.
public getLikedMedia ( integer | null $count = null, integer | null $maxLikeId = null ) : Response
$count integer | null Count of media to return
$maxLikeId integer | null Return media liked before this id
return Larabros\Elogram\Http\Response
    public function getLikedMedia($count = null, $maxLikeId = null)
    {
        $params = ['query' => ['count' => $count, 'max_like_id' => $maxLikeId]];
        return $this->client->request('GET', 'users/self/media/liked', $params);
    }