Documentation
¶
Overview ¶
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
- type Announcements
- type BadgesResponse
- type BadgesVersion
- type ChannelBadges
- type ChannelEmotes
- type Chatter
- type Chatters
- type Color
- type EmoteSets
- type EmotesImages
- type EmotesResponse
- type GetColorRequestBody
- type GetSettingsResponseUnprivileged
- type GlobalBadges
- type GlobalEmotes
- type PatchSettingsRequestBody
- type PatchSettingsResponseBody
- type PostAnnouncementsRequestBody
- type PostShoutoutsRequestBody
- type Settings
- type Shoutouts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Announcements ¶ added in v1.1.16
type Announcements struct{}
func (Announcements) GetRequiredScopes ¶ added in v1.1.16
func (e Announcements) GetRequiredScopes(method string) []string
func (Announcements) Path ¶ added in v1.1.16
func (e Announcements) Path() string
func (Announcements) ServeHTTP ¶ added in v1.1.16
func (e Announcements) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (Announcements) ValidMethod ¶ added in v1.1.16
func (e Announcements) ValidMethod(method string) bool
type BadgesResponse ¶
type BadgesResponse struct {
SetID string `json:"set_id"`
Versions []BadgesVersion `json:"versions"`
}
type BadgesVersion ¶
type BadgesVersion struct {
ID string `json:"id"`
ImageURL1X string `json:"image_url_1x"`
ImageURL2X string `json:"image_url_2x"`
ImageURL4X string `json:"image_url_4x"`
Title string `json:"title"`
Description string `json:"description"`
ClickAction *string `json:"click_action"`
ClickURL *string `json:"click_url"`
}
type ChannelBadges ¶
type ChannelBadges struct{}
func (ChannelBadges) GetRequiredScopes ¶
func (e ChannelBadges) GetRequiredScopes(method string) []string
func (ChannelBadges) Path ¶
func (e ChannelBadges) Path() string
func (ChannelBadges) ServeHTTP ¶
func (e ChannelBadges) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (ChannelBadges) ValidMethod ¶
func (e ChannelBadges) ValidMethod(method string) bool
type ChannelEmotes ¶
type ChannelEmotes struct{}
func (ChannelEmotes) GetRequiredScopes ¶
func (e ChannelEmotes) GetRequiredScopes(method string) []string
func (ChannelEmotes) Path ¶
func (e ChannelEmotes) Path() string
func (ChannelEmotes) ServeHTTP ¶
func (e ChannelEmotes) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (ChannelEmotes) ValidMethod ¶
func (e ChannelEmotes) ValidMethod(method string) bool
type Chatters ¶ added in v1.1.16
type Chatters struct{}
func (Chatters) GetRequiredScopes ¶ added in v1.1.16
func (Chatters) ServeHTTP ¶ added in v1.1.16
func (e Chatters) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (Chatters) ValidMethod ¶ added in v1.1.16
type Color ¶ added in v1.1.16
type Color struct{}
func (Color) GetRequiredScopes ¶ added in v1.1.16
func (Color) ServeHTTP ¶ added in v1.1.16
func (e Color) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (Color) ValidMethod ¶ added in v1.1.16
type EmoteSets ¶
type EmoteSets struct{}
func (EmoteSets) GetRequiredScopes ¶
func (EmoteSets) ValidMethod ¶
type EmotesImages ¶
type EmotesResponse ¶
type EmotesResponse struct {
ID string `json:"id"`
Name string `json:"name"`
Images EmotesImages `json:"images"`
Tier *string `json:"tier,omitempty"`
EmoteType *string `json:"emote_type,omitempty"`
EmoteSetID *string `json:"emote_set_id,omitempty"`
OwnerID *string `json:"owner_id,omitempty"`
Format []string `json:"format"`
Scale []string `json:"scale"`
ThemeMode []string `json:"theme_mode"`
}
type GetColorRequestBody ¶ added in v1.1.16
type GetSettingsResponseUnprivileged ¶ added in v1.1.16
type GetSettingsResponseUnprivileged struct {
BroadcasterID string `json:"broadcaster_id"`
SlowMode bool `json:"slow_mode"`
SlowModeWaitTime int `json:"slow_mode_wait_time"`
FollowerMode bool `json:"follower_mode"`
FollowerModeDuration int `json:"follower_mode_duration"`
SubscriberMode bool `json:"subscriber_mode"`
EmoteMode bool `json:"emote_mode"`
UniqueChatMode bool `json:"unique_chat_mode"`
NonModeratorChatDelay bool `json:"-"`
NonModeratorChatDelayDuration int `json:"-"`
}
Only used when the user isn't a moderator
type GlobalBadges ¶
type GlobalBadges struct{}
func (GlobalBadges) GetRequiredScopes ¶
func (e GlobalBadges) GetRequiredScopes(method string) []string
func (GlobalBadges) Path ¶
func (e GlobalBadges) Path() string
func (GlobalBadges) ServeHTTP ¶
func (e GlobalBadges) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (GlobalBadges) ValidMethod ¶
func (e GlobalBadges) ValidMethod(method string) bool
type GlobalEmotes ¶
type GlobalEmotes struct{}
func (GlobalEmotes) GetRequiredScopes ¶
func (e GlobalEmotes) GetRequiredScopes(method string) []string
func (GlobalEmotes) Path ¶
func (e GlobalEmotes) Path() string
func (GlobalEmotes) ServeHTTP ¶
func (e GlobalEmotes) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (GlobalEmotes) ValidMethod ¶
func (e GlobalEmotes) ValidMethod(method string) bool
type PatchSettingsRequestBody ¶ added in v1.1.16
type PatchSettingsRequestBody struct {
SlowMode *bool `json:"slow_mode"`
SlowModeWaitTime *int `json:"slow_mode_wait_time"`
FollowerMode *bool `json:"follower_mode"`
FollowerModeDuration *int `json:"follower_mode_duration"`
SubscriberMode *bool `json:"subscriber_mode"`
EmoteMode *bool `json:"emote_mode"`
UniqueChatMode *bool `json:"unique_chat_mode"`
NonModeratorChatDelay *bool `json:"non_moderator_chat_delay"`
NonModeratorChatDelayDuration *int `json:"non_moderator_chat_delay_duration"`
}
type PatchSettingsResponseBody ¶ added in v1.1.16
type PatchSettingsResponseBody struct {
BroadcasterID string `json:"broadcaster_id"`
ModeratorID string `json:"moderator_id"`
SlowMode bool `json:"slow_mode"`
SlowModeWaitTime int `json:"slow_mode_wait_time"`
FollowerMode bool `json:"follower_mode"`
FollowerModeDuration int `json:"follower_mode_duration"`
SubscriberMode bool `json:"subscriber_mode"`
EmoteMode bool `json:"emote_mode"`
UniqueChatMode bool `json:"unique_chat_mode"`
NonModeratorChatDelay bool `json:"non_moderator_chat_delay"`
NonModeratorChatDelayDuration int `json:"non_moderator_chat_delay_duration"`
}
type PostAnnouncementsRequestBody ¶ added in v1.1.16
type PostShoutoutsRequestBody ¶ added in v1.1.16
type PostShoutoutsRequestBody struct {
SlowMode *bool `json:"slow_mode"`
SlowModeWaitTime *int `json:"slow_mode_wait_time"`
FollowerMode *bool `json:"follower_mode"`
FollowerModeDuration *int `json:"follower_mode_duration"`
SubscriberMode *bool `json:"subscriber_mode"`
EmoteMode *bool `json:"emote_mode"`
UniqueChatMode *bool `json:"unique_chat_mode"`
NonModeratorChatDelay *bool `json:"non_moderator_chat_delay"`
NonModeratorChatDelayDuration *int `json:"non_moderator_chat_delay_duration"`
}
type Settings ¶ added in v1.1.16
type Settings struct{}
func (Settings) GetRequiredScopes ¶ added in v1.1.16
func (Settings) ServeHTTP ¶ added in v1.1.16
func (e Settings) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (Settings) ValidMethod ¶ added in v1.1.16
type Shoutouts ¶ added in v1.1.16
type Shoutouts struct{}
func (Shoutouts) GetRequiredScopes ¶ added in v1.1.16
func (Shoutouts) ServeHTTP ¶ added in v1.1.16
func (e Shoutouts) ServeHTTP(w http.ResponseWriter, r *http.Request)