google_youtube_api_v3/youtube/live_chat_ban_snippet

DO NOT CHANGE, THIS IS AN AUTO GENERATED FILE FROM generate.gleam

Types

pub type LiveChatBanSnippet {
  LiveChatBanSnippet(
    ban_duration_seconds: option.Option(String),
    banned_user_details: option.Option(
      channel_profile_details.ChannelProfileDetails,
    ),
    live_chat_id: option.Option(String),
    type_: option.Option(Type),
  )
}

Constructors

The type of ban.

pub type Type {
  TypeLiveChatBanTypeUnspecified
  TypePermanent
  TypeTemporary
}

Constructors

  • TypeLiveChatBanTypeUnspecified
  • TypePermanent
  • TypeTemporary

Values

pub fn type_decoder() -> decode.Decoder(Type)
pub fn type_to_string(value: Type) -> String
✨ Search Document