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