mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
update.
This commit is contained in:
parent
64c1f32cdc
commit
23e8acafb1
@ -41,6 +41,12 @@ func NewText(s string) *TextElement {
|
|||||||
return &TextElement{Content: s}
|
return &TextElement{Content: s}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func NewImage(data []byte) *ImageElement {
|
||||||
|
return &ImageElement{
|
||||||
|
Data: data,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
func NewGroupImage(id string, md5 []byte) *GroupImageElement {
|
func NewGroupImage(id string, md5 []byte) *GroupImageElement {
|
||||||
return &GroupImageElement{
|
return &GroupImageElement{
|
||||||
ImageId: id,
|
ImageId: id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user