Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmoticonS2MFilter ¶
type EmoticonS2MFilter struct { }
func (EmoticonS2MFilter) Apply ¶
func (f EmoticonS2MFilter) Apply(event *common.OctopusEvent) *common.OctopusEvent
QQ/WeChat -> Telegram: replace QQ/WeChat emoticon
type EventFilter ¶
type EventFilter interface {
Apply(event *common.OctopusEvent) *common.OctopusEvent
}
type EventFilterChain ¶
type EventFilterChain struct {
Filters []EventFilter
}
func NewEventFilterChain ¶
func NewEventFilterChain(filters ...EventFilter) EventFilterChain
func (EventFilterChain) Apply ¶
func (c EventFilterChain) Apply(event *common.OctopusEvent) *common.OctopusEvent
type StickerM2SFilter ¶
type StickerM2SFilter struct { }
Telegram -> QQ/WeChat: convert webm and tgs image to gif
func (StickerM2SFilter) Apply ¶
func (f StickerM2SFilter) Apply(event *common.OctopusEvent) *common.OctopusEvent
type StickerS2MFilter ¶
type StickerS2MFilter struct { }
QQ/WeChat -> Telegram
func (StickerS2MFilter) Apply ¶
func (f StickerS2MFilter) Apply(event *common.OctopusEvent) *common.OctopusEvent
type VoiceM2SFilter ¶
type VoiceM2SFilter struct { }
Telegram -> QQ/WeChat: convert opus voice to silk
func (VoiceM2SFilter) Apply ¶
func (f VoiceM2SFilter) Apply(event *common.OctopusEvent) *common.OctopusEvent
type VoiceS2MFilter ¶
type VoiceS2MFilter struct { }
QQ/WeChat -> Telegram: convert silk voice to opus
func (VoiceS2MFilter) Apply ¶
func (f VoiceS2MFilter) Apply(event *common.OctopusEvent) *common.OctopusEvent
Click to show internal directories.
Click to hide internal directories.