Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgResponseToBinds ¶
func NewMsgResponseToBinds(responses []MessageNewResponse) []*model.Bind
Types ¶
type AttachmentNew ¶
type Body ¶
type Body struct {
MessageNew *MessageNew `json:"message_new,omitempty"`
}
type ForwardNew ¶
type MessageNew ¶
type MessageNew struct { ID int `json:"id,omitempty"` IsSilent bool `json:"is_silent,omitempty"` Reply int `json:"reply,omitempty"` ReplyLocal string `json:"reply_local,omitempty"` Username string `json:"username,omitempty"` Text string `json:"text,omitempty"` Attachments []AttachmentNew `json:"attachments,omitempty"` Forwards []ForwardNew `json:"forwards,omitempty"` App model.Application `json:"-"` }
type MessageNewRequest ¶
type MessageNewRequest struct {
MessageNew
}
type MessageNewResponse ¶
Click to show internal directories.
Click to hide internal directories.