Files
Hubert Chen b53856fdbc read sticker in zip when download single sticker
sticker:
    delay zip file close function
internal:
    remove inline prefix handler `log`
    add slash command `log`
    add inline prefix handler `gc`
version:
    add `github.com/dustin/go-humanize` for memory
2025-10-16 21:55:46 +08:00

36 lines
645 B
Go

package common
import (
"archive/zip"
"io"
)
var StickerSetSuffix string = ".zip"
var StickerSetConvertedSuffix string = "_converted.zip"
type StickerDatas struct {
Data io.Reader
ZipFile *zip.ReadCloser
IsCached bool
IsConverted bool
IsCustomSticker bool
IsCompressed bool
StickerCount int
StickerIndex int
StickerSuffix string
StickerConvertedSuffix string
StickerSetName string // 贴纸包的 urlname
StickerSetTitle string // 贴纸包名称
StickerSetSize int64
StickerSetFileName string
StickerSetHash string
WebP int
WebM int
TGS int
}