All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.biezhi.tgbot.request.GetGameHighScores Maven / Gradle / Ivy

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);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy