com.pengrad.telegrambot.request.GetGameHighScores Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-telegram-bot-api Show documentation
Show all versions of java-telegram-bot-api Show documentation
Java API for Telegram Bot API
package com.pengrad.telegrambot.request;
import com.pengrad.telegrambot.response.GetGameHighScoresResponse;
/**
* Stas Parshin
* 04 October 2016
*/
public class GetGameHighScores extends BaseRequest {
public GetGameHighScores(long userId, Object chatId, int messageId) {
super(GetGameHighScoresResponse.class);
add("user_id", userId).add("chat_id", chatId).add("message_id", messageId);
}
public GetGameHighScores(long userId, String inlineMessageId) {
super(GetGameHighScoresResponse.class);
add("user_id", userId).add("inline_message_id", inlineMessageId);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy