Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type History ¶
type History struct {
Contents []*Content `json:"contents"`
}
func NewHistory ¶
func NewHistory() *History
type Message ¶
type Message struct { MessageID int64 `json:"message_id"` CreatedAt int64 `json:"created_at"` ChatID int64 `json:"chat_id"` SenderID int64 `json:"sender_id"` ReplyID *int64 `json:"reply_id,omitempty"` Content string `json:"content"` }
func NewMessage ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) GetReplies ¶
Returns all replies of the given message.
Click to show internal directories.
Click to hide internal directories.