getBlogPostLikeUsers method
Returns the account IDs of likes of specific blog post.
Permissions required: Permission to view the content of the blog post and its corresponding space.
Implementation
Future<MultiEntityResult<Like>> getBlogPostLikeUsers(
{required int id, String? cursor, int? limit}) async {
return MultiEntityResult.fromJson(
await _client.send(
'get',
'blogposts/{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?>),
);
}