Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type ForwardRelation ¶
type ForwardRelation struct { ID int64 `gorm:"column:id;primary_key;autoIncrement:true"` PeerID int64 `gorm:"column:peer_id;not null;uniqueIndex:pid"` //源会话id ToPeerID int64 `gorm:"column:to_peer_id;not null;uniqueIndex:pid"` //目标会话id OnlyBot bool `gorm:"column:only_bot"` //仅转发机器人消息 ShowOrigin bool `gorm:"column:show_origin"` //显示消息来源 RelatedReply bool `gorm:"column:related_reply"` //关联转发回复 Regex string `gorm:"column:regex;default:''"` //触发转发消息的正则 MustMedia bool `gorm:"column:must_media"` //必须是带媒体内容的消息 PeerTitle string `gorm:"column:peer_title"` ToPeerTitle string `gorm:"column:to_peer_title"` }
func (ForwardRelation) TableName ¶
func (ForwardRelation) TableName() string
type FwdMsg ¶
type FwdMsg struct { ID uint64 `gorm:"column:id;primary_key;autoIncrement:true"` OriginChatID int64 `gorm:"column:origin_chat_id;not null"` OriginMsgID int `gorm:"column:origin_msg_id;not null"` TargetChatID int64 `gorm:"column:target_chat_id;not null"` TargetMsgID int `gorm:"column:target_msg_id;not null"` FwdTime int64 `gorm:"column:fwd_time;not null"` }
Click to show internal directories.
Click to hide internal directories.