use super::Method;
use crate::types::{DiceType, Message, ReplyParameters};
use serde::Serialize;
#[derive(Debug, Serialize)]
pub struct SendDice {
pub chat_id: i64,
pub emoji: DiceType,
#[serde(skip_serializing_if = "Option::is_none")]
pub reply_parameters: Option<ReplyParameters>,
}
impl Method for SendDice {
type Response = Message;
const NAME: &str = "sendDice";
}