Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Media ¶
type Media struct { MediaID int64 `json:"media_id"` MediaIDString string `json:"media_id_string"` ExpiresAfterSecs uint64 `json:"expires_after_secs"` }
Media ... response of uploaded file
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service ... provides methods for accessing Twitter status API endpoints.
func NewService ¶
NewStatusService returns a new StatusService.
func (*Service) Upload ¶
Upload media file Requires a user auth context. https://dev.twitter.com/rest/reference/post/media/upload
type UploadParams ¶
UploadParams ... are the parameters for StatusService.Update
Click to show internal directories.
Click to hide internal directories.