files_client

package
v0.87.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilesClient

type FilesClient interface {
	MessagesGetDocumentByHash(ctx context.Context, in *mtproto.TLMessagesGetDocumentByHash) (*mtproto.Document, error)
	MessagesUploadMedia(ctx context.Context, in *mtproto.TLMessagesUploadMedia) (*mtproto.MessageMedia, error)
	MessagesUploadEncryptedFile(ctx context.Context, in *mtproto.TLMessagesUploadEncryptedFile) (*mtproto.EncryptedFile, error)
	UploadSaveFilePart(ctx context.Context, in *mtproto.TLUploadSaveFilePart) (*mtproto.Bool, error)
	UploadGetFile(ctx context.Context, in *mtproto.TLUploadGetFile) (*mtproto.Upload_File, error)
	UploadSaveBigFilePart(ctx context.Context, in *mtproto.TLUploadSaveBigFilePart) (*mtproto.Bool, error)
	UploadGetWebFile(ctx context.Context, in *mtproto.TLUploadGetWebFile) (*mtproto.Upload_WebFile, error)
	UploadGetCdnFile(ctx context.Context, in *mtproto.TLUploadGetCdnFile) (*mtproto.Upload_CdnFile, error)
	UploadReuploadCdnFile(ctx context.Context, in *mtproto.TLUploadReuploadCdnFile) (*mtproto.Vector_FileHash, error)
	UploadGetCdnFileHashes(ctx context.Context, in *mtproto.TLUploadGetCdnFileHashes) (*mtproto.Vector_FileHash, error)
	UploadGetFileHashes(ctx context.Context, in *mtproto.TLUploadGetFileHashes) (*mtproto.Vector_FileHash, error)
	HelpGetCdnConfig(ctx context.Context, in *mtproto.TLHelpGetCdnConfig) (*mtproto.CdnConfig, error)
}

func NewFilesClient

func NewFilesClient(cli zrpc.Client) FilesClient

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL