com.pengrad.telegrambot.request.GetMyDescription 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.request;
import com.pengrad.telegrambot.response.GetMyDescriptionResponse;
public class GetMyDescription extends BaseRequest {
public GetMyDescription() {
super(GetMyDescriptionResponse.class);
}
/**
*
* @param languageCode A two-letter ISO 639-1 language code or an empty string
* @return
*/
public GetMyDescription languageCode(String languageCode) {
add("language_code", languageCode);
return this;
}
}