Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmoteDetail ¶
type EmoteDetail struct { FileType string `json:"fileType"` GroupID string `json:"groupID"` // contains filtered or unexported fields }
emote
type EmoteItem ¶
type EmoteItem struct { NetdiskID string `json:"netdiskID"` FileType string `json:"fileType"` GroupID string `json:"groupID"` }
emote
type ListEmoteItem ¶
type ListEmoteItem struct { Emotes []EmoteDetail `json:"emotes"` Total int `json:"total"` }
emote
type MediaBaseInfo ¶
type MediaBaseInfo struct { Size int64 `json:"size"` MimeType string `json:"mimetype"` W int `json:"w"` H int `json:"h"` }
emote
type MediaContentInfo ¶
type MediaContentInfo struct { Body string `json:"body"` Info MediaBaseInfo `json:"info"` Url string `json:"url"` MsgType string `json:"msgtype"` IsEmote bool `json:"isemote"` SrcNetdiskID string `json:"srcnetdiskid"` }
emote
type MediaID ¶
type MediaID string
MediaID is a string representing the unique identifier for a file (could be a hash but does not have to be)
type NetDiskResponse ¶
type UploadEmoteResp ¶
type UploadEmoteResp struct { Emotes []EmoteItem `json:"emotes"` NetdiskID string `json:"netdiskID"` //only use for old FileType string `json:"fileType"` Total int `json:"total"` GroupID string `json:"groupID"` Finish bool `json:"finish"` WaitId string `json:"waitId"` }
emote
type UploadError ¶
type UploadError struct {
Error string `json:"error,omitempty"`
}
type UploadResponse ¶
type UploadResponse struct {
ContentURI string `json:"content_uri,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.