filter

package
v0.0.0-...-e5fa4ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 13 Imported by: 0

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

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

type StickerM2SFilter

type StickerM2SFilter struct {
}

Telegram -> QQ/WeChat: convert webm and tgs image to gif

func (StickerM2SFilter) Apply

type StickerS2MFilter

type StickerS2MFilter struct {
}

QQ/WeChat -> Telegram

func (StickerS2MFilter) Apply

type VoiceM2SFilter

type VoiceM2SFilter struct {
}

Telegram -> QQ/WeChat: convert opus voice to silk

func (VoiceM2SFilter) Apply

type VoiceS2MFilter

type VoiceS2MFilter struct {
}

QQ/WeChat -> Telegram: convert silk voice to opus

func (VoiceS2MFilter) Apply

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL