diff options
Diffstat (limited to 'internal/media/types.go')
-rw-r--r-- | internal/media/types.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/media/types.go b/internal/media/types.go index cceff216c..d71080658 100644 --- a/internal/media/types.go +++ b/internal/media/types.go @@ -118,7 +118,7 @@ type AdditionalEmojiInfo struct { } // DataFunc represents a function used to retrieve the raw bytes of a piece of media. -type DataFunc func(ctx context.Context) (reader io.Reader, fileSize int, err error) +type DataFunc func(ctx context.Context) (reader io.Reader, fileSize int64, err error) // PostDataCallbackFunc represents a function executed after the DataFunc has been executed, // and the returned reader has been read. It can be used to clean up any remaining resources. |