Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MaxCaption define the maximum size of image captions (It seems telegram // image captions have a size limit). MaxCaption = 200 )
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
Types ¶
type GlobalConfig ¶
type Image ¶
type Instagram ¶
type Instagram struct { APIKey string APISecret string APIToken string Client *instagram.Client Service string }
Instagram implements the gfxbot instagram service.
func NewInstagram ¶
NewInstagram returns an initialized Instagram service.
type Photo ¶
type Photo struct { Name string `xml:",chardata"` Id int `xml:"id,attr"` Owner string `xml:"owner,attr"` Secret string `xml:"secret,attr"` Server int `xml:"server,attr"` Farm int `xml:"farm,attr"` Title string `xml:"title,attr"` IsPublic bool `xml:"ispublic,attr"` IsFriend bool `xml:"isfriend,attr"` IsFamily bool `xml:"isfamily,attr"` }
Click to show internal directories.
Click to hide internal directories.