mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-27 07:49:21 +00:00
17 lines
329 B
Rust
17 lines
329 B
Rust
//! # Create custom emoji result
|
|
//!
|
|
//! @author Pierre Hubert
|
|
|
|
use serde::Serialize;
|
|
|
|
#[allow(non_snake_case)]
|
|
#[derive(Serialize)]
|
|
pub struct ResCreateCustomEmoji {
|
|
emojiID: u64
|
|
}
|
|
|
|
impl ResCreateCustomEmoji {
|
|
pub fn new(emoji_id: u64) -> ResCreateCustomEmoji {
|
|
ResCreateCustomEmoji { emojiID: emoji_id }
|
|
}
|
|
} |