// The client_id of the application that was granted user access.
ClientIdstring`json:"client_id"`
// The user id for the user who has granted authorization for your client id.
UserIdstring`json:"user_id"`
// The user login for the user who has granted authorization for your client id.
UserLoginstring`json:"user_login"`
// The user display name for the user who has granted authorization for your client id.
UserNamestring`json:"user_name"`
}
typeUserAuthorizationRevokeEventstruct{
// The client_id of the application with revoked user access.
ClientIdstring`json:"client_id"`
// The user id for the user who has revoked authorization for your client id.
UserIdstring`json:"user_id"`
// The user login for the user who has revoked authorization for your client id. This is null if the user no longer exists.
UserLogin*string`json:"user_login"`
// The user display name for the user who has revoked authorization for your client id. This is null if the user no longer exists.
UserName*string`json:"user_name"`
}
typeUserUpdateEventstruct{
// The user’s user id.
UserIdstring`json:"user_id"`
// The user’s user login.
UserLoginstring`json:"user_login"`
// The user’s user display name.
UserNamestring`json:"user_name"`
// The user’s email address.
// The event includes the user’s email address only if the app used to request this event type includes the user:read:email scope for the user;
// otherwise, the field is set to an empty string. See Create EventSub Subscription: https://dev.twitch.tv/docs/api/reference#create-eventsub-subscription
Emailstring`json:"email"`
// A Boolean value that determines whether Twitch has verified the user’s email address.
// Is true if Twitch has verified the email address; otherwise, false.
// NOTE: Ignore this field if the email field contains an empty string.