Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResponseHeaderMedia ¶
type ResponseHeaderMedia struct {
response.ResponseWork
Connection []string `header:"Connection,omitempty" json:"Connection,omitempty"` //: close
ContentType []string `header:"Content-Type,omitempty" json:"Content-Type,omitempty"` //: image/jpeg
ContentDisposition []string `header:"Content-disposition,omitempty" json:"Content-disposition",omitempty` //: attachment; filename="MEDIA_ID.jpg"
Date []string `header:"Date,omitempty" json:"Date"` //: Sun, 06 Jan 2013 10:20:18 GMT
CacheControl []string `header:"Cache-Control,omitempty" json:"Cache-Control,omitempty"` //: no-cache, must-revalidate
ContentLength []string `header:"Content-Length,omitempty" json:"Content-Length,omitempty"` //: 339721
Content []string `header:"Content,omitempty" json:"content,omitempty"`
}
type ResponseUploadImage ¶
type ResponseUploadImage struct {
response.ResponseWork
URL string `json:"url"`
}
type ResponseUploadMedia ¶
type ResponseUploadMedia struct {
response.ResponseWork
Type string `json:"type"`
MediaID string `json:"media_id"`
CreatedAt string `json:"created_at"`
}
type ResponseUploadMediaData ¶ added in v3.2.53
type ResponseUploadMediaData struct {
response.ResponseWork
Type string `json:"type"`
MediaID string `json:"media_id"`
CreatedAt int `json:"created_at"`
}
Click to show internal directories.
Click to hide internal directories.