com.pengrad.telegrambot.response.PollResponse 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.Poll;
/**
* Stas Parshin
* 17 April 2019
*/
public class PollResponse extends BaseResponse {
private Poll result;
public Poll poll() {
return result;
}
@Override
public String toString() {
return "PollResponse{" +
"result=" + result +
'}';
}
}