From 454c8db6452beff594526da42bbd388874224d6e Mon Sep 17 00:00:00 2001 From: douglascdev Date: Sun, 29 Sep 2024 09:38:25 -0300 Subject: [PATCH] Add new user fields to the README --- README.MD | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.MD b/README.MD index 90ad939..2277107 100644 --- a/README.MD +++ b/README.MD @@ -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 {