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

com.pengrad.telegrambot.model.request.KeyboardButtonRequestUser Maven / Gradle / Ivy

There is a newer version: 7.11.0
Show newest version
package com.pengrad.telegrambot.model.request;

import java.io.Serializable;

/**
 * @deprecated Use KeyboardButtonRequestUsers instead
 */
@Deprecated
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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy