Closed Leuthra closed 8 months ago
when I try to download a tiktok video I get an error like below
2023/12/03 19:42:28 failed to send message node: frame too large (got 18794878 bytes, max 16777216 bytes)
code :
msg.Client.SendMessage(context.Background(), msg.Chat(), &proto.Message{ VideoMessage: &proto.VideoMessage{ ThumbnailDirectPath: &uploaded.DirectPath, ThumbnailSha256: uploaded.FileSHA256, ThumbnailEncSha256: uploaded.FileEncSHA256, JpegThumbnail: vidByte, Mimetype: gproto.String("video/mp4"), Url: gproto.String(uploaded.URL), FileSha256: uploaded.FileSHA256, FileEncSha256: uploaded.FileEncSHA256, MediaKey: uploaded.MediaKey, DirectPath: gproto.String(uploaded.DirectPath), FileLength: &uploaded.FileLength, ContextInfo: msg.NewContext(true), }, })
I would be very grateful if it can be improved
when I try to download a tiktok video I get an error like below
2023/12/03 19:42:28 failed to send message node: frame too large (got 18794878 bytes, max 16777216 bytes)
code :
I would be very grateful if it can be improved