Documentation
¶
Overview ¶
Package giphy implements a Service which adds !commands for Giphy.
Index ¶
Constants ¶
View Source
const ServiceType = "giphy"
ServiceType of the Giphy service.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { types.DefaultService // The Giphy API key to use when making HTTP requests to Giphy. // The public beta API key is "dc6zaTOxFJmzC". APIKey string `json:"api_key"` // Whether to use the downsized image from Giphy. // Uses the original image when set to false. // Defaults to false. UseDownsized bool `json:"use_downsized"` }
Service contains the Config fields for the Giphy Service.
Example request:
{ "api_key": "dc6zaTOxFJmzC", "use_downsized": false }
Click to show internal directories.
Click to hide internal directories.