com.pengrad.telegrambot.request.SetChatAdministratorCustomTitle 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.BaseResponse;
/**
* Stas Parshin
* 01 January 2020
*/
public class SetChatAdministratorCustomTitle extends BaseRequest {
public SetChatAdministratorCustomTitle(Object chatId, long userId, String customTitle) {
super(BaseResponse.class);
add("chat_id", chatId).add("user_id", userId).add("custom_title", customTitle);
}
}