Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatMessage ¶
type ChatMessage struct {
gorm.Model
Uid string `gorm:"index:idx_chat_message_uid,unique"`
commons.BotMessage
}
func (*ChatMessage) BeforeSave ¶
func (instance *ChatMessage) BeforeSave(_ *gorm.DB) (err error)
func (*ChatMessage) BeforeUpdate ¶
func (instance *ChatMessage) BeforeUpdate(_ *gorm.DB) (err error)
func (*ChatMessage) ToMap ¶
func (instance *ChatMessage) ToMap() (response map[string]interface{})
Click to show internal directories.
Click to hide internal directories.