com.pengrad.telegrambot.request.AnswerWebAppQuery 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.model.request.InlineQueryResult;
import com.pengrad.telegrambot.response.BaseResponse;
import com.pengrad.telegrambot.response.SentWebAppMessageResponse;
/**
* Mirco Ianese
* 20 Apr 2022
*/
public class AnswerWebAppQuery extends BaseRequest {
public AnswerWebAppQuery(String web_app_query_id, InlineQueryResult> result) {
super(SentWebAppMessageResponse.class);
add("web_app_query_id", web_app_query_id).add("result", result);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy