Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DataMultipartWriter ¶
type DataMultipartWriter interface { // NeedsMultipart returns true if the data interface must be sent using // multipart form. NeedsMultipart() bool httputil.MultipartWriter }
DataMultipartWriter is a MultipartWriter that also contains data that's JSON-marshalable.
type File ¶
File represents a file to be uploaded to Discord.
func (File) AttachmentURI ¶ added in v2.0.5
AttachmentURI returns the file encoded using the attachment URI required for embedding an attachment image.
Click to show internal directories.
Click to hide internal directories.