Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface { UploadFileBuffer(int64, string, []byte) (v1.MessageIdentifier, error) UploadFileReader(int64, string, io.Reader) (v1.MessageIdentifier, error) DownloadFileBuffer(identifier v1.MessageIdentifier, copyChat int64) (*v1.DownloadBufferResult, error) DownloadFileReader(identifier v1.MessageIdentifier, copyChat int64) (*v1.DownloadReaderResult, error) }
Storage is the interface that wraps files upload and download
Click to show internal directories.
Click to hide internal directories.