Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Author ¶
type Author struct { Name string `json:"name"` URL string `json:"url"` IconURL string `json:"icon_url"` }
Author is the author object
type Client ¶
func (*Client) PostSuccess ¶
type Embed ¶
type Embed struct { Author Author `json:"author"` Title string `json:"title"` URL string `json:"url"` Description string `json:"description"` Color int64 `json:"color"` Fields []Field `json:"fields"` Thumbnail Image `json:"thumbnail"` Image Image `json:"image"` TimeStamp string `json:"timestamp"` }
Embed is the embed object
type Field ¶
type Field struct { Name string `json:"name"` Value string `json:"value"` Inline bool `json:"inline,omitempty"` }
Field is the field object inside an embed
Click to show internal directories.
Click to hide internal directories.