io.github.biezhi.tgbot.request.GetGameHighScores Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of telegram-bot-api Show documentation
Show all versions of telegram-bot-api Show documentation
Telegram bot library by Java
The newest version!
package io.github.biezhi.tgbot.request;
import io.github.biezhi.tgbot.response.GetGameHighScoresResponse;
/**
* Stas Parshin
* 04 October 2016
*/
public class GetGameHighScores extends BotRequest {
public GetGameHighScores(int userId, Object chatId, int messageId) {
super(GetGameHighScoresResponse.class);
add("user_id", userId).add("chat_id", chatId).add("message_id", messageId);
}
public GetGameHighScores(int userId, String inlineMessageId) {
super(GetGameHighScoresResponse.class);
add("user_id", userId).add("inline_message_id", inlineMessageId);
}
}