|
|
|
@ -770,7 +770,7 @@ func (c *Client) contentToFile(content client.MessageContent) (*client.File, *cl
|
|
|
|
|
case client.TypeMessageSticker:
|
|
|
|
|
sticker, _ := content.(*client.MessageSticker)
|
|
|
|
|
file := sticker.Sticker.Sticker
|
|
|
|
|
if sticker.Sticker.Format.StickerFormatType() != client.TypeStickerTypeRegular && sticker.Sticker.Thumbnail != nil && sticker.Sticker.Thumbnail.File != nil {
|
|
|
|
|
if sticker.Sticker.Format.StickerFormatType() == client.TypeStickerFormatTgs && sticker.Sticker.Thumbnail != nil && sticker.Sticker.Thumbnail.File != nil {
|
|
|
|
|
file = sticker.Sticker.Thumbnail.File
|
|
|
|
|
}
|
|
|
|
|
return file, nil
|
|
|
|
|