Skip to content

Commit

Permalink
Add new user fields to the README
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascdev committed Sep 29, 2024
1 parent 942c8c1 commit 454c8db
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@ func main() {
The twitch.User and MessageType structs reflect the data Twitch provides, minus any fields that have been marked as deprecated:
```go
type User struct {
ID string
Name string
DisplayName string
Color string
Badges map[string]int
ID string
Name string
DisplayName string
Color string
Badges map[string]int
IsBroadcaster bool
IsMod bool
IsVip bool
}

type WhisperMessage struct {
Expand Down

0 comments on commit 454c8db

Please sign in to comment.