All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pengrad.telegrambot.response.GetMyCommandsResponse Maven / Gradle / Ivy

There is a newer version: 7.11.0
Show newest version
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