com.pengrad.telegrambot.request.SendDice 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;
/**
* Stas Parshin
* 31 March 2020
*/
public class SendDice extends AbstractSendRequest {
public SendDice(Object chatId) {
super(chatId);
}
public SendDice emoji(String emoji) {
return add("emoji", emoji);
}
public SendDice darts() {
return emoji("🎯");
}
public SendDice basketball() {
return emoji("🏀");
}
public SendDice football() {
return emoji("⚽");
}
public SendDice slotMachine() {
return emoji("🎰");
}
public SendDice bowling() {
return emoji("🎳");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy