seventv

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EmoteVisibilityPrivate int32 = 1 << iota
	EmoteVisibilityGlobal
	EmoteVisibilityHidden
	EmoteVisibilityOverrideBTTV
	EmoteVisibilityOverrideFFZ
	EmoteVisibilityOverrideTwitchGlobal
	EmoteVisibilityOverrideTwitchSubscriber

	EmoteVisibilityAll int32 = (1 << iota) - 1
)

Variables

This section is empty.

Functions

func New

func New(cfg config.APIConfig) (resolvers []resolver.CustomURLManager)

Types

type EmoteAPIEmote

type EmoteAPIEmote struct {
	ID         string       `json:"id"`
	Name       string       `json:"name"`
	Visibility int32        `json:"visibility"`
	Owner      EmoteAPIUser `json:"owner"`
}

type EmoteAPIResponse

type EmoteAPIResponse struct {
	Data EmoteAPIResponseData `json:"data"`
}

type EmoteAPIResponseData

type EmoteAPIResponseData struct {
	Emote *EmoteAPIEmote `json:"emote,omitempty"`
}

type EmoteAPIUser

type EmoteAPIUser struct {
	ID          string `json:"id"`
	DisplayName string `json:"display_name"`
}

type TooltipData

type TooltipData struct {
	Code     string
	Type     string
	Uploader string

	Unlisted bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL