com.pengrad.telegrambot.passport.SetPassportDataErrors 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.passport;
import com.pengrad.telegrambot.request.BaseRequest;
import com.pengrad.telegrambot.response.BaseResponse;
/**
* Stas Parshin
* 30 July 2018
*/
public class SetPassportDataErrors extends BaseRequest {
public SetPassportDataErrors(long userId, PassportElementError... errors) {
super(BaseResponse.class);
add("user_id", userId).add("errors", errors);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy