Documentation ¶
Index ¶
- Constants
- Variables
- func CheckClassID(classId int32) (ok bool)
- func GetClazzID(clazzName string, layer int) int32
- func GetRPCContextRegisters() map[string]RPCContextTuple
- func NewTLObjectByClassID(classId int32) mtproto.TLObject
- func RegisterRPCDfsServer(s *grpc.Server, srv RPCDfsServer)
- type RPCContextTuple
- type RPCDfsClient
- type RPCDfsServer
- type TLConstructor
- type TLDfsDownloadFile
- func (m *TLDfsDownloadFile) CalcByteSize(layer int32) int
- func (m *TLDfsDownloadFile) DebugString() string
- func (m *TLDfsDownloadFile) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLDfsDownloadFile) Descriptor() ([]byte, []int)
- func (m *TLDfsDownloadFile) Encode(layer int32) []byte
- func (m *TLDfsDownloadFile) GetConstructor() TLConstructor
- func (m *TLDfsDownloadFile) GetLimit() int32
- func (m *TLDfsDownloadFile) GetLocation() *mtproto.InputFileLocation
- func (m *TLDfsDownloadFile) GetOffset() int64
- func (this *TLDfsDownloadFile) GoString() string
- func (m *TLDfsDownloadFile) Marshal() (dAtA []byte, err error)
- func (m *TLDfsDownloadFile) MarshalTo(dAtA []byte) (int, error)
- func (m *TLDfsDownloadFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLDfsDownloadFile) ProtoMessage()
- func (m *TLDfsDownloadFile) Reset()
- func (m *TLDfsDownloadFile) Size() (n int)
- func (m *TLDfsDownloadFile) String() string
- func (m *TLDfsDownloadFile) Unmarshal(dAtA []byte) error
- func (m *TLDfsDownloadFile) XXX_DiscardUnknown()
- func (m *TLDfsDownloadFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLDfsDownloadFile) XXX_Merge(src proto.Message)
- func (m *TLDfsDownloadFile) XXX_Size() int
- func (m *TLDfsDownloadFile) XXX_Unmarshal(b []byte) error
- type TLDfsUploadDocumentFileV2
- func (m *TLDfsUploadDocumentFileV2) CalcByteSize(layer int32) int
- func (m *TLDfsUploadDocumentFileV2) DebugString() string
- func (m *TLDfsUploadDocumentFileV2) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLDfsUploadDocumentFileV2) Descriptor() ([]byte, []int)
- func (m *TLDfsUploadDocumentFileV2) Encode(layer int32) []byte
- func (m *TLDfsUploadDocumentFileV2) GetConstructor() TLConstructor
- func (m *TLDfsUploadDocumentFileV2) GetCreator() int64
- func (m *TLDfsUploadDocumentFileV2) GetMedia() *mtproto.InputMedia
- func (this *TLDfsUploadDocumentFileV2) GoString() string
- func (m *TLDfsUploadDocumentFileV2) Marshal() (dAtA []byte, err error)
- func (m *TLDfsUploadDocumentFileV2) MarshalTo(dAtA []byte) (int, error)
- func (m *TLDfsUploadDocumentFileV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLDfsUploadDocumentFileV2) ProtoMessage()
- func (m *TLDfsUploadDocumentFileV2) Reset()
- func (m *TLDfsUploadDocumentFileV2) Size() (n int)
- func (m *TLDfsUploadDocumentFileV2) String() string
- func (m *TLDfsUploadDocumentFileV2) Unmarshal(dAtA []byte) error
- func (m *TLDfsUploadDocumentFileV2) XXX_DiscardUnknown()
- func (m *TLDfsUploadDocumentFileV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLDfsUploadDocumentFileV2) XXX_Merge(src proto.Message)
- func (m *TLDfsUploadDocumentFileV2) XXX_Size() int
- func (m *TLDfsUploadDocumentFileV2) XXX_Unmarshal(b []byte) error
- type TLDfsUploadEncryptedFileV2
- func (m *TLDfsUploadEncryptedFileV2) CalcByteSize(layer int32) int
- func (m *TLDfsUploadEncryptedFileV2) DebugString() string
- func (m *TLDfsUploadEncryptedFileV2) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLDfsUploadEncryptedFileV2) Descriptor() ([]byte, []int)
- func (m *TLDfsUploadEncryptedFileV2) Encode(layer int32) []byte
- func (m *TLDfsUploadEncryptedFileV2) GetConstructor() TLConstructor
- func (m *TLDfsUploadEncryptedFileV2) GetCreator() int64
- func (m *TLDfsUploadEncryptedFileV2) GetFile() *mtproto.InputEncryptedFile
- func (this *TLDfsUploadEncryptedFileV2) GoString() string
- func (m *TLDfsUploadEncryptedFileV2) Marshal() (dAtA []byte, err error)
- func (m *TLDfsUploadEncryptedFileV2) MarshalTo(dAtA []byte) (int, error)
- func (m *TLDfsUploadEncryptedFileV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLDfsUploadEncryptedFileV2) ProtoMessage()
- func (m *TLDfsUploadEncryptedFileV2) Reset()
- func (m *TLDfsUploadEncryptedFileV2) Size() (n int)
- func (m *TLDfsUploadEncryptedFileV2) String() string
- func (m *TLDfsUploadEncryptedFileV2) Unmarshal(dAtA []byte) error
- func (m *TLDfsUploadEncryptedFileV2) XXX_DiscardUnknown()
- func (m *TLDfsUploadEncryptedFileV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLDfsUploadEncryptedFileV2) XXX_Merge(src proto.Message)
- func (m *TLDfsUploadEncryptedFileV2) XXX_Size() int
- func (m *TLDfsUploadEncryptedFileV2) XXX_Unmarshal(b []byte) error
- type TLDfsUploadGifDocumentMedia
- func (m *TLDfsUploadGifDocumentMedia) CalcByteSize(layer int32) int
- func (m *TLDfsUploadGifDocumentMedia) DebugString() string
- func (m *TLDfsUploadGifDocumentMedia) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLDfsUploadGifDocumentMedia) Descriptor() ([]byte, []int)
- func (m *TLDfsUploadGifDocumentMedia) Encode(layer int32) []byte
- func (m *TLDfsUploadGifDocumentMedia) GetConstructor() TLConstructor
- func (m *TLDfsUploadGifDocumentMedia) GetCreator() int64
- func (m *TLDfsUploadGifDocumentMedia) GetMedia() *mtproto.InputMedia
- func (this *TLDfsUploadGifDocumentMedia) GoString() string
- func (m *TLDfsUploadGifDocumentMedia) Marshal() (dAtA []byte, err error)
- func (m *TLDfsUploadGifDocumentMedia) MarshalTo(dAtA []byte) (int, error)
- func (m *TLDfsUploadGifDocumentMedia) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLDfsUploadGifDocumentMedia) ProtoMessage()
- func (m *TLDfsUploadGifDocumentMedia) Reset()
- func (m *TLDfsUploadGifDocumentMedia) Size() (n int)
- func (m *TLDfsUploadGifDocumentMedia) String() string
- func (m *TLDfsUploadGifDocumentMedia) Unmarshal(dAtA []byte) error
- func (m *TLDfsUploadGifDocumentMedia) XXX_DiscardUnknown()
- func (m *TLDfsUploadGifDocumentMedia) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLDfsUploadGifDocumentMedia) XXX_Merge(src proto.Message)
- func (m *TLDfsUploadGifDocumentMedia) XXX_Size() int
- func (m *TLDfsUploadGifDocumentMedia) XXX_Unmarshal(b []byte) error
- type TLDfsUploadMp4DocumentMedia
- func (m *TLDfsUploadMp4DocumentMedia) CalcByteSize(layer int32) int
- func (m *TLDfsUploadMp4DocumentMedia) DebugString() string
- func (m *TLDfsUploadMp4DocumentMedia) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLDfsUploadMp4DocumentMedia) Descriptor() ([]byte, []int)
- func (m *TLDfsUploadMp4DocumentMedia) Encode(layer int32) []byte
- func (m *TLDfsUploadMp4DocumentMedia) GetConstructor() TLConstructor
- func (m *TLDfsUploadMp4DocumentMedia) GetCreator() int64
- func (m *TLDfsUploadMp4DocumentMedia) GetMedia() *mtproto.InputMedia
- func (this *TLDfsUploadMp4DocumentMedia) GoString() string
- func (m *TLDfsUploadMp4DocumentMedia) Marshal() (dAtA []byte, err error)
- func (m *TLDfsUploadMp4DocumentMedia) MarshalTo(dAtA []byte) (int, error)
- func (m *TLDfsUploadMp4DocumentMedia) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLDfsUploadMp4DocumentMedia) ProtoMessage()
- func (m *TLDfsUploadMp4DocumentMedia) Reset()
- func (m *TLDfsUploadMp4DocumentMedia) Size() (n int)
- func (m *TLDfsUploadMp4DocumentMedia) String() string
- func (m *TLDfsUploadMp4DocumentMedia) Unmarshal(dAtA []byte) error
- func (m *TLDfsUploadMp4DocumentMedia) XXX_DiscardUnknown()
- func (m *TLDfsUploadMp4DocumentMedia) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLDfsUploadMp4DocumentMedia) XXX_Merge(src proto.Message)
- func (m *TLDfsUploadMp4DocumentMedia) XXX_Size() int
- func (m *TLDfsUploadMp4DocumentMedia) XXX_Unmarshal(b []byte) error
- type TLDfsUploadPhotoFileV2
- func (m *TLDfsUploadPhotoFileV2) CalcByteSize(layer int32) int
- func (m *TLDfsUploadPhotoFileV2) DebugString() string
- func (m *TLDfsUploadPhotoFileV2) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLDfsUploadPhotoFileV2) Descriptor() ([]byte, []int)
- func (m *TLDfsUploadPhotoFileV2) Encode(layer int32) []byte
- func (m *TLDfsUploadPhotoFileV2) GetConstructor() TLConstructor
- func (m *TLDfsUploadPhotoFileV2) GetCreator() int64
- func (m *TLDfsUploadPhotoFileV2) GetFile() *mtproto.InputFile
- func (this *TLDfsUploadPhotoFileV2) GoString() string
- func (m *TLDfsUploadPhotoFileV2) Marshal() (dAtA []byte, err error)
- func (m *TLDfsUploadPhotoFileV2) MarshalTo(dAtA []byte) (int, error)
- func (m *TLDfsUploadPhotoFileV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLDfsUploadPhotoFileV2) ProtoMessage()
- func (m *TLDfsUploadPhotoFileV2) Reset()
- func (m *TLDfsUploadPhotoFileV2) Size() (n int)
- func (m *TLDfsUploadPhotoFileV2) String() string
- func (m *TLDfsUploadPhotoFileV2) Unmarshal(dAtA []byte) error
- func (m *TLDfsUploadPhotoFileV2) XXX_DiscardUnknown()
- func (m *TLDfsUploadPhotoFileV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLDfsUploadPhotoFileV2) XXX_Merge(src proto.Message)
- func (m *TLDfsUploadPhotoFileV2) XXX_Size() int
- func (m *TLDfsUploadPhotoFileV2) XXX_Unmarshal(b []byte) error
- type TLDfsUploadProfilePhotoFileV2
- func (m *TLDfsUploadProfilePhotoFileV2) CalcByteSize(layer int32) int
- func (m *TLDfsUploadProfilePhotoFileV2) DebugString() string
- func (m *TLDfsUploadProfilePhotoFileV2) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLDfsUploadProfilePhotoFileV2) Descriptor() ([]byte, []int)
- func (m *TLDfsUploadProfilePhotoFileV2) Encode(layer int32) []byte
- func (m *TLDfsUploadProfilePhotoFileV2) GetConstructor() TLConstructor
- func (m *TLDfsUploadProfilePhotoFileV2) GetCreator() int64
- func (m *TLDfsUploadProfilePhotoFileV2) GetFile() *mtproto.InputFile
- func (m *TLDfsUploadProfilePhotoFileV2) GetVideo() *mtproto.InputFile
- func (m *TLDfsUploadProfilePhotoFileV2) GetVideoStartTs() *types.DoubleValue
- func (this *TLDfsUploadProfilePhotoFileV2) GoString() string
- func (m *TLDfsUploadProfilePhotoFileV2) Marshal() (dAtA []byte, err error)
- func (m *TLDfsUploadProfilePhotoFileV2) MarshalTo(dAtA []byte) (int, error)
- func (m *TLDfsUploadProfilePhotoFileV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLDfsUploadProfilePhotoFileV2) ProtoMessage()
- func (m *TLDfsUploadProfilePhotoFileV2) Reset()
- func (m *TLDfsUploadProfilePhotoFileV2) Size() (n int)
- func (m *TLDfsUploadProfilePhotoFileV2) String() string
- func (m *TLDfsUploadProfilePhotoFileV2) Unmarshal(dAtA []byte) error
- func (m *TLDfsUploadProfilePhotoFileV2) XXX_DiscardUnknown()
- func (m *TLDfsUploadProfilePhotoFileV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLDfsUploadProfilePhotoFileV2) XXX_Merge(src proto.Message)
- func (m *TLDfsUploadProfilePhotoFileV2) XXX_Size() int
- func (m *TLDfsUploadProfilePhotoFileV2) XXX_Unmarshal(b []byte) error
- type TLDfsUploadRingtoneFile
- func (m *TLDfsUploadRingtoneFile) CalcByteSize(layer int32) int
- func (m *TLDfsUploadRingtoneFile) DebugString() string
- func (m *TLDfsUploadRingtoneFile) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLDfsUploadRingtoneFile) Descriptor() ([]byte, []int)
- func (m *TLDfsUploadRingtoneFile) Encode(layer int32) []byte
- func (m *TLDfsUploadRingtoneFile) GetConstructor() TLConstructor
- func (m *TLDfsUploadRingtoneFile) GetCreator() int64
- func (m *TLDfsUploadRingtoneFile) GetFile() *mtproto.InputFile
- func (m *TLDfsUploadRingtoneFile) GetFileName() string
- func (m *TLDfsUploadRingtoneFile) GetMimeType() string
- func (this *TLDfsUploadRingtoneFile) GoString() string
- func (m *TLDfsUploadRingtoneFile) Marshal() (dAtA []byte, err error)
- func (m *TLDfsUploadRingtoneFile) MarshalTo(dAtA []byte) (int, error)
- func (m *TLDfsUploadRingtoneFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLDfsUploadRingtoneFile) ProtoMessage()
- func (m *TLDfsUploadRingtoneFile) Reset()
- func (m *TLDfsUploadRingtoneFile) Size() (n int)
- func (m *TLDfsUploadRingtoneFile) String() string
- func (m *TLDfsUploadRingtoneFile) Unmarshal(dAtA []byte) error
- func (m *TLDfsUploadRingtoneFile) XXX_DiscardUnknown()
- func (m *TLDfsUploadRingtoneFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLDfsUploadRingtoneFile) XXX_Merge(src proto.Message)
- func (m *TLDfsUploadRingtoneFile) XXX_Size() int
- func (m *TLDfsUploadRingtoneFile) XXX_Unmarshal(b []byte) error
- type TLDfsUploadThemeFile
- func (m *TLDfsUploadThemeFile) CalcByteSize(layer int32) int
- func (m *TLDfsUploadThemeFile) DebugString() string
- func (m *TLDfsUploadThemeFile) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLDfsUploadThemeFile) Descriptor() ([]byte, []int)
- func (m *TLDfsUploadThemeFile) Encode(layer int32) []byte
- func (m *TLDfsUploadThemeFile) GetConstructor() TLConstructor
- func (m *TLDfsUploadThemeFile) GetCreator() int64
- func (m *TLDfsUploadThemeFile) GetFile() *mtproto.InputFile
- func (m *TLDfsUploadThemeFile) GetFileName() string
- func (m *TLDfsUploadThemeFile) GetMimeType() string
- func (m *TLDfsUploadThemeFile) GetThumb() *mtproto.InputFile
- func (this *TLDfsUploadThemeFile) GoString() string
- func (m *TLDfsUploadThemeFile) Marshal() (dAtA []byte, err error)
- func (m *TLDfsUploadThemeFile) MarshalTo(dAtA []byte) (int, error)
- func (m *TLDfsUploadThemeFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLDfsUploadThemeFile) ProtoMessage()
- func (m *TLDfsUploadThemeFile) Reset()
- func (m *TLDfsUploadThemeFile) Size() (n int)
- func (m *TLDfsUploadThemeFile) String() string
- func (m *TLDfsUploadThemeFile) Unmarshal(dAtA []byte) error
- func (m *TLDfsUploadThemeFile) XXX_DiscardUnknown()
- func (m *TLDfsUploadThemeFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLDfsUploadThemeFile) XXX_Merge(src proto.Message)
- func (m *TLDfsUploadThemeFile) XXX_Size() int
- func (m *TLDfsUploadThemeFile) XXX_Unmarshal(b []byte) error
- type TLDfsUploadWallPaperFile
- func (m *TLDfsUploadWallPaperFile) CalcByteSize(layer int32) int
- func (m *TLDfsUploadWallPaperFile) DebugString() string
- func (m *TLDfsUploadWallPaperFile) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLDfsUploadWallPaperFile) Descriptor() ([]byte, []int)
- func (m *TLDfsUploadWallPaperFile) Encode(layer int32) []byte
- func (m *TLDfsUploadWallPaperFile) GetAdmin() *mtproto.Bool
- func (m *TLDfsUploadWallPaperFile) GetConstructor() TLConstructor
- func (m *TLDfsUploadWallPaperFile) GetCreator() int64
- func (m *TLDfsUploadWallPaperFile) GetFile() *mtproto.InputFile
- func (m *TLDfsUploadWallPaperFile) GetMimeType() string
- func (this *TLDfsUploadWallPaperFile) GoString() string
- func (m *TLDfsUploadWallPaperFile) Marshal() (dAtA []byte, err error)
- func (m *TLDfsUploadWallPaperFile) MarshalTo(dAtA []byte) (int, error)
- func (m *TLDfsUploadWallPaperFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLDfsUploadWallPaperFile) ProtoMessage()
- func (m *TLDfsUploadWallPaperFile) Reset()
- func (m *TLDfsUploadWallPaperFile) Size() (n int)
- func (m *TLDfsUploadWallPaperFile) String() string
- func (m *TLDfsUploadWallPaperFile) Unmarshal(dAtA []byte) error
- func (m *TLDfsUploadWallPaperFile) XXX_DiscardUnknown()
- func (m *TLDfsUploadWallPaperFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLDfsUploadWallPaperFile) XXX_Merge(src proto.Message)
- func (m *TLDfsUploadWallPaperFile) XXX_Size() int
- func (m *TLDfsUploadWallPaperFile) XXX_Unmarshal(b []byte) error
- type TLDfsWriteFilePartData
- func (m *TLDfsWriteFilePartData) CalcByteSize(layer int32) int
- func (m *TLDfsWriteFilePartData) DebugString() string
- func (m *TLDfsWriteFilePartData) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLDfsWriteFilePartData) Descriptor() ([]byte, []int)
- func (m *TLDfsWriteFilePartData) Encode(layer int32) []byte
- func (m *TLDfsWriteFilePartData) GetBig() bool
- func (m *TLDfsWriteFilePartData) GetBytes() []byte
- func (m *TLDfsWriteFilePartData) GetConstructor() TLConstructor
- func (m *TLDfsWriteFilePartData) GetCreator() int64
- func (m *TLDfsWriteFilePartData) GetFileId() int64
- func (m *TLDfsWriteFilePartData) GetFilePart() int32
- func (m *TLDfsWriteFilePartData) GetFileTotalParts() *types.Int32Value
- func (this *TLDfsWriteFilePartData) GoString() string
- func (m *TLDfsWriteFilePartData) Marshal() (dAtA []byte, err error)
- func (m *TLDfsWriteFilePartData) MarshalTo(dAtA []byte) (int, error)
- func (m *TLDfsWriteFilePartData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLDfsWriteFilePartData) ProtoMessage()
- func (m *TLDfsWriteFilePartData) Reset()
- func (m *TLDfsWriteFilePartData) Size() (n int)
- func (m *TLDfsWriteFilePartData) String() string
- func (m *TLDfsWriteFilePartData) Unmarshal(dAtA []byte) error
- func (m *TLDfsWriteFilePartData) XXX_DiscardUnknown()
- func (m *TLDfsWriteFilePartData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLDfsWriteFilePartData) XXX_Merge(src proto.Message)
- func (m *TLDfsWriteFilePartData) XXX_Size() int
- func (m *TLDfsWriteFilePartData) XXX_Unmarshal(b []byte) error
- type UnimplementedRPCDfsServer
- func (*UnimplementedRPCDfsServer) DfsDownloadFile(ctx context.Context, req *TLDfsDownloadFile) (*mtproto.Upload_File, error)
- func (*UnimplementedRPCDfsServer) DfsUploadDocumentFileV2(ctx context.Context, req *TLDfsUploadDocumentFileV2) (*mtproto.Document, error)
- func (*UnimplementedRPCDfsServer) DfsUploadEncryptedFileV2(ctx context.Context, req *TLDfsUploadEncryptedFileV2) (*mtproto.EncryptedFile, error)
- func (*UnimplementedRPCDfsServer) DfsUploadGifDocumentMedia(ctx context.Context, req *TLDfsUploadGifDocumentMedia) (*mtproto.Document, error)
- func (*UnimplementedRPCDfsServer) DfsUploadMp4DocumentMedia(ctx context.Context, req *TLDfsUploadMp4DocumentMedia) (*mtproto.Document, error)
- func (*UnimplementedRPCDfsServer) DfsUploadPhotoFileV2(ctx context.Context, req *TLDfsUploadPhotoFileV2) (*mtproto.Photo, error)
- func (*UnimplementedRPCDfsServer) DfsUploadProfilePhotoFileV2(ctx context.Context, req *TLDfsUploadProfilePhotoFileV2) (*mtproto.Photo, error)
- func (*UnimplementedRPCDfsServer) DfsUploadRingtoneFile(ctx context.Context, req *TLDfsUploadRingtoneFile) (*mtproto.Document, error)
- func (*UnimplementedRPCDfsServer) DfsUploadThemeFile(ctx context.Context, req *TLDfsUploadThemeFile) (*mtproto.Document, error)
- func (*UnimplementedRPCDfsServer) DfsUploadWallPaperFile(ctx context.Context, req *TLDfsUploadWallPaperFile) (*mtproto.Document, error)
- func (*UnimplementedRPCDfsServer) DfsWriteFilePartData(ctx context.Context, req *TLDfsWriteFilePartData) (*mtproto.Bool, error)
Constants ¶
const ( Predicate_dfs_writeFilePartData = "dfs_writeFilePartData" Predicate_dfs_uploadPhotoFileV2 = "dfs_uploadPhotoFileV2" Predicate_dfs_uploadProfilePhotoFileV2 = "dfs_uploadProfilePhotoFileV2" Predicate_dfs_uploadEncryptedFileV2 = "dfs_uploadEncryptedFileV2" Predicate_dfs_downloadFile = "dfs_downloadFile" Predicate_dfs_uploadDocumentFileV2 = "dfs_uploadDocumentFileV2" Predicate_dfs_uploadGifDocumentMedia = "dfs_uploadGifDocumentMedia" Predicate_dfs_uploadMp4DocumentMedia = "dfs_uploadMp4DocumentMedia" Predicate_dfs_uploadWallPaperFile = "dfs_uploadWallPaperFile" Predicate_dfs_uploadThemeFile = "dfs_uploadThemeFile" Predicate_dfs_uploadRingtoneFile = "dfs_uploadRingtoneFile" )
Variables ¶
var ( ErrInvalidLengthDfsTl = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDfsTl = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDfsTl = fmt.Errorf("proto: unexpected end of group") )
var TLConstructor_name = map[int32]string{
0: "CRC32_UNKNOWN",
440942855: "CRC32_dfs_writeFilePartData",
605082018: "CRC32_dfs_uploadPhotoFileV2",
-870473038: "CRC32_dfs_uploadProfilePhotoFileV2",
2043921699: "CRC32_dfs_uploadEncryptedFileV2",
-692064706: "CRC32_dfs_downloadFile",
1983081911: "CRC32_dfs_uploadDocumentFileV2",
1103416576: "CRC32_dfs_uploadGifDocumentMedia",
-1566246888: "CRC32_dfs_uploadMp4DocumentMedia",
-1046081450: "CRC32_dfs_uploadWallPaperFile",
-559525993: "CRC32_dfs_uploadThemeFile",
45335985: "CRC32_dfs_uploadRingtoneFile",
}
var TLConstructor_value = map[string]int32{
"CRC32_UNKNOWN": 0,
"CRC32_dfs_writeFilePartData": 440942855,
"CRC32_dfs_uploadPhotoFileV2": 605082018,
"CRC32_dfs_uploadProfilePhotoFileV2": -870473038,
"CRC32_dfs_uploadEncryptedFileV2": 2043921699,
"CRC32_dfs_downloadFile": -692064706,
"CRC32_dfs_uploadDocumentFileV2": 1983081911,
"CRC32_dfs_uploadGifDocumentMedia": 1103416576,
"CRC32_dfs_uploadMp4DocumentMedia": -1566246888,
"CRC32_dfs_uploadWallPaperFile": -1046081450,
"CRC32_dfs_uploadThemeFile": -559525993,
"CRC32_dfs_uploadRingtoneFile": 45335985,
}
Functions ¶
func CheckClassID ¶
func GetClazzID ¶
func GetRPCContextRegisters ¶
func GetRPCContextRegisters() map[string]RPCContextTuple
func NewTLObjectByClassID ¶
func RegisterRPCDfsServer ¶
func RegisterRPCDfsServer(s *grpc.Server, srv RPCDfsServer)
Types ¶
type RPCContextTuple ¶
type RPCContextTuple struct { Method string NewReplyFunc newRPCReplyFunc }
func FindRPCContextTuple ¶
func FindRPCContextTuple(t interface{}) *RPCContextTuple
type RPCDfsClient ¶
type RPCDfsClient interface { DfsWriteFilePartData(ctx context.Context, in *TLDfsWriteFilePartData, opts ...grpc.CallOption) (*mtproto.Bool, error) DfsUploadPhotoFileV2(ctx context.Context, in *TLDfsUploadPhotoFileV2, opts ...grpc.CallOption) (*mtproto.Photo, error) DfsUploadProfilePhotoFileV2(ctx context.Context, in *TLDfsUploadProfilePhotoFileV2, opts ...grpc.CallOption) (*mtproto.Photo, error) DfsUploadEncryptedFileV2(ctx context.Context, in *TLDfsUploadEncryptedFileV2, opts ...grpc.CallOption) (*mtproto.EncryptedFile, error) DfsDownloadFile(ctx context.Context, in *TLDfsDownloadFile, opts ...grpc.CallOption) (*mtproto.Upload_File, error) DfsUploadDocumentFileV2(ctx context.Context, in *TLDfsUploadDocumentFileV2, opts ...grpc.CallOption) (*mtproto.Document, error) DfsUploadGifDocumentMedia(ctx context.Context, in *TLDfsUploadGifDocumentMedia, opts ...grpc.CallOption) (*mtproto.Document, error) DfsUploadMp4DocumentMedia(ctx context.Context, in *TLDfsUploadMp4DocumentMedia, opts ...grpc.CallOption) (*mtproto.Document, error) DfsUploadWallPaperFile(ctx context.Context, in *TLDfsUploadWallPaperFile, opts ...grpc.CallOption) (*mtproto.Document, error) DfsUploadThemeFile(ctx context.Context, in *TLDfsUploadThemeFile, opts ...grpc.CallOption) (*mtproto.Document, error) DfsUploadRingtoneFile(ctx context.Context, in *TLDfsUploadRingtoneFile, opts ...grpc.CallOption) (*mtproto.Document, error) }
RPCDfsClient is the client API for RPCDfs service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRPCDfsClient ¶
func NewRPCDfsClient(cc *grpc.ClientConn) RPCDfsClient
type RPCDfsServer ¶
type RPCDfsServer interface { DfsWriteFilePartData(context.Context, *TLDfsWriteFilePartData) (*mtproto.Bool, error) DfsUploadPhotoFileV2(context.Context, *TLDfsUploadPhotoFileV2) (*mtproto.Photo, error) DfsUploadProfilePhotoFileV2(context.Context, *TLDfsUploadProfilePhotoFileV2) (*mtproto.Photo, error) DfsUploadEncryptedFileV2(context.Context, *TLDfsUploadEncryptedFileV2) (*mtproto.EncryptedFile, error) DfsDownloadFile(context.Context, *TLDfsDownloadFile) (*mtproto.Upload_File, error) DfsUploadDocumentFileV2(context.Context, *TLDfsUploadDocumentFileV2) (*mtproto.Document, error) DfsUploadGifDocumentMedia(context.Context, *TLDfsUploadGifDocumentMedia) (*mtproto.Document, error) DfsUploadMp4DocumentMedia(context.Context, *TLDfsUploadMp4DocumentMedia) (*mtproto.Document, error) DfsUploadWallPaperFile(context.Context, *TLDfsUploadWallPaperFile) (*mtproto.Document, error) DfsUploadThemeFile(context.Context, *TLDfsUploadThemeFile) (*mtproto.Document, error) DfsUploadRingtoneFile(context.Context, *TLDfsUploadRingtoneFile) (*mtproto.Document, error) }
RPCDfsServer is the server API for RPCDfs service.
type TLConstructor ¶
type TLConstructor int32
const ( CRC32_UNKNOWN TLConstructor = 0 CRC32_dfs_writeFilePartData TLConstructor = 440942855 CRC32_dfs_uploadPhotoFileV2 TLConstructor = 605082018 CRC32_dfs_uploadProfilePhotoFileV2 TLConstructor = -870473038 CRC32_dfs_uploadEncryptedFileV2 TLConstructor = 2043921699 CRC32_dfs_downloadFile TLConstructor = -692064706 CRC32_dfs_uploadDocumentFileV2 TLConstructor = 1983081911 CRC32_dfs_uploadGifDocumentMedia TLConstructor = 1103416576 CRC32_dfs_uploadMp4DocumentMedia TLConstructor = -1566246888 CRC32_dfs_uploadWallPaperFile TLConstructor = -1046081450 CRC32_dfs_uploadThemeFile TLConstructor = -559525993 CRC32_dfs_uploadRingtoneFile TLConstructor = 45335985 )
func (TLConstructor) EnumDescriptor ¶
func (TLConstructor) EnumDescriptor() ([]byte, []int)
func (TLConstructor) String ¶
func (x TLConstructor) String() string
type TLDfsDownloadFile ¶
type TLDfsDownloadFile struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=dfs.TLConstructor" json:"constructor,omitempty"` Location *mtproto.InputFileLocation `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` Offset int64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"` Limit int32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLDfsDownloadFile) CalcByteSize ¶
func (m *TLDfsDownloadFile) CalcByteSize(layer int32) int
func (*TLDfsDownloadFile) DebugString ¶
func (m *TLDfsDownloadFile) DebugString() string
func (*TLDfsDownloadFile) Decode ¶
func (m *TLDfsDownloadFile) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLDfsDownloadFile) Descriptor ¶
func (*TLDfsDownloadFile) Descriptor() ([]byte, []int)
func (*TLDfsDownloadFile) Encode ¶
func (m *TLDfsDownloadFile) Encode(layer int32) []byte
func (*TLDfsDownloadFile) GetConstructor ¶
func (m *TLDfsDownloadFile) GetConstructor() TLConstructor
func (*TLDfsDownloadFile) GetLimit ¶
func (m *TLDfsDownloadFile) GetLimit() int32
func (*TLDfsDownloadFile) GetLocation ¶
func (m *TLDfsDownloadFile) GetLocation() *mtproto.InputFileLocation
func (*TLDfsDownloadFile) GetOffset ¶
func (m *TLDfsDownloadFile) GetOffset() int64
func (*TLDfsDownloadFile) GoString ¶
func (this *TLDfsDownloadFile) GoString() string
func (*TLDfsDownloadFile) Marshal ¶
func (m *TLDfsDownloadFile) Marshal() (dAtA []byte, err error)
func (*TLDfsDownloadFile) MarshalTo ¶
func (m *TLDfsDownloadFile) MarshalTo(dAtA []byte) (int, error)
func (*TLDfsDownloadFile) MarshalToSizedBuffer ¶
func (m *TLDfsDownloadFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLDfsDownloadFile) ProtoMessage ¶
func (*TLDfsDownloadFile) ProtoMessage()
func (*TLDfsDownloadFile) Reset ¶
func (m *TLDfsDownloadFile) Reset()
func (*TLDfsDownloadFile) Size ¶
func (m *TLDfsDownloadFile) Size() (n int)
func (*TLDfsDownloadFile) String ¶
func (m *TLDfsDownloadFile) String() string
func (*TLDfsDownloadFile) Unmarshal ¶
func (m *TLDfsDownloadFile) Unmarshal(dAtA []byte) error
func (*TLDfsDownloadFile) XXX_DiscardUnknown ¶
func (m *TLDfsDownloadFile) XXX_DiscardUnknown()
func (*TLDfsDownloadFile) XXX_Marshal ¶
func (m *TLDfsDownloadFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLDfsDownloadFile) XXX_Merge ¶
func (m *TLDfsDownloadFile) XXX_Merge(src proto.Message)
func (*TLDfsDownloadFile) XXX_Size ¶
func (m *TLDfsDownloadFile) XXX_Size() int
func (*TLDfsDownloadFile) XXX_Unmarshal ¶
func (m *TLDfsDownloadFile) XXX_Unmarshal(b []byte) error
type TLDfsUploadDocumentFileV2 ¶
type TLDfsUploadDocumentFileV2 struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=dfs.TLConstructor" json:"constructor,omitempty"` Creator int64 `protobuf:"varint,3,opt,name=creator,proto3" json:"creator,omitempty"` Media *mtproto.InputMedia `protobuf:"bytes,4,opt,name=media,proto3" json:"media,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLDfsUploadDocumentFileV2) CalcByteSize ¶
func (m *TLDfsUploadDocumentFileV2) CalcByteSize(layer int32) int
func (*TLDfsUploadDocumentFileV2) DebugString ¶
func (m *TLDfsUploadDocumentFileV2) DebugString() string
func (*TLDfsUploadDocumentFileV2) Decode ¶
func (m *TLDfsUploadDocumentFileV2) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLDfsUploadDocumentFileV2) Descriptor ¶
func (*TLDfsUploadDocumentFileV2) Descriptor() ([]byte, []int)
func (*TLDfsUploadDocumentFileV2) Encode ¶
func (m *TLDfsUploadDocumentFileV2) Encode(layer int32) []byte
func (*TLDfsUploadDocumentFileV2) GetConstructor ¶
func (m *TLDfsUploadDocumentFileV2) GetConstructor() TLConstructor
func (*TLDfsUploadDocumentFileV2) GetCreator ¶
func (m *TLDfsUploadDocumentFileV2) GetCreator() int64
func (*TLDfsUploadDocumentFileV2) GetMedia ¶
func (m *TLDfsUploadDocumentFileV2) GetMedia() *mtproto.InputMedia
func (*TLDfsUploadDocumentFileV2) GoString ¶
func (this *TLDfsUploadDocumentFileV2) GoString() string
func (*TLDfsUploadDocumentFileV2) Marshal ¶
func (m *TLDfsUploadDocumentFileV2) Marshal() (dAtA []byte, err error)
func (*TLDfsUploadDocumentFileV2) MarshalTo ¶
func (m *TLDfsUploadDocumentFileV2) MarshalTo(dAtA []byte) (int, error)
func (*TLDfsUploadDocumentFileV2) MarshalToSizedBuffer ¶
func (m *TLDfsUploadDocumentFileV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLDfsUploadDocumentFileV2) ProtoMessage ¶
func (*TLDfsUploadDocumentFileV2) ProtoMessage()
func (*TLDfsUploadDocumentFileV2) Reset ¶
func (m *TLDfsUploadDocumentFileV2) Reset()
func (*TLDfsUploadDocumentFileV2) Size ¶
func (m *TLDfsUploadDocumentFileV2) Size() (n int)
func (*TLDfsUploadDocumentFileV2) String ¶
func (m *TLDfsUploadDocumentFileV2) String() string
func (*TLDfsUploadDocumentFileV2) Unmarshal ¶
func (m *TLDfsUploadDocumentFileV2) Unmarshal(dAtA []byte) error
func (*TLDfsUploadDocumentFileV2) XXX_DiscardUnknown ¶
func (m *TLDfsUploadDocumentFileV2) XXX_DiscardUnknown()
func (*TLDfsUploadDocumentFileV2) XXX_Marshal ¶
func (m *TLDfsUploadDocumentFileV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLDfsUploadDocumentFileV2) XXX_Merge ¶
func (m *TLDfsUploadDocumentFileV2) XXX_Merge(src proto.Message)
func (*TLDfsUploadDocumentFileV2) XXX_Size ¶
func (m *TLDfsUploadDocumentFileV2) XXX_Size() int
func (*TLDfsUploadDocumentFileV2) XXX_Unmarshal ¶
func (m *TLDfsUploadDocumentFileV2) XXX_Unmarshal(b []byte) error
type TLDfsUploadEncryptedFileV2 ¶
type TLDfsUploadEncryptedFileV2 struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=dfs.TLConstructor" json:"constructor,omitempty"` Creator int64 `protobuf:"varint,3,opt,name=creator,proto3" json:"creator,omitempty"` File *mtproto.InputEncryptedFile `protobuf:"bytes,4,opt,name=file,proto3" json:"file,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLDfsUploadEncryptedFileV2) CalcByteSize ¶
func (m *TLDfsUploadEncryptedFileV2) CalcByteSize(layer int32) int
func (*TLDfsUploadEncryptedFileV2) DebugString ¶
func (m *TLDfsUploadEncryptedFileV2) DebugString() string
func (*TLDfsUploadEncryptedFileV2) Decode ¶
func (m *TLDfsUploadEncryptedFileV2) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLDfsUploadEncryptedFileV2) Descriptor ¶
func (*TLDfsUploadEncryptedFileV2) Descriptor() ([]byte, []int)
func (*TLDfsUploadEncryptedFileV2) Encode ¶
func (m *TLDfsUploadEncryptedFileV2) Encode(layer int32) []byte
func (*TLDfsUploadEncryptedFileV2) GetConstructor ¶
func (m *TLDfsUploadEncryptedFileV2) GetConstructor() TLConstructor
func (*TLDfsUploadEncryptedFileV2) GetCreator ¶
func (m *TLDfsUploadEncryptedFileV2) GetCreator() int64
func (*TLDfsUploadEncryptedFileV2) GetFile ¶
func (m *TLDfsUploadEncryptedFileV2) GetFile() *mtproto.InputEncryptedFile
func (*TLDfsUploadEncryptedFileV2) GoString ¶
func (this *TLDfsUploadEncryptedFileV2) GoString() string
func (*TLDfsUploadEncryptedFileV2) Marshal ¶
func (m *TLDfsUploadEncryptedFileV2) Marshal() (dAtA []byte, err error)
func (*TLDfsUploadEncryptedFileV2) MarshalTo ¶
func (m *TLDfsUploadEncryptedFileV2) MarshalTo(dAtA []byte) (int, error)
func (*TLDfsUploadEncryptedFileV2) MarshalToSizedBuffer ¶
func (m *TLDfsUploadEncryptedFileV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLDfsUploadEncryptedFileV2) ProtoMessage ¶
func (*TLDfsUploadEncryptedFileV2) ProtoMessage()
func (*TLDfsUploadEncryptedFileV2) Reset ¶
func (m *TLDfsUploadEncryptedFileV2) Reset()
func (*TLDfsUploadEncryptedFileV2) Size ¶
func (m *TLDfsUploadEncryptedFileV2) Size() (n int)
func (*TLDfsUploadEncryptedFileV2) String ¶
func (m *TLDfsUploadEncryptedFileV2) String() string
func (*TLDfsUploadEncryptedFileV2) Unmarshal ¶
func (m *TLDfsUploadEncryptedFileV2) Unmarshal(dAtA []byte) error
func (*TLDfsUploadEncryptedFileV2) XXX_DiscardUnknown ¶
func (m *TLDfsUploadEncryptedFileV2) XXX_DiscardUnknown()
func (*TLDfsUploadEncryptedFileV2) XXX_Marshal ¶
func (m *TLDfsUploadEncryptedFileV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLDfsUploadEncryptedFileV2) XXX_Merge ¶
func (m *TLDfsUploadEncryptedFileV2) XXX_Merge(src proto.Message)
func (*TLDfsUploadEncryptedFileV2) XXX_Size ¶
func (m *TLDfsUploadEncryptedFileV2) XXX_Size() int
func (*TLDfsUploadEncryptedFileV2) XXX_Unmarshal ¶
func (m *TLDfsUploadEncryptedFileV2) XXX_Unmarshal(b []byte) error
type TLDfsUploadGifDocumentMedia ¶
type TLDfsUploadGifDocumentMedia struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=dfs.TLConstructor" json:"constructor,omitempty"` Creator int64 `protobuf:"varint,3,opt,name=creator,proto3" json:"creator,omitempty"` Media *mtproto.InputMedia `protobuf:"bytes,4,opt,name=media,proto3" json:"media,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLDfsUploadGifDocumentMedia) CalcByteSize ¶
func (m *TLDfsUploadGifDocumentMedia) CalcByteSize(layer int32) int
func (*TLDfsUploadGifDocumentMedia) DebugString ¶
func (m *TLDfsUploadGifDocumentMedia) DebugString() string
func (*TLDfsUploadGifDocumentMedia) Decode ¶
func (m *TLDfsUploadGifDocumentMedia) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLDfsUploadGifDocumentMedia) Descriptor ¶
func (*TLDfsUploadGifDocumentMedia) Descriptor() ([]byte, []int)
func (*TLDfsUploadGifDocumentMedia) Encode ¶
func (m *TLDfsUploadGifDocumentMedia) Encode(layer int32) []byte
func (*TLDfsUploadGifDocumentMedia) GetConstructor ¶
func (m *TLDfsUploadGifDocumentMedia) GetConstructor() TLConstructor
func (*TLDfsUploadGifDocumentMedia) GetCreator ¶
func (m *TLDfsUploadGifDocumentMedia) GetCreator() int64
func (*TLDfsUploadGifDocumentMedia) GetMedia ¶
func (m *TLDfsUploadGifDocumentMedia) GetMedia() *mtproto.InputMedia
func (*TLDfsUploadGifDocumentMedia) GoString ¶
func (this *TLDfsUploadGifDocumentMedia) GoString() string
func (*TLDfsUploadGifDocumentMedia) Marshal ¶
func (m *TLDfsUploadGifDocumentMedia) Marshal() (dAtA []byte, err error)
func (*TLDfsUploadGifDocumentMedia) MarshalTo ¶
func (m *TLDfsUploadGifDocumentMedia) MarshalTo(dAtA []byte) (int, error)
func (*TLDfsUploadGifDocumentMedia) MarshalToSizedBuffer ¶
func (m *TLDfsUploadGifDocumentMedia) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLDfsUploadGifDocumentMedia) ProtoMessage ¶
func (*TLDfsUploadGifDocumentMedia) ProtoMessage()
func (*TLDfsUploadGifDocumentMedia) Reset ¶
func (m *TLDfsUploadGifDocumentMedia) Reset()
func (*TLDfsUploadGifDocumentMedia) Size ¶
func (m *TLDfsUploadGifDocumentMedia) Size() (n int)
func (*TLDfsUploadGifDocumentMedia) String ¶
func (m *TLDfsUploadGifDocumentMedia) String() string
func (*TLDfsUploadGifDocumentMedia) Unmarshal ¶
func (m *TLDfsUploadGifDocumentMedia) Unmarshal(dAtA []byte) error
func (*TLDfsUploadGifDocumentMedia) XXX_DiscardUnknown ¶
func (m *TLDfsUploadGifDocumentMedia) XXX_DiscardUnknown()
func (*TLDfsUploadGifDocumentMedia) XXX_Marshal ¶
func (m *TLDfsUploadGifDocumentMedia) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLDfsUploadGifDocumentMedia) XXX_Merge ¶
func (m *TLDfsUploadGifDocumentMedia) XXX_Merge(src proto.Message)
func (*TLDfsUploadGifDocumentMedia) XXX_Size ¶
func (m *TLDfsUploadGifDocumentMedia) XXX_Size() int
func (*TLDfsUploadGifDocumentMedia) XXX_Unmarshal ¶
func (m *TLDfsUploadGifDocumentMedia) XXX_Unmarshal(b []byte) error
type TLDfsUploadMp4DocumentMedia ¶
type TLDfsUploadMp4DocumentMedia struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=dfs.TLConstructor" json:"constructor,omitempty"` Creator int64 `protobuf:"varint,3,opt,name=creator,proto3" json:"creator,omitempty"` Media *mtproto.InputMedia `protobuf:"bytes,4,opt,name=media,proto3" json:"media,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLDfsUploadMp4DocumentMedia) CalcByteSize ¶
func (m *TLDfsUploadMp4DocumentMedia) CalcByteSize(layer int32) int
func (*TLDfsUploadMp4DocumentMedia) DebugString ¶
func (m *TLDfsUploadMp4DocumentMedia) DebugString() string
func (*TLDfsUploadMp4DocumentMedia) Decode ¶
func (m *TLDfsUploadMp4DocumentMedia) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLDfsUploadMp4DocumentMedia) Descriptor ¶
func (*TLDfsUploadMp4DocumentMedia) Descriptor() ([]byte, []int)
func (*TLDfsUploadMp4DocumentMedia) Encode ¶
func (m *TLDfsUploadMp4DocumentMedia) Encode(layer int32) []byte
func (*TLDfsUploadMp4DocumentMedia) GetConstructor ¶
func (m *TLDfsUploadMp4DocumentMedia) GetConstructor() TLConstructor
func (*TLDfsUploadMp4DocumentMedia) GetCreator ¶
func (m *TLDfsUploadMp4DocumentMedia) GetCreator() int64
func (*TLDfsUploadMp4DocumentMedia) GetMedia ¶
func (m *TLDfsUploadMp4DocumentMedia) GetMedia() *mtproto.InputMedia
func (*TLDfsUploadMp4DocumentMedia) GoString ¶
func (this *TLDfsUploadMp4DocumentMedia) GoString() string
func (*TLDfsUploadMp4DocumentMedia) Marshal ¶
func (m *TLDfsUploadMp4DocumentMedia) Marshal() (dAtA []byte, err error)
func (*TLDfsUploadMp4DocumentMedia) MarshalTo ¶
func (m *TLDfsUploadMp4DocumentMedia) MarshalTo(dAtA []byte) (int, error)
func (*TLDfsUploadMp4DocumentMedia) MarshalToSizedBuffer ¶
func (m *TLDfsUploadMp4DocumentMedia) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLDfsUploadMp4DocumentMedia) ProtoMessage ¶
func (*TLDfsUploadMp4DocumentMedia) ProtoMessage()
func (*TLDfsUploadMp4DocumentMedia) Reset ¶
func (m *TLDfsUploadMp4DocumentMedia) Reset()
func (*TLDfsUploadMp4DocumentMedia) Size ¶
func (m *TLDfsUploadMp4DocumentMedia) Size() (n int)
func (*TLDfsUploadMp4DocumentMedia) String ¶
func (m *TLDfsUploadMp4DocumentMedia) String() string
func (*TLDfsUploadMp4DocumentMedia) Unmarshal ¶
func (m *TLDfsUploadMp4DocumentMedia) Unmarshal(dAtA []byte) error
func (*TLDfsUploadMp4DocumentMedia) XXX_DiscardUnknown ¶
func (m *TLDfsUploadMp4DocumentMedia) XXX_DiscardUnknown()
func (*TLDfsUploadMp4DocumentMedia) XXX_Marshal ¶
func (m *TLDfsUploadMp4DocumentMedia) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLDfsUploadMp4DocumentMedia) XXX_Merge ¶
func (m *TLDfsUploadMp4DocumentMedia) XXX_Merge(src proto.Message)
func (*TLDfsUploadMp4DocumentMedia) XXX_Size ¶
func (m *TLDfsUploadMp4DocumentMedia) XXX_Size() int
func (*TLDfsUploadMp4DocumentMedia) XXX_Unmarshal ¶
func (m *TLDfsUploadMp4DocumentMedia) XXX_Unmarshal(b []byte) error
type TLDfsUploadPhotoFileV2 ¶
type TLDfsUploadPhotoFileV2 struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=dfs.TLConstructor" json:"constructor,omitempty"` Creator int64 `protobuf:"varint,3,opt,name=creator,proto3" json:"creator,omitempty"` File *mtproto.InputFile `protobuf:"bytes,4,opt,name=file,proto3" json:"file,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLDfsUploadPhotoFileV2) CalcByteSize ¶
func (m *TLDfsUploadPhotoFileV2) CalcByteSize(layer int32) int
func (*TLDfsUploadPhotoFileV2) DebugString ¶
func (m *TLDfsUploadPhotoFileV2) DebugString() string
func (*TLDfsUploadPhotoFileV2) Decode ¶
func (m *TLDfsUploadPhotoFileV2) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLDfsUploadPhotoFileV2) Descriptor ¶
func (*TLDfsUploadPhotoFileV2) Descriptor() ([]byte, []int)
func (*TLDfsUploadPhotoFileV2) Encode ¶
func (m *TLDfsUploadPhotoFileV2) Encode(layer int32) []byte
func (*TLDfsUploadPhotoFileV2) GetConstructor ¶
func (m *TLDfsUploadPhotoFileV2) GetConstructor() TLConstructor
func (*TLDfsUploadPhotoFileV2) GetCreator ¶
func (m *TLDfsUploadPhotoFileV2) GetCreator() int64
func (*TLDfsUploadPhotoFileV2) GetFile ¶
func (m *TLDfsUploadPhotoFileV2) GetFile() *mtproto.InputFile
func (*TLDfsUploadPhotoFileV2) GoString ¶
func (this *TLDfsUploadPhotoFileV2) GoString() string
func (*TLDfsUploadPhotoFileV2) Marshal ¶
func (m *TLDfsUploadPhotoFileV2) Marshal() (dAtA []byte, err error)
func (*TLDfsUploadPhotoFileV2) MarshalTo ¶
func (m *TLDfsUploadPhotoFileV2) MarshalTo(dAtA []byte) (int, error)
func (*TLDfsUploadPhotoFileV2) MarshalToSizedBuffer ¶
func (m *TLDfsUploadPhotoFileV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLDfsUploadPhotoFileV2) ProtoMessage ¶
func (*TLDfsUploadPhotoFileV2) ProtoMessage()
func (*TLDfsUploadPhotoFileV2) Reset ¶
func (m *TLDfsUploadPhotoFileV2) Reset()
func (*TLDfsUploadPhotoFileV2) Size ¶
func (m *TLDfsUploadPhotoFileV2) Size() (n int)
func (*TLDfsUploadPhotoFileV2) String ¶
func (m *TLDfsUploadPhotoFileV2) String() string
func (*TLDfsUploadPhotoFileV2) Unmarshal ¶
func (m *TLDfsUploadPhotoFileV2) Unmarshal(dAtA []byte) error
func (*TLDfsUploadPhotoFileV2) XXX_DiscardUnknown ¶
func (m *TLDfsUploadPhotoFileV2) XXX_DiscardUnknown()
func (*TLDfsUploadPhotoFileV2) XXX_Marshal ¶
func (m *TLDfsUploadPhotoFileV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLDfsUploadPhotoFileV2) XXX_Merge ¶
func (m *TLDfsUploadPhotoFileV2) XXX_Merge(src proto.Message)
func (*TLDfsUploadPhotoFileV2) XXX_Size ¶
func (m *TLDfsUploadPhotoFileV2) XXX_Size() int
func (*TLDfsUploadPhotoFileV2) XXX_Unmarshal ¶
func (m *TLDfsUploadPhotoFileV2) XXX_Unmarshal(b []byte) error
type TLDfsUploadProfilePhotoFileV2 ¶
type TLDfsUploadProfilePhotoFileV2 struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=dfs.TLConstructor" json:"constructor,omitempty"` Creator int64 `protobuf:"varint,3,opt,name=creator,proto3" json:"creator,omitempty"` File *mtproto.InputFile `protobuf:"bytes,4,opt,name=file,proto3" json:"file,omitempty"` Video *mtproto.InputFile `protobuf:"bytes,5,opt,name=video,proto3" json:"video,omitempty"` VideoStartTs *types.DoubleValue `protobuf:"bytes,6,opt,name=video_start_ts,json=videoStartTs,proto3" json:"video_start_ts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLDfsUploadProfilePhotoFileV2) CalcByteSize ¶
func (m *TLDfsUploadProfilePhotoFileV2) CalcByteSize(layer int32) int
func (*TLDfsUploadProfilePhotoFileV2) DebugString ¶
func (m *TLDfsUploadProfilePhotoFileV2) DebugString() string
func (*TLDfsUploadProfilePhotoFileV2) Decode ¶
func (m *TLDfsUploadProfilePhotoFileV2) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLDfsUploadProfilePhotoFileV2) Descriptor ¶
func (*TLDfsUploadProfilePhotoFileV2) Descriptor() ([]byte, []int)
func (*TLDfsUploadProfilePhotoFileV2) Encode ¶
func (m *TLDfsUploadProfilePhotoFileV2) Encode(layer int32) []byte
func (*TLDfsUploadProfilePhotoFileV2) GetConstructor ¶
func (m *TLDfsUploadProfilePhotoFileV2) GetConstructor() TLConstructor
func (*TLDfsUploadProfilePhotoFileV2) GetCreator ¶
func (m *TLDfsUploadProfilePhotoFileV2) GetCreator() int64
func (*TLDfsUploadProfilePhotoFileV2) GetFile ¶
func (m *TLDfsUploadProfilePhotoFileV2) GetFile() *mtproto.InputFile
func (*TLDfsUploadProfilePhotoFileV2) GetVideo ¶
func (m *TLDfsUploadProfilePhotoFileV2) GetVideo() *mtproto.InputFile
func (*TLDfsUploadProfilePhotoFileV2) GetVideoStartTs ¶
func (m *TLDfsUploadProfilePhotoFileV2) GetVideoStartTs() *types.DoubleValue
func (*TLDfsUploadProfilePhotoFileV2) GoString ¶
func (this *TLDfsUploadProfilePhotoFileV2) GoString() string
func (*TLDfsUploadProfilePhotoFileV2) Marshal ¶
func (m *TLDfsUploadProfilePhotoFileV2) Marshal() (dAtA []byte, err error)
func (*TLDfsUploadProfilePhotoFileV2) MarshalTo ¶
func (m *TLDfsUploadProfilePhotoFileV2) MarshalTo(dAtA []byte) (int, error)
func (*TLDfsUploadProfilePhotoFileV2) MarshalToSizedBuffer ¶
func (m *TLDfsUploadProfilePhotoFileV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLDfsUploadProfilePhotoFileV2) ProtoMessage ¶
func (*TLDfsUploadProfilePhotoFileV2) ProtoMessage()
func (*TLDfsUploadProfilePhotoFileV2) Reset ¶
func (m *TLDfsUploadProfilePhotoFileV2) Reset()
func (*TLDfsUploadProfilePhotoFileV2) Size ¶
func (m *TLDfsUploadProfilePhotoFileV2) Size() (n int)
func (*TLDfsUploadProfilePhotoFileV2) String ¶
func (m *TLDfsUploadProfilePhotoFileV2) String() string
func (*TLDfsUploadProfilePhotoFileV2) Unmarshal ¶
func (m *TLDfsUploadProfilePhotoFileV2) Unmarshal(dAtA []byte) error
func (*TLDfsUploadProfilePhotoFileV2) XXX_DiscardUnknown ¶
func (m *TLDfsUploadProfilePhotoFileV2) XXX_DiscardUnknown()
func (*TLDfsUploadProfilePhotoFileV2) XXX_Marshal ¶
func (m *TLDfsUploadProfilePhotoFileV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLDfsUploadProfilePhotoFileV2) XXX_Merge ¶
func (m *TLDfsUploadProfilePhotoFileV2) XXX_Merge(src proto.Message)
func (*TLDfsUploadProfilePhotoFileV2) XXX_Size ¶
func (m *TLDfsUploadProfilePhotoFileV2) XXX_Size() int
func (*TLDfsUploadProfilePhotoFileV2) XXX_Unmarshal ¶
func (m *TLDfsUploadProfilePhotoFileV2) XXX_Unmarshal(b []byte) error
type TLDfsUploadRingtoneFile ¶ added in v0.87.4
type TLDfsUploadRingtoneFile struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=dfs.TLConstructor" json:"constructor,omitempty"` Creator int64 `protobuf:"varint,3,opt,name=creator,proto3" json:"creator,omitempty"` File *mtproto.InputFile `protobuf:"bytes,4,opt,name=file,proto3" json:"file,omitempty"` MimeType string `protobuf:"bytes,5,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` FileName string `protobuf:"bytes,6,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLDfsUploadRingtoneFile) CalcByteSize ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) CalcByteSize(layer int32) int
func (*TLDfsUploadRingtoneFile) DebugString ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) DebugString() string
func (*TLDfsUploadRingtoneFile) Decode ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLDfsUploadRingtoneFile) Descriptor ¶ added in v0.87.4
func (*TLDfsUploadRingtoneFile) Descriptor() ([]byte, []int)
func (*TLDfsUploadRingtoneFile) Encode ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) Encode(layer int32) []byte
func (*TLDfsUploadRingtoneFile) GetConstructor ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) GetConstructor() TLConstructor
func (*TLDfsUploadRingtoneFile) GetCreator ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) GetCreator() int64
func (*TLDfsUploadRingtoneFile) GetFile ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) GetFile() *mtproto.InputFile
func (*TLDfsUploadRingtoneFile) GetFileName ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) GetFileName() string
func (*TLDfsUploadRingtoneFile) GetMimeType ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) GetMimeType() string
func (*TLDfsUploadRingtoneFile) GoString ¶ added in v0.87.4
func (this *TLDfsUploadRingtoneFile) GoString() string
func (*TLDfsUploadRingtoneFile) Marshal ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) Marshal() (dAtA []byte, err error)
func (*TLDfsUploadRingtoneFile) MarshalTo ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) MarshalTo(dAtA []byte) (int, error)
func (*TLDfsUploadRingtoneFile) MarshalToSizedBuffer ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLDfsUploadRingtoneFile) ProtoMessage ¶ added in v0.87.4
func (*TLDfsUploadRingtoneFile) ProtoMessage()
func (*TLDfsUploadRingtoneFile) Reset ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) Reset()
func (*TLDfsUploadRingtoneFile) Size ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) Size() (n int)
func (*TLDfsUploadRingtoneFile) String ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) String() string
func (*TLDfsUploadRingtoneFile) Unmarshal ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) Unmarshal(dAtA []byte) error
func (*TLDfsUploadRingtoneFile) XXX_DiscardUnknown ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) XXX_DiscardUnknown()
func (*TLDfsUploadRingtoneFile) XXX_Marshal ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLDfsUploadRingtoneFile) XXX_Merge ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) XXX_Merge(src proto.Message)
func (*TLDfsUploadRingtoneFile) XXX_Size ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) XXX_Size() int
func (*TLDfsUploadRingtoneFile) XXX_Unmarshal ¶ added in v0.87.4
func (m *TLDfsUploadRingtoneFile) XXX_Unmarshal(b []byte) error
type TLDfsUploadThemeFile ¶
type TLDfsUploadThemeFile struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=dfs.TLConstructor" json:"constructor,omitempty"` Creator int64 `protobuf:"varint,3,opt,name=creator,proto3" json:"creator,omitempty"` File *mtproto.InputFile `protobuf:"bytes,4,opt,name=file,proto3" json:"file,omitempty"` Thumb *mtproto.InputFile `protobuf:"bytes,5,opt,name=thumb,proto3" json:"thumb,omitempty"` MimeType string `protobuf:"bytes,6,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` FileName string `protobuf:"bytes,7,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLDfsUploadThemeFile) CalcByteSize ¶
func (m *TLDfsUploadThemeFile) CalcByteSize(layer int32) int
func (*TLDfsUploadThemeFile) DebugString ¶
func (m *TLDfsUploadThemeFile) DebugString() string
func (*TLDfsUploadThemeFile) Decode ¶
func (m *TLDfsUploadThemeFile) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLDfsUploadThemeFile) Descriptor ¶
func (*TLDfsUploadThemeFile) Descriptor() ([]byte, []int)
func (*TLDfsUploadThemeFile) Encode ¶
func (m *TLDfsUploadThemeFile) Encode(layer int32) []byte
func (*TLDfsUploadThemeFile) GetConstructor ¶
func (m *TLDfsUploadThemeFile) GetConstructor() TLConstructor
func (*TLDfsUploadThemeFile) GetCreator ¶
func (m *TLDfsUploadThemeFile) GetCreator() int64
func (*TLDfsUploadThemeFile) GetFile ¶
func (m *TLDfsUploadThemeFile) GetFile() *mtproto.InputFile
func (*TLDfsUploadThemeFile) GetFileName ¶
func (m *TLDfsUploadThemeFile) GetFileName() string
func (*TLDfsUploadThemeFile) GetMimeType ¶
func (m *TLDfsUploadThemeFile) GetMimeType() string
func (*TLDfsUploadThemeFile) GetThumb ¶
func (m *TLDfsUploadThemeFile) GetThumb() *mtproto.InputFile
func (*TLDfsUploadThemeFile) GoString ¶
func (this *TLDfsUploadThemeFile) GoString() string
func (*TLDfsUploadThemeFile) Marshal ¶
func (m *TLDfsUploadThemeFile) Marshal() (dAtA []byte, err error)
func (*TLDfsUploadThemeFile) MarshalTo ¶
func (m *TLDfsUploadThemeFile) MarshalTo(dAtA []byte) (int, error)
func (*TLDfsUploadThemeFile) MarshalToSizedBuffer ¶
func (m *TLDfsUploadThemeFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLDfsUploadThemeFile) ProtoMessage ¶
func (*TLDfsUploadThemeFile) ProtoMessage()
func (*TLDfsUploadThemeFile) Reset ¶
func (m *TLDfsUploadThemeFile) Reset()
func (*TLDfsUploadThemeFile) Size ¶
func (m *TLDfsUploadThemeFile) Size() (n int)
func (*TLDfsUploadThemeFile) String ¶
func (m *TLDfsUploadThemeFile) String() string
func (*TLDfsUploadThemeFile) Unmarshal ¶
func (m *TLDfsUploadThemeFile) Unmarshal(dAtA []byte) error
func (*TLDfsUploadThemeFile) XXX_DiscardUnknown ¶
func (m *TLDfsUploadThemeFile) XXX_DiscardUnknown()
func (*TLDfsUploadThemeFile) XXX_Marshal ¶
func (m *TLDfsUploadThemeFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLDfsUploadThemeFile) XXX_Merge ¶
func (m *TLDfsUploadThemeFile) XXX_Merge(src proto.Message)
func (*TLDfsUploadThemeFile) XXX_Size ¶
func (m *TLDfsUploadThemeFile) XXX_Size() int
func (*TLDfsUploadThemeFile) XXX_Unmarshal ¶
func (m *TLDfsUploadThemeFile) XXX_Unmarshal(b []byte) error
type TLDfsUploadWallPaperFile ¶
type TLDfsUploadWallPaperFile struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=dfs.TLConstructor" json:"constructor,omitempty"` Creator int64 `protobuf:"varint,3,opt,name=creator,proto3" json:"creator,omitempty"` File *mtproto.InputFile `protobuf:"bytes,4,opt,name=file,proto3" json:"file,omitempty"` MimeType string `protobuf:"bytes,5,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` Admin *mtproto.Bool `protobuf:"bytes,6,opt,name=admin,proto3" json:"admin,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLDfsUploadWallPaperFile) CalcByteSize ¶
func (m *TLDfsUploadWallPaperFile) CalcByteSize(layer int32) int
func (*TLDfsUploadWallPaperFile) DebugString ¶
func (m *TLDfsUploadWallPaperFile) DebugString() string
func (*TLDfsUploadWallPaperFile) Decode ¶
func (m *TLDfsUploadWallPaperFile) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLDfsUploadWallPaperFile) Descriptor ¶
func (*TLDfsUploadWallPaperFile) Descriptor() ([]byte, []int)
func (*TLDfsUploadWallPaperFile) Encode ¶
func (m *TLDfsUploadWallPaperFile) Encode(layer int32) []byte
func (*TLDfsUploadWallPaperFile) GetAdmin ¶
func (m *TLDfsUploadWallPaperFile) GetAdmin() *mtproto.Bool
func (*TLDfsUploadWallPaperFile) GetConstructor ¶
func (m *TLDfsUploadWallPaperFile) GetConstructor() TLConstructor
func (*TLDfsUploadWallPaperFile) GetCreator ¶
func (m *TLDfsUploadWallPaperFile) GetCreator() int64
func (*TLDfsUploadWallPaperFile) GetFile ¶
func (m *TLDfsUploadWallPaperFile) GetFile() *mtproto.InputFile
func (*TLDfsUploadWallPaperFile) GetMimeType ¶
func (m *TLDfsUploadWallPaperFile) GetMimeType() string
func (*TLDfsUploadWallPaperFile) GoString ¶
func (this *TLDfsUploadWallPaperFile) GoString() string
func (*TLDfsUploadWallPaperFile) Marshal ¶
func (m *TLDfsUploadWallPaperFile) Marshal() (dAtA []byte, err error)
func (*TLDfsUploadWallPaperFile) MarshalTo ¶
func (m *TLDfsUploadWallPaperFile) MarshalTo(dAtA []byte) (int, error)
func (*TLDfsUploadWallPaperFile) MarshalToSizedBuffer ¶
func (m *TLDfsUploadWallPaperFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLDfsUploadWallPaperFile) ProtoMessage ¶
func (*TLDfsUploadWallPaperFile) ProtoMessage()
func (*TLDfsUploadWallPaperFile) Reset ¶
func (m *TLDfsUploadWallPaperFile) Reset()
func (*TLDfsUploadWallPaperFile) Size ¶
func (m *TLDfsUploadWallPaperFile) Size() (n int)
func (*TLDfsUploadWallPaperFile) String ¶
func (m *TLDfsUploadWallPaperFile) String() string
func (*TLDfsUploadWallPaperFile) Unmarshal ¶
func (m *TLDfsUploadWallPaperFile) Unmarshal(dAtA []byte) error
func (*TLDfsUploadWallPaperFile) XXX_DiscardUnknown ¶
func (m *TLDfsUploadWallPaperFile) XXX_DiscardUnknown()
func (*TLDfsUploadWallPaperFile) XXX_Marshal ¶
func (m *TLDfsUploadWallPaperFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLDfsUploadWallPaperFile) XXX_Merge ¶
func (m *TLDfsUploadWallPaperFile) XXX_Merge(src proto.Message)
func (*TLDfsUploadWallPaperFile) XXX_Size ¶
func (m *TLDfsUploadWallPaperFile) XXX_Size() int
func (*TLDfsUploadWallPaperFile) XXX_Unmarshal ¶
func (m *TLDfsUploadWallPaperFile) XXX_Unmarshal(b []byte) error
type TLDfsWriteFilePartData ¶
type TLDfsWriteFilePartData struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=dfs.TLConstructor" json:"constructor,omitempty"` Creator int64 `protobuf:"varint,3,opt,name=creator,proto3" json:"creator,omitempty"` FileId int64 `protobuf:"varint,4,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` FilePart int32 `protobuf:"varint,5,opt,name=file_part,json=filePart,proto3" json:"file_part,omitempty"` Bytes []byte `protobuf:"bytes,6,opt,name=bytes,proto3" json:"bytes,omitempty"` Big bool `protobuf:"varint,7,opt,name=big,proto3" json:"big,omitempty"` FileTotalParts *types.Int32Value `protobuf:"bytes,8,opt,name=file_total_parts,json=fileTotalParts,proto3" json:"file_total_parts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLDfsWriteFilePartData) CalcByteSize ¶
func (m *TLDfsWriteFilePartData) CalcByteSize(layer int32) int
func (*TLDfsWriteFilePartData) DebugString ¶
func (m *TLDfsWriteFilePartData) DebugString() string
func (*TLDfsWriteFilePartData) Decode ¶
func (m *TLDfsWriteFilePartData) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLDfsWriteFilePartData) Descriptor ¶
func (*TLDfsWriteFilePartData) Descriptor() ([]byte, []int)
func (*TLDfsWriteFilePartData) Encode ¶
func (m *TLDfsWriteFilePartData) Encode(layer int32) []byte
func (*TLDfsWriteFilePartData) GetBig ¶
func (m *TLDfsWriteFilePartData) GetBig() bool
func (*TLDfsWriteFilePartData) GetBytes ¶
func (m *TLDfsWriteFilePartData) GetBytes() []byte
func (*TLDfsWriteFilePartData) GetConstructor ¶
func (m *TLDfsWriteFilePartData) GetConstructor() TLConstructor
func (*TLDfsWriteFilePartData) GetCreator ¶
func (m *TLDfsWriteFilePartData) GetCreator() int64
func (*TLDfsWriteFilePartData) GetFileId ¶
func (m *TLDfsWriteFilePartData) GetFileId() int64
func (*TLDfsWriteFilePartData) GetFilePart ¶
func (m *TLDfsWriteFilePartData) GetFilePart() int32
func (*TLDfsWriteFilePartData) GetFileTotalParts ¶
func (m *TLDfsWriteFilePartData) GetFileTotalParts() *types.Int32Value
func (*TLDfsWriteFilePartData) GoString ¶
func (this *TLDfsWriteFilePartData) GoString() string
func (*TLDfsWriteFilePartData) Marshal ¶
func (m *TLDfsWriteFilePartData) Marshal() (dAtA []byte, err error)
func (*TLDfsWriteFilePartData) MarshalTo ¶
func (m *TLDfsWriteFilePartData) MarshalTo(dAtA []byte) (int, error)
func (*TLDfsWriteFilePartData) MarshalToSizedBuffer ¶
func (m *TLDfsWriteFilePartData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLDfsWriteFilePartData) ProtoMessage ¶
func (*TLDfsWriteFilePartData) ProtoMessage()
func (*TLDfsWriteFilePartData) Reset ¶
func (m *TLDfsWriteFilePartData) Reset()
func (*TLDfsWriteFilePartData) Size ¶
func (m *TLDfsWriteFilePartData) Size() (n int)
func (*TLDfsWriteFilePartData) String ¶
func (m *TLDfsWriteFilePartData) String() string
func (*TLDfsWriteFilePartData) Unmarshal ¶
func (m *TLDfsWriteFilePartData) Unmarshal(dAtA []byte) error
func (*TLDfsWriteFilePartData) XXX_DiscardUnknown ¶
func (m *TLDfsWriteFilePartData) XXX_DiscardUnknown()
func (*TLDfsWriteFilePartData) XXX_Marshal ¶
func (m *TLDfsWriteFilePartData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLDfsWriteFilePartData) XXX_Merge ¶
func (m *TLDfsWriteFilePartData) XXX_Merge(src proto.Message)
func (*TLDfsWriteFilePartData) XXX_Size ¶
func (m *TLDfsWriteFilePartData) XXX_Size() int
func (*TLDfsWriteFilePartData) XXX_Unmarshal ¶
func (m *TLDfsWriteFilePartData) XXX_Unmarshal(b []byte) error
type UnimplementedRPCDfsServer ¶
type UnimplementedRPCDfsServer struct { }
UnimplementedRPCDfsServer can be embedded to have forward compatible implementations.
func (*UnimplementedRPCDfsServer) DfsDownloadFile ¶
func (*UnimplementedRPCDfsServer) DfsDownloadFile(ctx context.Context, req *TLDfsDownloadFile) (*mtproto.Upload_File, error)
func (*UnimplementedRPCDfsServer) DfsUploadDocumentFileV2 ¶
func (*UnimplementedRPCDfsServer) DfsUploadDocumentFileV2(ctx context.Context, req *TLDfsUploadDocumentFileV2) (*mtproto.Document, error)
func (*UnimplementedRPCDfsServer) DfsUploadEncryptedFileV2 ¶
func (*UnimplementedRPCDfsServer) DfsUploadEncryptedFileV2(ctx context.Context, req *TLDfsUploadEncryptedFileV2) (*mtproto.EncryptedFile, error)
func (*UnimplementedRPCDfsServer) DfsUploadGifDocumentMedia ¶
func (*UnimplementedRPCDfsServer) DfsUploadGifDocumentMedia(ctx context.Context, req *TLDfsUploadGifDocumentMedia) (*mtproto.Document, error)
func (*UnimplementedRPCDfsServer) DfsUploadMp4DocumentMedia ¶
func (*UnimplementedRPCDfsServer) DfsUploadMp4DocumentMedia(ctx context.Context, req *TLDfsUploadMp4DocumentMedia) (*mtproto.Document, error)
func (*UnimplementedRPCDfsServer) DfsUploadPhotoFileV2 ¶
func (*UnimplementedRPCDfsServer) DfsUploadPhotoFileV2(ctx context.Context, req *TLDfsUploadPhotoFileV2) (*mtproto.Photo, error)
func (*UnimplementedRPCDfsServer) DfsUploadProfilePhotoFileV2 ¶
func (*UnimplementedRPCDfsServer) DfsUploadProfilePhotoFileV2(ctx context.Context, req *TLDfsUploadProfilePhotoFileV2) (*mtproto.Photo, error)
func (*UnimplementedRPCDfsServer) DfsUploadRingtoneFile ¶ added in v0.87.4
func (*UnimplementedRPCDfsServer) DfsUploadRingtoneFile(ctx context.Context, req *TLDfsUploadRingtoneFile) (*mtproto.Document, error)
func (*UnimplementedRPCDfsServer) DfsUploadThemeFile ¶
func (*UnimplementedRPCDfsServer) DfsUploadThemeFile(ctx context.Context, req *TLDfsUploadThemeFile) (*mtproto.Document, error)
func (*UnimplementedRPCDfsServer) DfsUploadWallPaperFile ¶
func (*UnimplementedRPCDfsServer) DfsUploadWallPaperFile(ctx context.Context, req *TLDfsUploadWallPaperFile) (*mtproto.Document, error)
func (*UnimplementedRPCDfsServer) DfsWriteFilePartData ¶
func (*UnimplementedRPCDfsServer) DfsWriteFilePartData(ctx context.Context, req *TLDfsWriteFilePartData) (*mtproto.Bool, error)