summaryrefslogtreecommitdiff
path: root/src/emotes.rs
blob: 79534e77e1ab494412860f49ae04e46e113aec69 (plain)
1
2
3
4
5
6
use reqwest::Error;

pub trait RetrieveEmoteAPI<T> {
    async fn get_channel_emotes(&self, channel_login: &str) -> Result<Vec<T>, Error>;
    async fn get_global_emotes(&self) -> Result<Vec<T>, Error>;
}