use reqwest::Error; use serde::{Deserialize, Serialize}; #[derive(Deserialize, Serialize, Clone, Debug)] pub struct Emote { pub id: String, pub code: String, pub original_code: Option, } pub trait RetrieveEmoteAPI { async fn get_channel_emotes(&self, channel_login: &str) -> Result, Error>; async fn get_global_emotes(&self) -> Result, Error>; }