com.pengrad.telegrambot.request.GetFile 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.request;
import com.pengrad.telegrambot.response.GetFileResponse;
/**
* stas
* 5/1/16.
*/
public class GetFile extends BaseRequest {
public GetFile(String fileId) {
super(GetFileResponse.class);
add("file_id", fileId);
}
}