twitchemotes

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(router *chi.Mux, helixClient *helix.Client, usernameCache *cache.Cache) error

Initialize servers the /twitchemotes/set/{setID} route In newer versions of Chatterino this data is fetched client-side instead. To support older versions of Chattterino that relied on this API we will keep this API functional for some time longer.

Types

type EmoteSet

type EmoteSet struct {
	ChannelName string `json:"channel_name"`
	ChannelID   string `json:"channel_id"`
	Type        string `json:"type"`
	Tier        int    `json:"tier"`
	Custom      bool   `json:"custom"`
}

type TwitchEmotesError

type TwitchEmotesError struct {
	Status int
	Error  error
}

type TwitchEmotesErrorResponse

type TwitchEmotesErrorResponse struct {
	Status  int
	Message string
}

Jump to

Keyboard shortcuts

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