com.pengrad.telegrambot.request.GetChatMenuButton 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.GetChatMenuButtonResponse;
/**
* Mirco Ianese
* 20 Apr 2022
*/
public class GetChatMenuButton extends BaseRequest {
public GetChatMenuButton() {
super(GetChatMenuButtonResponse.class);
}
public GetChatMenuButton chatId(long chatId) {
return add("chat_id", chatId);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy