Добавлен get_chat_settings
This commit is contained in:
@ -541,3 +541,25 @@ class ChannelChatBadges(BaseModel):
|
||||
|
||||
class GlobalChatBadges(ChannelChatBadges):
|
||||
pass
|
||||
|
||||
|
||||
class ChatSettingsData(BaseModel):
|
||||
model_config = ConfigDict(extra='forbid')
|
||||
|
||||
broadcaster_id: int
|
||||
emote_mode: bool
|
||||
follower_mode: bool
|
||||
follower_mode_duration: int | None
|
||||
moderator_id: int | None = None
|
||||
non_moderator_chat_delay: bool | None = None
|
||||
non_moderator_chat_delay_duration: int | None = None
|
||||
slow_mode: bool
|
||||
slow_mode_wait_time: int | None
|
||||
subscriber_mode: bool
|
||||
unique_chat_mode: bool
|
||||
|
||||
|
||||
class ChatSettings(BaseModel):
|
||||
model_config = ConfigDict(extra='forbid')
|
||||
|
||||
data: list[ChatSettingsData]
|
||||
|
||||
Reference in New Issue
Block a user