getFooterLikeUsers method

Future<MultiEntityResult<Like>> getFooterLikeUsers({
  1. required int id,
  2. String? cursor,
  3. int? limit,
})

Returns the account IDs of likes of specific footer comment.

Permissions required: Permission to view the content of the page/blogpost and its corresponding space.

Implementation

Future<MultiEntityResult<Like>> getFooterLikeUsers(
    {required int id, String? cursor, int? limit}) async {
  return MultiEntityResult.fromJson(
    await _client.send(
      'get',
      'footer-comments/{id}/likes/users',
      pathParameters: {
        'id': '$id',
      },
      queryParameters: {
        if (cursor != null) 'cursor': cursor,
        if (limit != null) 'limit': '$limit',
      },
    ),
    reviver: (v) => Like.fromJson(v as Map<String, Object?>),
  );
}