Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewClientFromEnv ¶
func (*Client) SetHTTPRoundTripper ¶
func (c *Client) SetHTTPRoundTripper(rt http.RoundTripper)
type Collection ¶
type Dimensions ¶
type Image ¶
type Image struct { URL string `json:"secureUrl,omitempty"` Dimensions *Dimensions `json:"dimensions,omitempty"` }
type Language ¶
type Language string
Languages
const ( LangSpanish Language = "es" LangPortuguese Language = "pt" LangIndonesian Language = "id" LangFrench Language = "fr" LangArabic Language = "ar" LangTurkish Language = "tr" LangThai Language = "th" LangVietnamese Language = "vi" LangGerman Language = "de" LangItalian Language = "it" LangJapanese Language = "ja" LangChineseSimplified Language = "zh-CN" LangChineseTraditional Language = "zh-TW" LangRussian Language = "ru" LangKorean Language = "ko" LangPolish Language = "pl" LangDutch Language = "nl" LangRomanian Language = "ro" LangHungarian Language = "hu" LangSwedish Language = "sv" LangCzech Language = "cs" LangHindi Language = "hi" LangBengali Language = "bn" LangDanish Language = "da" LangFarsi Language = "fa" LangFilipino Language = "tl" LangFinnish Language = "fi" LangHebrew Language = "iw" LangMalay Language = "ms" LangNorwegian Language = "no" LangUkrainian Language = "uk" )
type Response ¶
type Response struct { RequestID string `json:"reqId"` Stickers []*Collection `json:"stickers"` Gifs []*Collection `json:"animated"` }
Click to show internal directories.
Click to hide internal directories.