getTopReactions method
Get Top Reactions.
ID: bb8125ba
.
Implementation
Future<Result<MessagesReactionsBase>> getTopReactions({
required int limit,
required int hash,
}) async {
// Preparing the request.
final request = MessagesGetTopReactions(
limit: limit,
hash: hash,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<MessagesReactionsBase>();
}