com.pengrad.telegrambot.model.request.KeyboardButtonRequestUsers 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.model.request;
import java.io.Serializable;
public class KeyboardButtonRequestUsers implements Serializable {
private final static long serialVersionUID = 0L;
private Integer request_id;
private Boolean user_is_bot;
private Boolean user_is_premium;
private Integer max_quantity;
public KeyboardButtonRequestUsers(Integer requestId) {
this.request_id = requestId;
}
public KeyboardButtonRequestUsers userIsBot(Boolean userIsBot) {
this.user_is_bot = userIsBot;
return this;
}
public KeyboardButtonRequestUsers userIsPremium(Boolean userIsPremium) {
this.user_is_premium = userIsPremium;
return this;
}
public KeyboardButtonRequestUsers maxQuantity(Integer maxQuantity) {
this.max_quantity = maxQuantity;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy