twitch_tohell 0.1.1

Twitch EventSub webhook and WebSocket support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};

use crate::BroadcasterId;

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ChannelUpdate {
    pub broadcaster_user_id: BroadcasterId,
    pub broadcaster_user_login: String,
    pub broadcaster_user_name: String,
    pub title: String,
    pub language: String,
    pub category_id: String,
    pub category_name: String,
    pub content_classification_labels: Vec<String>,
}