mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-10-07 00:12:55 +08:00
Add ViewersCount from Twitch to the stream status
This commit is contained in:
@@ -100,9 +100,10 @@ func ConvertStreamProfiles[T StreamProfile](
|
||||
}
|
||||
|
||||
type StreamStatus struct {
|
||||
IsActive bool
|
||||
StartedAt *time.Time `json:",omitempty"`
|
||||
CustomData any `json:",omitempty"`
|
||||
IsActive bool
|
||||
ViewersCount *uint `json:",omitempty"`
|
||||
StartedAt *time.Time `json:",omitempty"`
|
||||
CustomData any `json:",omitempty"`
|
||||
}
|
||||
|
||||
type ChatUserID string
|
||||
|
Reference in New Issue
Block a user