Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CID ¶
type Image ¶
type Image struct { Messenger string `json:"messenger,omitempty"` Format string `json:"format,omitempty"` Width int `json:"width,omitempty"` Height int `json:"height,omitempty"` Data []byte `json:"data,omitempty"` URL string `json:"url,omitempty"` FileID string `json:"file_id,omitempty"` FileSize int `json:"file_size,omitempty"` }
type Message ¶
type Message struct { ID string `json:"id,omitempty"` From *User `json:"from,omitempty"` Chat *Chat `json:"chat,omitempty"` IsMessageToMe bool `json:"is_message_to_me"` CID *CID `json:"cid,omitempty"` Type string `json:"type"` ReplyID string `json:"reply_id,omitempty"` EditID string `json:"edit_id,omitempty"` DeleteID string `json:"delete_id,omitempty"` RichText *RichText `json:"rich_text,omitempty"` Sticker *Sticker `json:"sticker,omitempty"` Voice *Voice `json:"voice,omitempty"` Location *Location `json:"location,omitempty"` }
type RichText ¶
type RichText []RichTextElement
type RichTextElement ¶
type UID ¶
type Voice ¶
type Voice struct { Messenger string `json:"messenger,omitempty"` Format string `json:"format,omitempty"` Duration int `json:"duration,omitempty"` Data []byte `json:"data,omitempty"` URL string `json:"url,omitempty"` FileID string `json:"file_id,omitempty"` FileSize int `json:"file_size,omitempty"` }
Click to show internal directories.
Click to hide internal directories.