getInlineGameHighScores method
Future<Result<MessagesHighScoresBase> >
getInlineGameHighScores({
- required InputBotInlineMessageIDBase id,
- required InputUserBase userId,
Get Inline Game High Scores.
ID: 0f635e1b
.
Implementation
Future<Result<MessagesHighScoresBase>> getInlineGameHighScores({
required InputBotInlineMessageIDBase id,
required InputUserBase userId,
}) async {
// Preparing the request.
final request = MessagesGetInlineGameHighScores(
id: id,
userId: userId,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<MessagesHighScoresBase>();
}