Documentation ¶
Index ¶
- type FilesCore
- func (c *FilesCore) HelpGetCdnConfig(in *mtproto.TLHelpGetCdnConfig) (*mtproto.CdnConfig, error)
- func (c *FilesCore) MessagesGetDocumentByHash(in *mtproto.TLMessagesGetDocumentByHash) (*mtproto.Document, error)
- func (c *FilesCore) MessagesUploadEncryptedFile(in *mtproto.TLMessagesUploadEncryptedFile) (*mtproto.EncryptedFile, error)
- func (c *FilesCore) MessagesUploadMedia(in *mtproto.TLMessagesUploadMedia) (*mtproto.MessageMedia, error)
- func (c *FilesCore) UploadGetCdnFile(in *mtproto.TLUploadGetCdnFile) (*mtproto.Upload_CdnFile, error)
- func (c *FilesCore) UploadGetCdnFileHashes(in *mtproto.TLUploadGetCdnFileHashes) (*mtproto.Vector_FileHash, error)
- func (c *FilesCore) UploadGetFile(in *mtproto.TLUploadGetFile) (*mtproto.Upload_File, error)
- func (c *FilesCore) UploadGetFileHashes(in *mtproto.TLUploadGetFileHashes) (*mtproto.Vector_FileHash, error)
- func (c *FilesCore) UploadGetWebFile(in *mtproto.TLUploadGetWebFile) (*mtproto.Upload_WebFile, error)
- func (c *FilesCore) UploadReuploadCdnFile(in *mtproto.TLUploadReuploadCdnFile) (*mtproto.Vector_FileHash, error)
- func (c *FilesCore) UploadSaveBigFilePart(in *mtproto.TLUploadSaveBigFilePart) (*mtproto.Bool, error)
- func (c *FilesCore) UploadSaveFilePart(in *mtproto.TLUploadSaveFilePart) (*mtproto.Bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilesCore ¶
type FilesCore struct { logx.Logger MD *metadata.RpcMetadata // contains filtered or unexported fields }
func (*FilesCore) HelpGetCdnConfig ¶
HelpGetCdnConfig help.getCdnConfig#52029342 = CdnConfig;
func (*FilesCore) MessagesGetDocumentByHash ¶
func (c *FilesCore) MessagesGetDocumentByHash(in *mtproto.TLMessagesGetDocumentByHash) (*mtproto.Document, error)
MessagesGetDocumentByHash messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document;
func (*FilesCore) MessagesUploadEncryptedFile ¶
func (c *FilesCore) MessagesUploadEncryptedFile(in *mtproto.TLMessagesUploadEncryptedFile) (*mtproto.EncryptedFile, error)
MessagesUploadEncryptedFile messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile;
func (*FilesCore) MessagesUploadMedia ¶
func (c *FilesCore) MessagesUploadMedia(in *mtproto.TLMessagesUploadMedia) (*mtproto.MessageMedia, error)
MessagesUploadMedia messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia;
func (*FilesCore) UploadGetCdnFile ¶
func (c *FilesCore) UploadGetCdnFile(in *mtproto.TLUploadGetCdnFile) (*mtproto.Upload_CdnFile, error)
UploadGetCdnFile upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile;
func (*FilesCore) UploadGetCdnFileHashes ¶
func (c *FilesCore) UploadGetCdnFileHashes(in *mtproto.TLUploadGetCdnFileHashes) (*mtproto.Vector_FileHash, error)
UploadGetCdnFileHashes upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector<FileHash>;
func (*FilesCore) UploadGetFile ¶
func (c *FilesCore) UploadGetFile(in *mtproto.TLUploadGetFile) (*mtproto.Upload_File, error)
UploadGetFile upload.getFile#b15a9afc flags:# precise:flags.0?true cdn_supported:flags.1?true location:InputFileLocation offset:int limit:int = upload.File;
func (*FilesCore) UploadGetFileHashes ¶
func (c *FilesCore) UploadGetFileHashes(in *mtproto.TLUploadGetFileHashes) (*mtproto.Vector_FileHash, error)
UploadGetFileHashes upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector<FileHash>;
func (*FilesCore) UploadGetWebFile ¶
func (c *FilesCore) UploadGetWebFile(in *mtproto.TLUploadGetWebFile) (*mtproto.Upload_WebFile, error)
UploadGetWebFile upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile;
func (*FilesCore) UploadReuploadCdnFile ¶
func (c *FilesCore) UploadReuploadCdnFile(in *mtproto.TLUploadReuploadCdnFile) (*mtproto.Vector_FileHash, error)
UploadReuploadCdnFile upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector<FileHash>;
func (*FilesCore) UploadSaveBigFilePart ¶
func (c *FilesCore) UploadSaveBigFilePart(in *mtproto.TLUploadSaveBigFilePart) (*mtproto.Bool, error)
UploadSaveBigFilePart upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool;
func (*FilesCore) UploadSaveFilePart ¶
UploadSaveFilePart upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool;
Source Files ¶
- core.go
- help.getCdnConfig_handler.go
- messages.getDocumentByHash_handler.go
- messages.uploadEncryptedFile_handler.go
- messages.uploadMedia_handler.go
- upload.getCdnFileHashes_handler.go
- upload.getCdnFile_handler.go
- upload.getFileHashes_handler.go
- upload.getFile_handler.go
- upload.getWebFile_handler.go
- upload.reuploadCdnFile_handler.go
- upload.saveBigFilePart_handler.go
- upload.saveFilePart_handler.go