com.pengrad.telegrambot.response.GetMyCommandsResponse 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.response;
import com.pengrad.telegrambot.model.BotCommand;
import java.util.Arrays;
/**
* Stas Parshin
* 31 March 2020
*/
public class GetMyCommandsResponse extends BaseResponse {
private BotCommand[] result;
public BotCommand[] commands() {
return result;
}
@Override
public String toString() {
return "GetMyCommandsResponse{" +
"result=" + Arrays.toString(result) +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy