com.pengrad.telegrambot.response.MessagesResponse 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.Message;
import java.util.Arrays;
/**
* Stas Parshin
* 23 November 2017
*/
public class MessagesResponse extends BaseResponse {
private Message[] result;
MessagesResponse() {
}
public Message[] messages() {
return result;
}
@Override
public String toString() {
return "MessagesResponse{" +
"result=" + Arrays.toString(result) +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy