com.pengrad.telegrambot.response.MessageIdResponse 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 com.pengrad.telegrambot.model.MessageId;
/**
* Stas Parshin
* 06 November 2020
*/
public class MessageIdResponse extends BaseResponse {
private MessageId result;
public MessageId result() {
return result;
}
public Integer messageId() {
return result.messageId();
}
@Override
public String toString() {
return "MessageIdResponse{" +
"result=" + result +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy