google_youtube_api_v3/youtube/live_chat_user_banned_message_details
DO NOT CHANGE, THIS IS AN AUTO GENERATED FILE FROM generate.gleam
Types
The type of ban.
pub type BanType {
BanTypePermanent
BanTypeTemporary
}
Constructors
-
BanTypePermanent -
BanTypeTemporary
pub type LiveChatUserBannedMessageDetails {
LiveChatUserBannedMessageDetails(
ban_duration_seconds: option.Option(String),
ban_type: option.Option(BanType),
banned_user_details: option.Option(
channel_profile_details.ChannelProfileDetails,
),
)
}
Constructors
-
LiveChatUserBannedMessageDetails( ban_duration_seconds: option.Option(String), ban_type: option.Option(BanType), banned_user_details: option.Option( channel_profile_details.ChannelProfileDetails, ), )
Values
pub fn ban_type_decoder() -> decode.Decoder(BanType)
pub fn ban_type_to_string(value: BanType) -> String
pub fn decoder() -> decode.Decoder(
LiveChatUserBannedMessageDetails,
)
pub fn to_json(
value: LiveChatUserBannedMessageDetails,
) -> json.Json