Documentation ¶
Index ¶
- type WebhookImpl
- func (w *WebhookImpl) ApplicationID() Snowflake
- func (w *WebhookImpl) ApplicationIDIsNull() bool
- func (w *WebhookImpl) Avatar() ImageHash
- func (w *WebhookImpl) AvatarIsNull() bool
- func (w *WebhookImpl) ChannelID() Snowflake
- func (w *WebhookImpl) GuildID() Snowflake
- func (w *WebhookImpl) GuildIDIsSet() bool
- func (w *WebhookImpl) ID() Snowflake
- func (w *WebhookImpl) MarshalJSON() ([]byte, error)
- func (w *WebhookImpl) Name() string
- func (w *WebhookImpl) NameIsNull() bool
- func (w *WebhookImpl) SetApplicationID(id Snowflake) Webhook
- func (w *WebhookImpl) SetAvatar(ava ImageHash) Webhook
- func (w *WebhookImpl) SetChannelID(id Snowflake) Webhook
- func (w *WebhookImpl) SetGuildID(id Snowflake) Webhook
- func (w *WebhookImpl) SetID(id Snowflake) Webhook
- func (w *WebhookImpl) SetName(name string) Webhook
- func (w *WebhookImpl) SetNullApplicationID() Webhook
- func (w *WebhookImpl) SetNullAvatar() Webhook
- func (w *WebhookImpl) SetNullName() Webhook
- func (w *WebhookImpl) SetToken(tok string) Webhook
- func (w *WebhookImpl) SetType(kind WebhookType) Webhook
- func (w *WebhookImpl) SetUser(user User) Webhook
- func (w *WebhookImpl) Token() string
- func (w *WebhookImpl) TokenIsSet() bool
- func (w *WebhookImpl) Type() WebhookType
- func (w *WebhookImpl) UnmarshalJSON(bytes []byte) error
- func (w *WebhookImpl) UnsetGuildID() Webhook
- func (w *WebhookImpl) UnsetToken() Webhook
- func (w *WebhookImpl) UnsetUser() Webhook
- func (w *WebhookImpl) User() User
- func (w *WebhookImpl) UserIsSet() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebhookImpl ¶
type WebhookImpl struct {
// contains filtered or unexported fields
}
func (*WebhookImpl) ApplicationID ¶
func (w *WebhookImpl) ApplicationID() Snowflake
func (*WebhookImpl) ApplicationIDIsNull ¶
func (w *WebhookImpl) ApplicationIDIsNull() bool
func (*WebhookImpl) Avatar ¶
func (w *WebhookImpl) Avatar() ImageHash
func (*WebhookImpl) AvatarIsNull ¶
func (w *WebhookImpl) AvatarIsNull() bool
func (*WebhookImpl) ChannelID ¶
func (w *WebhookImpl) ChannelID() Snowflake
func (*WebhookImpl) GuildID ¶
func (w *WebhookImpl) GuildID() Snowflake
func (*WebhookImpl) GuildIDIsSet ¶
func (w *WebhookImpl) GuildIDIsSet() bool
func (*WebhookImpl) ID ¶
func (w *WebhookImpl) ID() Snowflake
func (*WebhookImpl) MarshalJSON ¶
func (w *WebhookImpl) MarshalJSON() ([]byte, error)
func (*WebhookImpl) Name ¶
func (w *WebhookImpl) Name() string
func (*WebhookImpl) NameIsNull ¶
func (w *WebhookImpl) NameIsNull() bool
func (*WebhookImpl) SetApplicationID ¶
func (w *WebhookImpl) SetApplicationID(id Snowflake) Webhook
func (*WebhookImpl) SetAvatar ¶
func (w *WebhookImpl) SetAvatar(ava ImageHash) Webhook
func (*WebhookImpl) SetChannelID ¶
func (w *WebhookImpl) SetChannelID(id Snowflake) Webhook
func (*WebhookImpl) SetGuildID ¶
func (w *WebhookImpl) SetGuildID(id Snowflake) Webhook
func (*WebhookImpl) SetID ¶
func (w *WebhookImpl) SetID(id Snowflake) Webhook
func (*WebhookImpl) SetName ¶
func (w *WebhookImpl) SetName(name string) Webhook
func (*WebhookImpl) SetNullApplicationID ¶
func (w *WebhookImpl) SetNullApplicationID() Webhook
func (*WebhookImpl) SetNullAvatar ¶
func (w *WebhookImpl) SetNullAvatar() Webhook
func (*WebhookImpl) SetNullName ¶
func (w *WebhookImpl) SetNullName() Webhook
func (*WebhookImpl) SetToken ¶
func (w *WebhookImpl) SetToken(tok string) Webhook
func (*WebhookImpl) SetType ¶
func (w *WebhookImpl) SetType(kind WebhookType) Webhook
func (*WebhookImpl) SetUser ¶
func (w *WebhookImpl) SetUser(user User) Webhook
func (*WebhookImpl) Token ¶
func (w *WebhookImpl) Token() string
func (*WebhookImpl) TokenIsSet ¶
func (w *WebhookImpl) TokenIsSet() bool
func (*WebhookImpl) Type ¶
func (w *WebhookImpl) Type() WebhookType
func (*WebhookImpl) UnmarshalJSON ¶
func (w *WebhookImpl) UnmarshalJSON(bytes []byte) error
func (*WebhookImpl) UnsetGuildID ¶
func (w *WebhookImpl) UnsetGuildID() Webhook
func (*WebhookImpl) UnsetToken ¶
func (w *WebhookImpl) UnsetToken() Webhook
func (*WebhookImpl) UnsetUser ¶
func (w *WebhookImpl) UnsetUser() Webhook
func (*WebhookImpl) User ¶
func (w *WebhookImpl) User() User
func (*WebhookImpl) UserIsSet ¶
func (w *WebhookImpl) UserIsSet() bool
Click to show internal directories.
Click to hide internal directories.