response

package
v3.1.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResponseHeaderMedia

type ResponseHeaderMedia struct {
	response.ResponseOfficialAccount

	Connection         []string `header:"Connection" json:"Connection"`                   //: close
	ContentType        []string `header:"Content-Type" json:"Content-Type"`               //: image/jpeg
	ContentDisposition []string `header:"Content-disposition" json:"Content-disposition"` //: attachment; filename="MEDIA_ID.jpg"
	Date               []string `header:"Date" json:"Date"`                               //: Sun, 06 Jan 2013 10:20:18 GMT
	CacheControl       []string `header:"Cache-Control" json:"Cache-Control"`             //: no-cache, must-revalidate
	ContentLength      []string `header:"Content-Length" json:"Content-Length"`           //: 339721
	Content            []string `header:"Content" json:"content"`
}

type ResponseUploadImage

type ResponseUploadImage struct {
	response.ResponseOfficialAccount

	URL string `json:"url"`
}

type ResponseUploadMedia

type ResponseUploadMedia struct {
	response.ResponseOfficialAccount

	Item         []*power.HashMap `json:"item"`
	Type         string           `json:"type"`
	MediaID      string           `json:"media_id"`
	ThumbMediaID string           `json:"thumb_media_id,omitempty"`
	CreatedAt    int              `json:"created_at"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL