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
Click to show internal directories.
Click to hide internal directories.