Documentation
¶
Index ¶
- type ActorID
- type BTTVChannelEmotes
- type BTTVEmote
- type BadgeResp
- type Chat
- type ChatNoEmotes
- type ChatOnlyBadges
- type ChatOnlyEmotes
- type ChatTwitchBadge
- type ChatTwitchBit
- type Comment
- type Commenter
- type Connection
- type ContentType
- type Data
- type DisplayName
- type EmbeddedDataBadges
- type Emote
- type EmoteData
- type EmoteSet
- type Emotes
- type EmoticonElement
- type FFZEmote
- type FFZImageType
- type FFZImages
- type FFZUser
- type File
- type FirstParty
- type Format
- type Fragment
- type FragmentEmoticon
- type GanymedeBadge
- type GanymedeEmote
- func Get7TVChannelEmotes(channelId int64) ([]*GanymedeEmote, error)
- func Get7TVGlobalEmotes() ([]*GanymedeEmote, error)
- func GetBTTVChannelEmotes(channelId int64) ([]*GanymedeEmote, error)
- func GetBTTVGlobalEmotes() ([]*GanymedeEmote, error)
- func GetFFZChannelEmotes(channelId int64) ([]*GanymedeEmote, error)
- func GetFFZGlobalEmotes() ([]*GanymedeEmote, error)
- func GetTwitchChannelEmotes(channelId int64) ([]*GanymedeEmote, error)
- func GetTwitchGlobalEmotes() ([]*GanymedeEmote, error)
- type GanymedeEmoteType
- type GanymedeEmotes
- type Host
- type ID
- type ImageType
- type Images
- type Message
- type Name
- type Owner
- type Party
- type Role
- type SevenTVChannelEmotes
- type SevenTVEmote
- type SevenTVFormat
- type SevenTVGlobalEmotes
- type Source
- type State
- type StaticName
- type Streamer
- type Style
- type ThemeMode
- type TwitchBadeResp
- type TwitchBadge
- type TwitchGlobalEmote
- type TwitchGlobalEmotes
- type TwitchItem
- type TwitchVersion
- type Type
- type User
- type UserBadge
- type UserID
- type UserNoticeParams
- type VideoClass
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BTTVChannelEmotes ¶
type BadgeResp ¶
type BadgeResp struct {
Badges []GanymedeBadge `json:"badges"`
}
func GetTwitchChannelBadges ¶
func GetTwitchGlobalBadges ¶
type Chat ¶
type Chat struct { Streamer Streamer `json:"streamer"` Comments []Comment `json:"comments"` Video VideoClass `json:"video"` Emotes Emotes `json:"emotes"` }
func UnmarshalChat ¶
type ChatNoEmotes ¶
type ChatNoEmotes struct { Streamer Streamer `json:"streamer"` Comments []Comment `json:"comments"` Video VideoClass `json:"video"` }
type ChatOnlyBadges ¶ added in v1.1.6
type ChatOnlyBadges struct { Streamer Streamer `json:"streamer"` EmbeddedData EmbeddedDataBadges `json:"embeddedData"` }
type ChatOnlyEmotes ¶
type ChatOnlyEmotes struct { Streamer Streamer `json:"streamer"` Video VideoClass `json:"video"` Emotes Emotes `json:"emotes"` EmbeddedData Emotes `json:"embeddedData"` }
type ChatTwitchBadge ¶ added in v1.1.6
type ChatTwitchBit ¶ added in v1.1.6
type ChatTwitchBit struct { Prefix string `json:"prefix"` TierList map[string]FirstParty `json:"tierList"` }
type Comment ¶
type Comment struct { ID string `json:"_id"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` ChannelID string `json:"channel_id"` ContentType ContentType `json:"content_type"` ContentID string `json:"content_id"` ContentOffsetSeconds float64 `json:"content_offset_seconds"` Commenter Commenter `json:"commenter"` Source Source `json:"source"` State State `json:"state"` Message Message `json:"message"` MoreReplies bool `json:"more_replies"` }
type Connection ¶
type ContentType ¶
type ContentType string
type DisplayName ¶
type DisplayName string
type EmbeddedDataBadges ¶ added in v1.1.6
type EmbeddedDataBadges struct { TwitchBadges []ChatTwitchBadge `json:"twitchBadges"` TwitchBits []ChatTwitchBit `json:"twitchBits"` }
type EmoticonElement ¶
type FFZImageType ¶
type FFZImageType string
type FFZUser ¶
type FFZUser struct { ID int64 `json:"id"` Name Name `json:"name"` DisplayName DisplayName `json:"displayName"` }
type File ¶
type File struct { Name Name `json:"name"` StaticName StaticName `json:"static_name"` Width int64 `json:"width"` Height int64 `json:"height"` Size int64 `json:"size"` Format SevenTVFormat `json:"format"` }
type FirstParty ¶ added in v1.1.6
type Fragment ¶
type Fragment struct { Text string `json:"text"` Emoticon *FragmentEmoticon `json:"emoticon"` }
type FragmentEmoticon ¶
type GanymedeBadge ¶
type GanymedeBadge struct { Version string `json:"version"` Name string `json:"name"` ImageUrl1X string `json:"image_url_1x"` ImageUrl2X string `json:"image_url_2x"` ImageUrl4X string `json:"image_url_4x"` Description string `json:"description"` Title string `json:"title"` ClickAction string `json:"click_action"` ClickUrl string `json:"click_url"` }
type GanymedeEmote ¶
type GanymedeEmote struct { ID string `json:"id"` Name string `json:"name"` URL string `json:"url"` Type GanymedeEmoteType `json:"type"` Source string `json:"source"` Width int64 `json:"width"` Height int64 `json:"height"` }
func Get7TVChannelEmotes ¶
func Get7TVChannelEmotes(channelId int64) ([]*GanymedeEmote, error)
func Get7TVGlobalEmotes ¶
func Get7TVGlobalEmotes() ([]*GanymedeEmote, error)
func GetBTTVChannelEmotes ¶
func GetBTTVChannelEmotes(channelId int64) ([]*GanymedeEmote, error)
func GetBTTVGlobalEmotes ¶
func GetBTTVGlobalEmotes() ([]*GanymedeEmote, error)
func GetFFZChannelEmotes ¶
func GetFFZChannelEmotes(channelId int64) ([]*GanymedeEmote, error)
func GetFFZGlobalEmotes ¶
func GetFFZGlobalEmotes() ([]*GanymedeEmote, error)
func GetTwitchChannelEmotes ¶
func GetTwitchChannelEmotes(channelId int64) ([]*GanymedeEmote, error)
func GetTwitchGlobalEmotes ¶
func GetTwitchGlobalEmotes() ([]*GanymedeEmote, error)
type GanymedeEmoteType ¶
type GanymedeEmoteType string
type GanymedeEmotes ¶
type GanymedeEmotes struct {
Emotes []GanymedeEmote `json:"emotes"`
}
type Message ¶
type Message struct { Body string `json:"body"` BitsSpent int64 `json:"bits_spent"` Fragments []Fragment `json:"fragments"` IsAction bool `json:"is_action"` UserBadges []UserBadge `json:"user_badges"` UserColor *string `json:"user_color"` UserNoticeParams UserNoticeParams `json:"user_notice_params"` Emoticons []EmoticonElement `json:"emoticons"` }
type SevenTVChannelEmotes ¶
type SevenTVChannelEmotes struct { ID string `json:"id"` Platform string `json:"platform"` Username string `json:"username"` DisplayName string `json:"display_name"` LinkedAt int64 `json:"linked_at"` EmoteCapacity int64 `json:"emote_capacity"` EmoteSet EmoteSet `json:"emote_set"` User User `json:"user"` }
type SevenTVEmote ¶
type SevenTVFormat ¶
type SevenTVFormat string
type SevenTVGlobalEmotes ¶
type StaticName ¶
type StaticName string
type TwitchBadeResp ¶
type TwitchBadeResp struct {
BadgeSets map[string]TwitchBadge `json:"badge_sets"`
}
type TwitchBadge ¶
type TwitchBadge map[string]TwitchVersion
type TwitchGlobalEmote ¶
type TwitchGlobalEmotes ¶
type TwitchGlobalEmotes struct { Data []TwitchGlobalEmote `json:"data"` Template string `json:"template"` }
type TwitchItem ¶
type TwitchVersion ¶
type TwitchVersion map[string]TwitchItem
type User ¶
type User struct { ID string `json:"id"` Username string `json:"username"` DisplayName string `json:"display_name"` AvatarURL string `json:"avatar_url"` Style Style `json:"style"` Roles []Role `json:"roles"` Connections []Connection `json:"connections"` CreatedAt *int64 `json:"createdAt,omitempty"` Biography *string `json:"biography,omitempty"` }
type UserNoticeParams ¶
type UserNoticeParams struct {
MsgID interface{} `json:"msg_id"`
}
type VideoClass ¶
Click to show internal directories.
Click to hide internal directories.