emotes

package
v0.0.0-...-1081ff4 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BttvChannel

type BttvChannel struct {
	ChannelEmotes []BttvEmote `json:"channelEmotes"`
	SharedEmotes  []BttvEmote `json:"sharedEmotes"`
}

type BttvEmote

type BttvEmote struct {
	ID   string `json:"id"`
	Code string `json:"code"`
}

type Emote

type Emote struct {
	ID        string
	Name      string
	URLs      []string
	ZeroWidth bool
	Provider  EmoteProvider
}

func Get7TV

func Get7TV(gCtx global.Context, ctx context.Context, id string) ([]Emote, error)

func GetBttv

func GetBttv(gCtx global.Context, ctx context.Context, id string) ([]Emote, error)

func GetFFZ

func GetFFZ(gCtx global.Context, ctx context.Context, id string) ([]Emote, error)

type EmoteProvider

type EmoteProvider string
const (
	EmoteProviderTwitch EmoteProvider = "TWITCH"
	EmoteProviderFFZ    EmoteProvider = "FFZ"
	EmoteProviderBTTV   EmoteProvider = "BTTV"
	EmoteProvider7TV    EmoteProvider = "7TV"
)

type FFZEmote

type FFZEmote struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
}

type FFZEmoteSet

type FFZEmoteSet struct {
	Emoticons []FFZEmote `json:"emoticons"`
}

type FFZRoom

type FFZRoom struct {
	Sets map[string]FFZEmoteSet `json:"sets"`
}

type SeventvEmote

type SeventvEmote struct {
	ID         string `json:"id"`
	Name       string `json:"name"`
	Visibility int    `json:"visibility"`
}

Jump to

Keyboard shortcuts

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