summaryrefslogtreecommitdiff
path: root/internal/media/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/media/types.go')
-rw-r--r--internal/media/types.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/media/types.go b/internal/media/types.go
index 0a7f60d66..b9c79d464 100644
--- a/internal/media/types.go
+++ b/internal/media/types.go
@@ -118,4 +118,4 @@ type AdditionalEmojiInfo struct {
}
// DataFunc represents a function used to retrieve the raw bytes of a piece of media.
-type DataFunc func(ctx context.Context) (io.Reader, error)
+type DataFunc func(ctx context.Context) (reader io.Reader, fileSize int, err error)