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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy