From 9a89826c0d169d0b7561a2776e27d52cd281d1da Mon Sep 17 00:00:00 2001 From: "Carson M." Date: Mon, 8 Apr 2024 15:51:45 -0500 Subject: [PATCH] fix: banner action --- src/youtube/types/get_live_chat.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/youtube/types/get_live_chat.rs b/src/youtube/types/get_live_chat.rs index 89db9aa..1d37dcd 100644 --- a/src/youtube/types/get_live_chat.rs +++ b/src/youtube/types/get_live_chat.rs @@ -162,6 +162,12 @@ pub enum Action { #[serde(deserialize_with = "deserialize_number_from_string")] video_offset_time_msec: i64 }, + #[serde(rename = "addBannerToLiveChatCommand")] + #[serde(rename_all = "camelCase")] + AddBannerToLiveChat { + #[serde(flatten)] + data: simd_json::OwnedValue + }, LiveChatReportModerationStateCommand(simd_json::OwnedValue) }