Skip to content

Commit

Permalink
Merge pull request #205 from douglascdev/new-user-fields
Browse files Browse the repository at this point in the history
Add new user fields to the README
  • Loading branch information
gempir authored Sep 29, 2024
2 parents 942c8c1 + 454c8db commit 31de9a3
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 31de9a3

Please sign in to comment.