Session management

This commit is contained in:
2026-02-23 07:57:10 +01:00
parent d42d753a87
commit 5cc4685588
4 changed files with 98 additions and 7 deletions
+20
View File
@@ -52,3 +52,23 @@ impl Method for BuyHat {
type Response = String;
type Error = String;
}
#[derive(Debug, Serialize, Deserialize)]
pub struct Emote;
impl Method for Emote {
const NAME: &'static str = "emote";
type Request = String;
type Response = String;
type Error = String;
}
#[derive(Debug, Serialize, Deserialize)]
pub struct EmoteEvent;
impl Method for EmoteEvent {
const NAME: &'static str = "emote_event";
type Request = String;
type Response = String;
type Error = String;
}