MCPcopy Create free account
hub / github.com/LagrangeDev/LagrangeGo / ImageElement

Struct ImageElement

message/elements.go:71–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 }
70
71 ImageElement struct {
72 ImageID string
73 FileUUID string // only in new protocol photo
74 Size uint32
75 Width uint32
76 Height uint32
77 URL string
78 SubType int32
79
80 // EffectID show pic effect id.
81 EffectID int32 // deprecated
82 Flash bool
83
84 // send & receive
85 Summary string
86 Md5 []byte // only in old protocol photo
87 IsGroup bool
88
89 Sha1 []byte
90 MsgInfo *oidb.MsgInfo
91 Stream io.ReadSeeker
92 CompatFace *message.CustomFace // GroupImage
93 CompatImage *message.NotOnlineImage // FriendImage
94 }
95
96 FileElement struct {
97 FileSize uint64

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected