Discover Packages
github.com/Chatterino/api
internal
routes
twitchemotes
package
Version:
v1.2.3
Opens a new window with list of versions in this module.
Published: Mar 13, 2022
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
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.
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 struct {
Status int
Error error
}
type TwitchEmotesErrorResponse struct {
Status int
Message string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.