Documentation ¶
Index ¶
- type Attachment
- func (*Attachment) Descriptor() ([]byte, []int)
- func (m *Attachment) GetAuthorIcon() string
- func (m *Attachment) GetAuthorLink() string
- func (m *Attachment) GetAuthorName() string
- func (m *Attachment) GetColor() string
- func (m *Attachment) GetFallback() string
- func (m *Attachment) GetFields() []*Field
- func (m *Attachment) GetFooter() string
- func (m *Attachment) GetFooterIcon() string
- func (m *Attachment) GetImageUrl() string
- func (m *Attachment) GetPretext() string
- func (m *Attachment) GetText() string
- func (m *Attachment) GetThumbUrl() string
- func (m *Attachment) GetTitle() string
- func (m *Attachment) GetTitleLink() string
- func (*Attachment) ProtoMessage()
- func (m *Attachment) Reset()
- func (m *Attachment) String() string
- func (m *Attachment) XXX_DiscardUnknown()
- func (m *Attachment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Attachment) XXX_Merge(src proto.Message)
- func (m *Attachment) XXX_Size() int
- func (m *Attachment) XXX_Unmarshal(b []byte) error
- type Field
- func (*Field) Descriptor() ([]byte, []int)
- func (m *Field) GetShort() bool
- func (m *Field) GetTitle() string
- func (m *Field) GetValue() string
- func (*Field) ProtoMessage()
- func (m *Field) Reset()
- func (m *Field) String() string
- func (m *Field) XXX_DiscardUnknown()
- func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Field) XXX_Merge(src proto.Message)
- func (m *Field) XXX_Size() int
- func (m *Field) XXX_Unmarshal(b []byte) error
- type WebhookMsg
- func (*WebhookMsg) Descriptor() ([]byte, []int)
- func (m *WebhookMsg) GetAttachments() []*Attachment
- func (m *WebhookMsg) GetChannel() string
- func (m *WebhookMsg) GetIconEmoji() string
- func (m *WebhookMsg) GetIconUrl() string
- func (m *WebhookMsg) GetText() string
- func (m *WebhookMsg) GetUsername() string
- func (*WebhookMsg) ProtoMessage()
- func (m *WebhookMsg) Reset()
- func (m *WebhookMsg) String() string
- func (m *WebhookMsg) XXX_DiscardUnknown()
- func (m *WebhookMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WebhookMsg) XXX_Merge(src proto.Message)
- func (m *WebhookMsg) XXX_Size() int
- func (m *WebhookMsg) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment struct { Fallback string `protobuf:"bytes,1,opt,name=fallback" json:"fallback,omitempty"` Color string `protobuf:"bytes,2,opt,name=color" json:"color,omitempty"` Pretext string `protobuf:"bytes,3,opt,name=pretext" json:"pretext,omitempty"` AuthorName string `protobuf:"bytes,4,opt,name=author_name,json=authorName" json:"author_name,omitempty"` AuthorLink string `protobuf:"bytes,5,opt,name=author_link,json=authorLink" json:"author_link,omitempty"` AuthorIcon string `protobuf:"bytes,6,opt,name=author_icon,json=authorIcon" json:"author_icon,omitempty"` Title string `protobuf:"bytes,7,opt,name=title" json:"title,omitempty"` TitleLink string `protobuf:"bytes,8,opt,name=title_link,json=titleLink" json:"title_link,omitempty"` Text string `protobuf:"bytes,9,opt,name=text" json:"text,omitempty"` Fields []*Field `protobuf:"bytes,10,rep,name=fields" json:"fields,omitempty"` ImageUrl string `protobuf:"bytes,11,opt,name=image_url,json=imageUrl" json:"image_url,omitempty"` ThumbUrl string `protobuf:"bytes,12,opt,name=thumb_url,json=thumbUrl" json:"thumb_url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Attachment) Descriptor ¶
func (*Attachment) Descriptor() ([]byte, []int)
func (*Attachment) GetAuthorIcon ¶
func (m *Attachment) GetAuthorIcon() string
func (*Attachment) GetAuthorLink ¶
func (m *Attachment) GetAuthorLink() string
func (*Attachment) GetAuthorName ¶
func (m *Attachment) GetAuthorName() string
func (*Attachment) GetColor ¶
func (m *Attachment) GetColor() string
func (*Attachment) GetFallback ¶
func (m *Attachment) GetFallback() string
func (*Attachment) GetFields ¶
func (m *Attachment) GetFields() []*Field
func (*Attachment) GetFooter ¶
func (m *Attachment) GetFooter() string
func (*Attachment) GetFooterIcon ¶
func (m *Attachment) GetFooterIcon() string
func (*Attachment) GetImageUrl ¶
func (m *Attachment) GetImageUrl() string
func (*Attachment) GetPretext ¶
func (m *Attachment) GetPretext() string
func (*Attachment) GetText ¶
func (m *Attachment) GetText() string
func (*Attachment) GetThumbUrl ¶
func (m *Attachment) GetThumbUrl() string
func (*Attachment) GetTitle ¶
func (m *Attachment) GetTitle() string
func (*Attachment) GetTitleLink ¶
func (m *Attachment) GetTitleLink() string
func (*Attachment) ProtoMessage ¶
func (*Attachment) ProtoMessage()
func (*Attachment) Reset ¶
func (m *Attachment) Reset()
func (*Attachment) String ¶
func (m *Attachment) String() string
func (*Attachment) XXX_DiscardUnknown ¶
func (m *Attachment) XXX_DiscardUnknown()
func (*Attachment) XXX_Marshal ¶
func (m *Attachment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Attachment) XXX_Merge ¶
func (dst *Attachment) XXX_Merge(src proto.Message)
func (*Attachment) XXX_Size ¶
func (m *Attachment) XXX_Size() int
func (*Attachment) XXX_Unmarshal ¶
func (m *Attachment) XXX_Unmarshal(b []byte) error
type Field ¶
type Field struct { Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` Short bool `protobuf:"varint,3,opt,name=short" json:"short,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Field) Descriptor ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) XXX_DiscardUnknown ¶
func (m *Field) XXX_DiscardUnknown()
func (*Field) XXX_Marshal ¶
func (*Field) XXX_Unmarshal ¶
type WebhookMsg ¶
type WebhookMsg struct { // required Text string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` // if not entered, will be default channel of url Channel string `protobuf:"bytes,2,opt,name=channel" json:"channel,omitempty"` // if not entered, will be user that created webhook Username string `protobuf:"bytes,3,opt,name=username" json:"username,omitempty"` // obv not required IconUrl string `protobuf:"bytes,4,opt,name=icon_url,json=iconUrl" json:"icon_url,omitempty"` // obv not required IconEmoji string `protobuf:"bytes,5,opt,name=icon_emoji,json=iconEmoji" json:"icon_emoji,omitempty"` // if you wanna get fancy Attachments []*Attachment `protobuf:"bytes,6,rep,name=attachments" json:"attachments,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WebhookMsg) Descriptor ¶
func (*WebhookMsg) Descriptor() ([]byte, []int)
func (*WebhookMsg) GetAttachments ¶
func (m *WebhookMsg) GetAttachments() []*Attachment
func (*WebhookMsg) GetChannel ¶
func (m *WebhookMsg) GetChannel() string
func (*WebhookMsg) GetIconEmoji ¶
func (m *WebhookMsg) GetIconEmoji() string
func (*WebhookMsg) GetIconUrl ¶
func (m *WebhookMsg) GetIconUrl() string
func (*WebhookMsg) GetText ¶
func (m *WebhookMsg) GetText() string
func (*WebhookMsg) GetUsername ¶
func (m *WebhookMsg) GetUsername() string
func (*WebhookMsg) ProtoMessage ¶
func (*WebhookMsg) ProtoMessage()
func (*WebhookMsg) Reset ¶
func (m *WebhookMsg) Reset()
func (*WebhookMsg) String ¶
func (m *WebhookMsg) String() string
func (*WebhookMsg) XXX_DiscardUnknown ¶
func (m *WebhookMsg) XXX_DiscardUnknown()
func (*WebhookMsg) XXX_Marshal ¶
func (m *WebhookMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WebhookMsg) XXX_Merge ¶
func (dst *WebhookMsg) XXX_Merge(src proto.Message)
func (*WebhookMsg) XXX_Size ¶
func (m *WebhookMsg) XXX_Size() int
func (*WebhookMsg) XXX_Unmarshal ¶
func (m *WebhookMsg) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.