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 RegisterRPCMediaServer(s *grpc.Server, srv RPCMediaServer)
- type PhotoSizeList
- func (m *PhotoSizeList) CalcByteSize(layer int32) int
- func (m *PhotoSizeList) DebugString() string
- func (m *PhotoSizeList) Decode(dBuf *mtproto.DecodeBuf) error
- func (*PhotoSizeList) Descriptor() ([]byte, []int)
- func (m *PhotoSizeList) Encode(layer int32) []byte
- func (m *PhotoSizeList) GetConstructor() TLConstructor
- func (m *PhotoSizeList) GetDcId() int32
- func (m *PhotoSizeList) GetPredicateName() string
- func (m *PhotoSizeList) GetSizeId() int64
- func (m *PhotoSizeList) GetSizes() []*mtproto.PhotoSize
- func (this *PhotoSizeList) GoString() string
- func (m *PhotoSizeList) Marshal() (dAtA []byte, err error)
- func (m *PhotoSizeList) MarshalTo(dAtA []byte) (int, error)
- func (m *PhotoSizeList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PhotoSizeList) ProtoMessage()
- func (m *PhotoSizeList) Reset()
- func (m *PhotoSizeList) Size() (n int)
- func (m *PhotoSizeList) String() string
- func (m *PhotoSizeList) To_PhotoSizeList() *TLPhotoSizeList
- func (m *PhotoSizeList) Unmarshal(dAtA []byte) error
- func (m *PhotoSizeList) XXX_DiscardUnknown()
- func (m *PhotoSizeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PhotoSizeList) XXX_Merge(src proto.Message)
- func (m *PhotoSizeList) XXX_Size() int
- func (m *PhotoSizeList) XXX_Unmarshal(b []byte) error
- type RPCContextTuple
- type RPCMediaClient
- type RPCMediaServer
- type TLConstructor
- type TLMediaGetDocument
- func (m *TLMediaGetDocument) CalcByteSize(layer int32) int
- func (m *TLMediaGetDocument) DebugString() string
- func (m *TLMediaGetDocument) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLMediaGetDocument) Descriptor() ([]byte, []int)
- func (m *TLMediaGetDocument) Encode(layer int32) []byte
- func (m *TLMediaGetDocument) GetConstructor() TLConstructor
- func (m *TLMediaGetDocument) GetId() int64
- func (this *TLMediaGetDocument) GoString() string
- func (m *TLMediaGetDocument) Marshal() (dAtA []byte, err error)
- func (m *TLMediaGetDocument) MarshalTo(dAtA []byte) (int, error)
- func (m *TLMediaGetDocument) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLMediaGetDocument) ProtoMessage()
- func (m *TLMediaGetDocument) Reset()
- func (m *TLMediaGetDocument) Size() (n int)
- func (m *TLMediaGetDocument) String() string
- func (m *TLMediaGetDocument) Unmarshal(dAtA []byte) error
- func (m *TLMediaGetDocument) XXX_DiscardUnknown()
- func (m *TLMediaGetDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLMediaGetDocument) XXX_Merge(src proto.Message)
- func (m *TLMediaGetDocument) XXX_Size() int
- func (m *TLMediaGetDocument) XXX_Unmarshal(b []byte) error
- type TLMediaGetDocumentList
- func (m *TLMediaGetDocumentList) CalcByteSize(layer int32) int
- func (m *TLMediaGetDocumentList) DebugString() string
- func (m *TLMediaGetDocumentList) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLMediaGetDocumentList) Descriptor() ([]byte, []int)
- func (m *TLMediaGetDocumentList) Encode(layer int32) []byte
- func (m *TLMediaGetDocumentList) GetConstructor() TLConstructor
- func (m *TLMediaGetDocumentList) GetIdList() []int64
- func (this *TLMediaGetDocumentList) GoString() string
- func (m *TLMediaGetDocumentList) Marshal() (dAtA []byte, err error)
- func (m *TLMediaGetDocumentList) MarshalTo(dAtA []byte) (int, error)
- func (m *TLMediaGetDocumentList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLMediaGetDocumentList) ProtoMessage()
- func (m *TLMediaGetDocumentList) Reset()
- func (m *TLMediaGetDocumentList) Size() (n int)
- func (m *TLMediaGetDocumentList) String() string
- func (m *TLMediaGetDocumentList) Unmarshal(dAtA []byte) error
- func (m *TLMediaGetDocumentList) XXX_DiscardUnknown()
- func (m *TLMediaGetDocumentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLMediaGetDocumentList) XXX_Merge(src proto.Message)
- func (m *TLMediaGetDocumentList) XXX_Size() int
- func (m *TLMediaGetDocumentList) XXX_Unmarshal(b []byte) error
- type TLMediaGetEncryptedFile
- func (m *TLMediaGetEncryptedFile) CalcByteSize(layer int32) int
- func (m *TLMediaGetEncryptedFile) DebugString() string
- func (m *TLMediaGetEncryptedFile) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLMediaGetEncryptedFile) Descriptor() ([]byte, []int)
- func (m *TLMediaGetEncryptedFile) Encode(layer int32) []byte
- func (m *TLMediaGetEncryptedFile) GetAccessHash() int64
- func (m *TLMediaGetEncryptedFile) GetConstructor() TLConstructor
- func (m *TLMediaGetEncryptedFile) GetId() int64
- func (this *TLMediaGetEncryptedFile) GoString() string
- func (m *TLMediaGetEncryptedFile) Marshal() (dAtA []byte, err error)
- func (m *TLMediaGetEncryptedFile) MarshalTo(dAtA []byte) (int, error)
- func (m *TLMediaGetEncryptedFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLMediaGetEncryptedFile) ProtoMessage()
- func (m *TLMediaGetEncryptedFile) Reset()
- func (m *TLMediaGetEncryptedFile) Size() (n int)
- func (m *TLMediaGetEncryptedFile) String() string
- func (m *TLMediaGetEncryptedFile) Unmarshal(dAtA []byte) error
- func (m *TLMediaGetEncryptedFile) XXX_DiscardUnknown()
- func (m *TLMediaGetEncryptedFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLMediaGetEncryptedFile) XXX_Merge(src proto.Message)
- func (m *TLMediaGetEncryptedFile) XXX_Size() int
- func (m *TLMediaGetEncryptedFile) XXX_Unmarshal(b []byte) error
- type TLMediaGetPhoto
- func (m *TLMediaGetPhoto) CalcByteSize(layer int32) int
- func (m *TLMediaGetPhoto) DebugString() string
- func (m *TLMediaGetPhoto) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLMediaGetPhoto) Descriptor() ([]byte, []int)
- func (m *TLMediaGetPhoto) Encode(layer int32) []byte
- func (m *TLMediaGetPhoto) GetConstructor() TLConstructor
- func (m *TLMediaGetPhoto) GetPhotoId() int64
- func (this *TLMediaGetPhoto) GoString() string
- func (m *TLMediaGetPhoto) Marshal() (dAtA []byte, err error)
- func (m *TLMediaGetPhoto) MarshalTo(dAtA []byte) (int, error)
- func (m *TLMediaGetPhoto) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLMediaGetPhoto) ProtoMessage()
- func (m *TLMediaGetPhoto) Reset()
- func (m *TLMediaGetPhoto) Size() (n int)
- func (m *TLMediaGetPhoto) String() string
- func (m *TLMediaGetPhoto) Unmarshal(dAtA []byte) error
- func (m *TLMediaGetPhoto) XXX_DiscardUnknown()
- func (m *TLMediaGetPhoto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLMediaGetPhoto) XXX_Merge(src proto.Message)
- func (m *TLMediaGetPhoto) XXX_Size() int
- func (m *TLMediaGetPhoto) XXX_Unmarshal(b []byte) error
- type TLMediaGetPhotoSizeList
- func (m *TLMediaGetPhotoSizeList) CalcByteSize(layer int32) int
- func (m *TLMediaGetPhotoSizeList) DebugString() string
- func (m *TLMediaGetPhotoSizeList) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLMediaGetPhotoSizeList) Descriptor() ([]byte, []int)
- func (m *TLMediaGetPhotoSizeList) Encode(layer int32) []byte
- func (m *TLMediaGetPhotoSizeList) GetConstructor() TLConstructor
- func (m *TLMediaGetPhotoSizeList) GetSizeId() int64
- func (this *TLMediaGetPhotoSizeList) GoString() string
- func (m *TLMediaGetPhotoSizeList) Marshal() (dAtA []byte, err error)
- func (m *TLMediaGetPhotoSizeList) MarshalTo(dAtA []byte) (int, error)
- func (m *TLMediaGetPhotoSizeList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLMediaGetPhotoSizeList) ProtoMessage()
- func (m *TLMediaGetPhotoSizeList) Reset()
- func (m *TLMediaGetPhotoSizeList) Size() (n int)
- func (m *TLMediaGetPhotoSizeList) String() string
- func (m *TLMediaGetPhotoSizeList) Unmarshal(dAtA []byte) error
- func (m *TLMediaGetPhotoSizeList) XXX_DiscardUnknown()
- func (m *TLMediaGetPhotoSizeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLMediaGetPhotoSizeList) XXX_Merge(src proto.Message)
- func (m *TLMediaGetPhotoSizeList) XXX_Size() int
- func (m *TLMediaGetPhotoSizeList) XXX_Unmarshal(b []byte) error
- type TLMediaGetPhotoSizeListList
- func (m *TLMediaGetPhotoSizeListList) CalcByteSize(layer int32) int
- func (m *TLMediaGetPhotoSizeListList) DebugString() string
- func (m *TLMediaGetPhotoSizeListList) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLMediaGetPhotoSizeListList) Descriptor() ([]byte, []int)
- func (m *TLMediaGetPhotoSizeListList) Encode(layer int32) []byte
- func (m *TLMediaGetPhotoSizeListList) GetConstructor() TLConstructor
- func (m *TLMediaGetPhotoSizeListList) GetIdList() []int64
- func (this *TLMediaGetPhotoSizeListList) GoString() string
- func (m *TLMediaGetPhotoSizeListList) Marshal() (dAtA []byte, err error)
- func (m *TLMediaGetPhotoSizeListList) MarshalTo(dAtA []byte) (int, error)
- func (m *TLMediaGetPhotoSizeListList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLMediaGetPhotoSizeListList) ProtoMessage()
- func (m *TLMediaGetPhotoSizeListList) Reset()
- func (m *TLMediaGetPhotoSizeListList) Size() (n int)
- func (m *TLMediaGetPhotoSizeListList) String() string
- func (m *TLMediaGetPhotoSizeListList) Unmarshal(dAtA []byte) error
- func (m *TLMediaGetPhotoSizeListList) XXX_DiscardUnknown()
- func (m *TLMediaGetPhotoSizeListList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLMediaGetPhotoSizeListList) XXX_Merge(src proto.Message)
- func (m *TLMediaGetPhotoSizeListList) XXX_Size() int
- func (m *TLMediaGetPhotoSizeListList) XXX_Unmarshal(b []byte) error
- type TLMediaGetVideoSizeList
- func (m *TLMediaGetVideoSizeList) CalcByteSize(layer int32) int
- func (m *TLMediaGetVideoSizeList) DebugString() string
- func (m *TLMediaGetVideoSizeList) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLMediaGetVideoSizeList) Descriptor() ([]byte, []int)
- func (m *TLMediaGetVideoSizeList) Encode(layer int32) []byte
- func (m *TLMediaGetVideoSizeList) GetConstructor() TLConstructor
- func (m *TLMediaGetVideoSizeList) GetSizeId() int64
- func (this *TLMediaGetVideoSizeList) GoString() string
- func (m *TLMediaGetVideoSizeList) Marshal() (dAtA []byte, err error)
- func (m *TLMediaGetVideoSizeList) MarshalTo(dAtA []byte) (int, error)
- func (m *TLMediaGetVideoSizeList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLMediaGetVideoSizeList) ProtoMessage()
- func (m *TLMediaGetVideoSizeList) Reset()
- func (m *TLMediaGetVideoSizeList) Size() (n int)
- func (m *TLMediaGetVideoSizeList) String() string
- func (m *TLMediaGetVideoSizeList) Unmarshal(dAtA []byte) error
- func (m *TLMediaGetVideoSizeList) XXX_DiscardUnknown()
- func (m *TLMediaGetVideoSizeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLMediaGetVideoSizeList) XXX_Merge(src proto.Message)
- func (m *TLMediaGetVideoSizeList) XXX_Size() int
- func (m *TLMediaGetVideoSizeList) XXX_Unmarshal(b []byte) error
- type TLMediaUploadEncryptedFile
- func (m *TLMediaUploadEncryptedFile) CalcByteSize(layer int32) int
- func (m *TLMediaUploadEncryptedFile) DebugString() string
- func (m *TLMediaUploadEncryptedFile) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLMediaUploadEncryptedFile) Descriptor() ([]byte, []int)
- func (m *TLMediaUploadEncryptedFile) Encode(layer int32) []byte
- func (m *TLMediaUploadEncryptedFile) GetConstructor() TLConstructor
- func (m *TLMediaUploadEncryptedFile) GetFile() *mtproto.InputEncryptedFile
- func (m *TLMediaUploadEncryptedFile) GetOwnerId() int64
- func (this *TLMediaUploadEncryptedFile) GoString() string
- func (m *TLMediaUploadEncryptedFile) Marshal() (dAtA []byte, err error)
- func (m *TLMediaUploadEncryptedFile) MarshalTo(dAtA []byte) (int, error)
- func (m *TLMediaUploadEncryptedFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLMediaUploadEncryptedFile) ProtoMessage()
- func (m *TLMediaUploadEncryptedFile) Reset()
- func (m *TLMediaUploadEncryptedFile) Size() (n int)
- func (m *TLMediaUploadEncryptedFile) String() string
- func (m *TLMediaUploadEncryptedFile) Unmarshal(dAtA []byte) error
- func (m *TLMediaUploadEncryptedFile) XXX_DiscardUnknown()
- func (m *TLMediaUploadEncryptedFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLMediaUploadEncryptedFile) XXX_Merge(src proto.Message)
- func (m *TLMediaUploadEncryptedFile) XXX_Size() int
- func (m *TLMediaUploadEncryptedFile) XXX_Unmarshal(b []byte) error
- type TLMediaUploadPhotoFile
- func (m *TLMediaUploadPhotoFile) CalcByteSize(layer int32) int
- func (m *TLMediaUploadPhotoFile) DebugString() string
- func (m *TLMediaUploadPhotoFile) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLMediaUploadPhotoFile) Descriptor() ([]byte, []int)
- func (m *TLMediaUploadPhotoFile) Encode(layer int32) []byte
- func (m *TLMediaUploadPhotoFile) GetConstructor() TLConstructor
- func (m *TLMediaUploadPhotoFile) GetFile() *mtproto.InputFile
- func (m *TLMediaUploadPhotoFile) GetOwnerId() int64
- func (m *TLMediaUploadPhotoFile) GetStickers() []*mtproto.InputDocument
- func (m *TLMediaUploadPhotoFile) GetTtlSeconds() *types.Int32Value
- func (this *TLMediaUploadPhotoFile) GoString() string
- func (m *TLMediaUploadPhotoFile) Marshal() (dAtA []byte, err error)
- func (m *TLMediaUploadPhotoFile) MarshalTo(dAtA []byte) (int, error)
- func (m *TLMediaUploadPhotoFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLMediaUploadPhotoFile) ProtoMessage()
- func (m *TLMediaUploadPhotoFile) Reset()
- func (m *TLMediaUploadPhotoFile) Size() (n int)
- func (m *TLMediaUploadPhotoFile) String() string
- func (m *TLMediaUploadPhotoFile) Unmarshal(dAtA []byte) error
- func (m *TLMediaUploadPhotoFile) XXX_DiscardUnknown()
- func (m *TLMediaUploadPhotoFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLMediaUploadPhotoFile) XXX_Merge(src proto.Message)
- func (m *TLMediaUploadPhotoFile) XXX_Size() int
- func (m *TLMediaUploadPhotoFile) XXX_Unmarshal(b []byte) error
- type TLMediaUploadProfilePhotoFile
- func (m *TLMediaUploadProfilePhotoFile) CalcByteSize(layer int32) int
- func (m *TLMediaUploadProfilePhotoFile) DebugString() string
- func (m *TLMediaUploadProfilePhotoFile) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLMediaUploadProfilePhotoFile) Descriptor() ([]byte, []int)
- func (m *TLMediaUploadProfilePhotoFile) Encode(layer int32) []byte
- func (m *TLMediaUploadProfilePhotoFile) GetConstructor() TLConstructor
- func (m *TLMediaUploadProfilePhotoFile) GetFile() *mtproto.InputFile
- func (m *TLMediaUploadProfilePhotoFile) GetOwnerId() int64
- func (m *TLMediaUploadProfilePhotoFile) GetVideo() *mtproto.InputFile
- func (m *TLMediaUploadProfilePhotoFile) GetVideoStartTs() *types.DoubleValue
- func (this *TLMediaUploadProfilePhotoFile) GoString() string
- func (m *TLMediaUploadProfilePhotoFile) Marshal() (dAtA []byte, err error)
- func (m *TLMediaUploadProfilePhotoFile) MarshalTo(dAtA []byte) (int, error)
- func (m *TLMediaUploadProfilePhotoFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLMediaUploadProfilePhotoFile) ProtoMessage()
- func (m *TLMediaUploadProfilePhotoFile) Reset()
- func (m *TLMediaUploadProfilePhotoFile) Size() (n int)
- func (m *TLMediaUploadProfilePhotoFile) String() string
- func (m *TLMediaUploadProfilePhotoFile) Unmarshal(dAtA []byte) error
- func (m *TLMediaUploadProfilePhotoFile) XXX_DiscardUnknown()
- func (m *TLMediaUploadProfilePhotoFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLMediaUploadProfilePhotoFile) XXX_Merge(src proto.Message)
- func (m *TLMediaUploadProfilePhotoFile) XXX_Size() int
- func (m *TLMediaUploadProfilePhotoFile) XXX_Unmarshal(b []byte) error
- type TLMediaUploadStickerFile
- func (m *TLMediaUploadStickerFile) CalcByteSize(layer int32) int
- func (m *TLMediaUploadStickerFile) DebugString() string
- func (m *TLMediaUploadStickerFile) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLMediaUploadStickerFile) Descriptor() ([]byte, []int)
- func (m *TLMediaUploadStickerFile) Encode(layer int32) []byte
- func (m *TLMediaUploadStickerFile) GetConstructor() TLConstructor
- func (m *TLMediaUploadStickerFile) GetDocumentAttributeSticker() *mtproto.DocumentAttribute
- func (m *TLMediaUploadStickerFile) GetFile() *mtproto.InputFile
- func (m *TLMediaUploadStickerFile) GetFileName() string
- func (m *TLMediaUploadStickerFile) GetMimeType() string
- func (m *TLMediaUploadStickerFile) GetOwnerId() int64
- func (m *TLMediaUploadStickerFile) GetThumb() *mtproto.InputFile
- func (this *TLMediaUploadStickerFile) GoString() string
- func (m *TLMediaUploadStickerFile) Marshal() (dAtA []byte, err error)
- func (m *TLMediaUploadStickerFile) MarshalTo(dAtA []byte) (int, error)
- func (m *TLMediaUploadStickerFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLMediaUploadStickerFile) ProtoMessage()
- func (m *TLMediaUploadStickerFile) Reset()
- func (m *TLMediaUploadStickerFile) Size() (n int)
- func (m *TLMediaUploadStickerFile) String() string
- func (m *TLMediaUploadStickerFile) Unmarshal(dAtA []byte) error
- func (m *TLMediaUploadStickerFile) XXX_DiscardUnknown()
- func (m *TLMediaUploadStickerFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLMediaUploadStickerFile) XXX_Merge(src proto.Message)
- func (m *TLMediaUploadStickerFile) XXX_Size() int
- func (m *TLMediaUploadStickerFile) XXX_Unmarshal(b []byte) error
- type TLMediaUploadThemeFile
- func (m *TLMediaUploadThemeFile) CalcByteSize(layer int32) int
- func (m *TLMediaUploadThemeFile) DebugString() string
- func (m *TLMediaUploadThemeFile) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLMediaUploadThemeFile) Descriptor() ([]byte, []int)
- func (m *TLMediaUploadThemeFile) Encode(layer int32) []byte
- func (m *TLMediaUploadThemeFile) GetConstructor() TLConstructor
- func (m *TLMediaUploadThemeFile) GetFile() *mtproto.InputFile
- func (m *TLMediaUploadThemeFile) GetFileName() string
- func (m *TLMediaUploadThemeFile) GetMimeType() string
- func (m *TLMediaUploadThemeFile) GetOwnerId() int64
- func (m *TLMediaUploadThemeFile) GetThumb() *mtproto.InputFile
- func (this *TLMediaUploadThemeFile) GoString() string
- func (m *TLMediaUploadThemeFile) Marshal() (dAtA []byte, err error)
- func (m *TLMediaUploadThemeFile) MarshalTo(dAtA []byte) (int, error)
- func (m *TLMediaUploadThemeFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLMediaUploadThemeFile) ProtoMessage()
- func (m *TLMediaUploadThemeFile) Reset()
- func (m *TLMediaUploadThemeFile) Size() (n int)
- func (m *TLMediaUploadThemeFile) String() string
- func (m *TLMediaUploadThemeFile) Unmarshal(dAtA []byte) error
- func (m *TLMediaUploadThemeFile) XXX_DiscardUnknown()
- func (m *TLMediaUploadThemeFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLMediaUploadThemeFile) XXX_Merge(src proto.Message)
- func (m *TLMediaUploadThemeFile) XXX_Size() int
- func (m *TLMediaUploadThemeFile) XXX_Unmarshal(b []byte) error
- type TLMediaUploadWallPaperFile
- func (m *TLMediaUploadWallPaperFile) CalcByteSize(layer int32) int
- func (m *TLMediaUploadWallPaperFile) DebugString() string
- func (m *TLMediaUploadWallPaperFile) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLMediaUploadWallPaperFile) Descriptor() ([]byte, []int)
- func (m *TLMediaUploadWallPaperFile) Encode(layer int32) []byte
- func (m *TLMediaUploadWallPaperFile) GetAdmin() *mtproto.Bool
- func (m *TLMediaUploadWallPaperFile) GetConstructor() TLConstructor
- func (m *TLMediaUploadWallPaperFile) GetFile() *mtproto.InputFile
- func (m *TLMediaUploadWallPaperFile) GetMimeType() string
- func (m *TLMediaUploadWallPaperFile) GetOwnerId() int64
- func (this *TLMediaUploadWallPaperFile) GoString() string
- func (m *TLMediaUploadWallPaperFile) Marshal() (dAtA []byte, err error)
- func (m *TLMediaUploadWallPaperFile) MarshalTo(dAtA []byte) (int, error)
- func (m *TLMediaUploadWallPaperFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLMediaUploadWallPaperFile) ProtoMessage()
- func (m *TLMediaUploadWallPaperFile) Reset()
- func (m *TLMediaUploadWallPaperFile) Size() (n int)
- func (m *TLMediaUploadWallPaperFile) String() string
- func (m *TLMediaUploadWallPaperFile) Unmarshal(dAtA []byte) error
- func (m *TLMediaUploadWallPaperFile) XXX_DiscardUnknown()
- func (m *TLMediaUploadWallPaperFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLMediaUploadWallPaperFile) XXX_Merge(src proto.Message)
- func (m *TLMediaUploadWallPaperFile) XXX_Size() int
- func (m *TLMediaUploadWallPaperFile) XXX_Unmarshal(b []byte) error
- type TLMediaUploadedDocumentMedia
- func (m *TLMediaUploadedDocumentMedia) CalcByteSize(layer int32) int
- func (m *TLMediaUploadedDocumentMedia) DebugString() string
- func (m *TLMediaUploadedDocumentMedia) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLMediaUploadedDocumentMedia) Descriptor() ([]byte, []int)
- func (m *TLMediaUploadedDocumentMedia) Encode(layer int32) []byte
- func (m *TLMediaUploadedDocumentMedia) GetConstructor() TLConstructor
- func (m *TLMediaUploadedDocumentMedia) GetMedia() *mtproto.InputMedia
- func (m *TLMediaUploadedDocumentMedia) GetOwnerId() int64
- func (this *TLMediaUploadedDocumentMedia) GoString() string
- func (m *TLMediaUploadedDocumentMedia) Marshal() (dAtA []byte, err error)
- func (m *TLMediaUploadedDocumentMedia) MarshalTo(dAtA []byte) (int, error)
- func (m *TLMediaUploadedDocumentMedia) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLMediaUploadedDocumentMedia) ProtoMessage()
- func (m *TLMediaUploadedDocumentMedia) Reset()
- func (m *TLMediaUploadedDocumentMedia) Size() (n int)
- func (m *TLMediaUploadedDocumentMedia) String() string
- func (m *TLMediaUploadedDocumentMedia) Unmarshal(dAtA []byte) error
- func (m *TLMediaUploadedDocumentMedia) XXX_DiscardUnknown()
- func (m *TLMediaUploadedDocumentMedia) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLMediaUploadedDocumentMedia) XXX_Merge(src proto.Message)
- func (m *TLMediaUploadedDocumentMedia) XXX_Size() int
- func (m *TLMediaUploadedDocumentMedia) XXX_Unmarshal(b []byte) error
- type TLPhotoSizeList
- func (m *TLPhotoSizeList) CalcByteSize(layer int32) int
- func (m *TLPhotoSizeList) DebugString() string
- func (m *TLPhotoSizeList) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLPhotoSizeList) Descriptor() ([]byte, []int)
- func (m *TLPhotoSizeList) Encode(layer int32) []byte
- func (m *TLPhotoSizeList) GetData2() *PhotoSizeList
- func (m *TLPhotoSizeList) GetDcId() int32
- func (m *TLPhotoSizeList) GetPredicateName() string
- func (m *TLPhotoSizeList) GetSizeId() int64
- func (m *TLPhotoSizeList) GetSizes() []*mtproto.PhotoSize
- func (this *TLPhotoSizeList) GoString() string
- func (m *TLPhotoSizeList) Marshal() (dAtA []byte, err error)
- func (m *TLPhotoSizeList) MarshalTo(dAtA []byte) (int, error)
- func (m *TLPhotoSizeList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLPhotoSizeList) ProtoMessage()
- func (m *TLPhotoSizeList) Reset()
- func (m *TLPhotoSizeList) SetDcId(v int32)
- func (m *TLPhotoSizeList) SetSizeId(v int64)
- func (m *TLPhotoSizeList) SetSizes(v []*mtproto.PhotoSize)
- func (m *TLPhotoSizeList) Size() (n int)
- func (m *TLPhotoSizeList) String() string
- func (m *TLPhotoSizeList) To_PhotoSizeList() *PhotoSizeList
- func (m *TLPhotoSizeList) Unmarshal(dAtA []byte) error
- func (m *TLPhotoSizeList) XXX_DiscardUnknown()
- func (m *TLPhotoSizeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLPhotoSizeList) XXX_Merge(src proto.Message)
- func (m *TLPhotoSizeList) XXX_Size() int
- func (m *TLPhotoSizeList) XXX_Unmarshal(b []byte) error
- type TLVideoSizeList
- func (m *TLVideoSizeList) CalcByteSize(layer int32) int
- func (m *TLVideoSizeList) DebugString() string
- func (m *TLVideoSizeList) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLVideoSizeList) Descriptor() ([]byte, []int)
- func (m *TLVideoSizeList) Encode(layer int32) []byte
- func (m *TLVideoSizeList) GetData2() *VideoSizeList
- func (m *TLVideoSizeList) GetDcId() int32
- func (m *TLVideoSizeList) GetPredicateName() string
- func (m *TLVideoSizeList) GetSizeId() int64
- func (m *TLVideoSizeList) GetSizes() []*mtproto.VideoSize
- func (this *TLVideoSizeList) GoString() string
- func (m *TLVideoSizeList) Marshal() (dAtA []byte, err error)
- func (m *TLVideoSizeList) MarshalTo(dAtA []byte) (int, error)
- func (m *TLVideoSizeList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLVideoSizeList) ProtoMessage()
- func (m *TLVideoSizeList) Reset()
- func (m *TLVideoSizeList) SetDcId(v int32)
- func (m *TLVideoSizeList) SetSizeId(v int64)
- func (m *TLVideoSizeList) SetSizes(v []*mtproto.VideoSize)
- func (m *TLVideoSizeList) Size() (n int)
- func (m *TLVideoSizeList) String() string
- func (m *TLVideoSizeList) To_VideoSizeList() *VideoSizeList
- func (m *TLVideoSizeList) Unmarshal(dAtA []byte) error
- func (m *TLVideoSizeList) XXX_DiscardUnknown()
- func (m *TLVideoSizeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLVideoSizeList) XXX_Merge(src proto.Message)
- func (m *TLVideoSizeList) XXX_Size() int
- func (m *TLVideoSizeList) XXX_Unmarshal(b []byte) error
- type UnimplementedRPCMediaServer
- func (*UnimplementedRPCMediaServer) MediaGetDocument(ctx context.Context, req *TLMediaGetDocument) (*mtproto.Document, error)
- func (*UnimplementedRPCMediaServer) MediaGetDocumentList(ctx context.Context, req *TLMediaGetDocumentList) (*Vector_Document, error)
- func (*UnimplementedRPCMediaServer) MediaGetEncryptedFile(ctx context.Context, req *TLMediaGetEncryptedFile) (*mtproto.EncryptedFile, error)
- func (*UnimplementedRPCMediaServer) MediaGetPhoto(ctx context.Context, req *TLMediaGetPhoto) (*mtproto.Photo, error)
- func (*UnimplementedRPCMediaServer) MediaGetPhotoSizeList(ctx context.Context, req *TLMediaGetPhotoSizeList) (*PhotoSizeList, error)
- func (*UnimplementedRPCMediaServer) MediaGetPhotoSizeListList(ctx context.Context, req *TLMediaGetPhotoSizeListList) (*Vector_PhotoSizeList, error)
- func (*UnimplementedRPCMediaServer) MediaGetVideoSizeList(ctx context.Context, req *TLMediaGetVideoSizeList) (*VideoSizeList, error)
- func (*UnimplementedRPCMediaServer) MediaUploadEncryptedFile(ctx context.Context, req *TLMediaUploadEncryptedFile) (*mtproto.EncryptedFile, error)
- func (*UnimplementedRPCMediaServer) MediaUploadPhotoFile(ctx context.Context, req *TLMediaUploadPhotoFile) (*mtproto.Photo, error)
- func (*UnimplementedRPCMediaServer) MediaUploadProfilePhotoFile(ctx context.Context, req *TLMediaUploadProfilePhotoFile) (*mtproto.Photo, error)
- func (*UnimplementedRPCMediaServer) MediaUploadStickerFile(ctx context.Context, req *TLMediaUploadStickerFile) (*mtproto.Document, error)
- func (*UnimplementedRPCMediaServer) MediaUploadThemeFile(ctx context.Context, req *TLMediaUploadThemeFile) (*mtproto.Document, error)
- func (*UnimplementedRPCMediaServer) MediaUploadWallPaperFile(ctx context.Context, req *TLMediaUploadWallPaperFile) (*mtproto.Document, error)
- func (*UnimplementedRPCMediaServer) MediaUploadedDocumentMedia(ctx context.Context, req *TLMediaUploadedDocumentMedia) (*mtproto.MessageMedia, error)
- type Vector_Document
- func (m *Vector_Document) CalcByteSize(layer int32) int
- func (m *Vector_Document) DebugString() string
- func (m *Vector_Document) Decode(dBuf *mtproto.DecodeBuf) error
- func (*Vector_Document) Descriptor() ([]byte, []int)
- func (m *Vector_Document) Encode(layer int32) []byte
- func (m *Vector_Document) GetDatas() []*mtproto.Document
- func (this *Vector_Document) GoString() string
- func (m *Vector_Document) Marshal() (dAtA []byte, err error)
- func (m *Vector_Document) MarshalTo(dAtA []byte) (int, error)
- func (m *Vector_Document) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Vector_Document) ProtoMessage()
- func (m *Vector_Document) Reset()
- func (m *Vector_Document) Size() (n int)
- func (m *Vector_Document) String() string
- func (m *Vector_Document) Unmarshal(dAtA []byte) error
- func (m *Vector_Document) XXX_DiscardUnknown()
- func (m *Vector_Document) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vector_Document) XXX_Merge(src proto.Message)
- func (m *Vector_Document) XXX_Size() int
- func (m *Vector_Document) XXX_Unmarshal(b []byte) error
- type Vector_PhotoSizeList
- func (m *Vector_PhotoSizeList) CalcByteSize(layer int32) int
- func (m *Vector_PhotoSizeList) DebugString() string
- func (m *Vector_PhotoSizeList) Decode(dBuf *mtproto.DecodeBuf) error
- func (*Vector_PhotoSizeList) Descriptor() ([]byte, []int)
- func (m *Vector_PhotoSizeList) Encode(layer int32) []byte
- func (m *Vector_PhotoSizeList) GetDatas() []*PhotoSizeList
- func (this *Vector_PhotoSizeList) GoString() string
- func (m *Vector_PhotoSizeList) Marshal() (dAtA []byte, err error)
- func (m *Vector_PhotoSizeList) MarshalTo(dAtA []byte) (int, error)
- func (m *Vector_PhotoSizeList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Vector_PhotoSizeList) ProtoMessage()
- func (m *Vector_PhotoSizeList) Reset()
- func (m *Vector_PhotoSizeList) Size() (n int)
- func (m *Vector_PhotoSizeList) String() string
- func (m *Vector_PhotoSizeList) Unmarshal(dAtA []byte) error
- func (m *Vector_PhotoSizeList) XXX_DiscardUnknown()
- func (m *Vector_PhotoSizeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vector_PhotoSizeList) XXX_Merge(src proto.Message)
- func (m *Vector_PhotoSizeList) XXX_Size() int
- func (m *Vector_PhotoSizeList) XXX_Unmarshal(b []byte) error
- type VideoSizeList
- func (m *VideoSizeList) CalcByteSize(layer int32) int
- func (m *VideoSizeList) DebugString() string
- func (m *VideoSizeList) Decode(dBuf *mtproto.DecodeBuf) error
- func (*VideoSizeList) Descriptor() ([]byte, []int)
- func (m *VideoSizeList) Encode(layer int32) []byte
- func (m *VideoSizeList) GetConstructor() TLConstructor
- func (m *VideoSizeList) GetDcId() int32
- func (m *VideoSizeList) GetPredicateName() string
- func (m *VideoSizeList) GetSizeId() int64
- func (m *VideoSizeList) GetSizes() []*mtproto.VideoSize
- func (this *VideoSizeList) GoString() string
- func (m *VideoSizeList) Marshal() (dAtA []byte, err error)
- func (m *VideoSizeList) MarshalTo(dAtA []byte) (int, error)
- func (m *VideoSizeList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VideoSizeList) ProtoMessage()
- func (m *VideoSizeList) Reset()
- func (m *VideoSizeList) Size() (n int)
- func (m *VideoSizeList) String() string
- func (m *VideoSizeList) To_VideoSizeList() *TLVideoSizeList
- func (m *VideoSizeList) Unmarshal(dAtA []byte) error
- func (m *VideoSizeList) XXX_DiscardUnknown()
- func (m *VideoSizeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VideoSizeList) XXX_Merge(src proto.Message)
- func (m *VideoSizeList) XXX_Size() int
- func (m *VideoSizeList) XXX_Unmarshal(b []byte) error
Constants ¶
const ( Predicate_photoSizeList = "photoSizeList" Predicate_videoSizeList = "videoSizeList" Predicate_media_uploadPhotoFile = "media_uploadPhotoFile" Predicate_media_uploadProfilePhotoFile = "media_uploadProfilePhotoFile" Predicate_media_getPhoto = "media_getPhoto" Predicate_media_getPhotoSizeList = "media_getPhotoSizeList" Predicate_media_getPhotoSizeListList = "media_getPhotoSizeListList" Predicate_media_getVideoSizeList = "media_getVideoSizeList" Predicate_media_uploadedDocumentMedia = "media_uploadedDocumentMedia" Predicate_media_getDocument = "media_getDocument" Predicate_media_getDocumentList = "media_getDocumentList" Predicate_media_uploadEncryptedFile = "media_uploadEncryptedFile" Predicate_media_getEncryptedFile = "media_getEncryptedFile" Predicate_media_uploadWallPaperFile = "media_uploadWallPaperFile" Predicate_media_uploadThemeFile = "media_uploadThemeFile" Predicate_media_uploadStickerFile = "media_uploadStickerFile" )
Variables ¶
var ( ErrInvalidLengthMediaTl = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMediaTl = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMediaTl = fmt.Errorf("proto: unexpected end of group") )
var TLConstructor_name = map[int32]string{
0: "CRC32_UNKNOWN",
108083635: "CRC32_photoSizeList",
953261042: "CRC32_videoSizeList",
1009453847: "CRC32_media_uploadPhotoFile",
-1757466844: "CRC32_media_uploadProfilePhotoFile",
1702803563: "CRC32_media_getPhoto",
-1578401979: "CRC32_media_getPhotoSizeList",
-77823776: "CRC32_media_getPhotoSizeListList",
-998862102: "CRC32_media_getVideoSizeList",
1331671148: "CRC32_media_uploadedDocumentMedia",
1072011085: "CRC32_media_getDocument",
-986721681: "CRC32_media_getDocumentList",
-1426012517: "CRC32_media_uploadEncryptedFile",
-60784431: "CRC32_media_getEncryptedFile",
-1661293058: "CRC32_media_uploadWallPaperFile",
1122416736: "CRC32_media_uploadThemeFile",
-1397349139: "CRC32_media_uploadStickerFile",
}
var TLConstructor_value = map[string]int32{
"CRC32_UNKNOWN": 0,
"CRC32_photoSizeList": 108083635,
"CRC32_videoSizeList": 953261042,
"CRC32_media_uploadPhotoFile": 1009453847,
"CRC32_media_uploadProfilePhotoFile": -1757466844,
"CRC32_media_getPhoto": 1702803563,
"CRC32_media_getPhotoSizeList": -1578401979,
"CRC32_media_getPhotoSizeListList": -77823776,
"CRC32_media_getVideoSizeList": -998862102,
"CRC32_media_uploadedDocumentMedia": 1331671148,
"CRC32_media_getDocument": 1072011085,
"CRC32_media_getDocumentList": -986721681,
"CRC32_media_uploadEncryptedFile": -1426012517,
"CRC32_media_getEncryptedFile": -60784431,
"CRC32_media_uploadWallPaperFile": -1661293058,
"CRC32_media_uploadThemeFile": 1122416736,
"CRC32_media_uploadStickerFile": -1397349139,
}
Functions ¶
func CheckClassID ¶
func GetClazzID ¶
func GetRPCContextRegisters ¶
func GetRPCContextRegisters() map[string]RPCContextTuple
func NewTLObjectByClassID ¶
func RegisterRPCMediaServer ¶
func RegisterRPCMediaServer(s *grpc.Server, srv RPCMediaServer)
Types ¶
type PhotoSizeList ¶
type PhotoSizeList struct { PredicateName string `protobuf:"bytes,1,opt,name=predicate_name,json=predicateName,proto3" json:"predicate_name,omitempty"` Constructor TLConstructor `protobuf:"varint,2,opt,name=constructor,proto3,enum=media.TLConstructor" json:"constructor,omitempty"` SizeId int64 `protobuf:"varint,3,opt,name=size_id,json=sizeId,proto3" json:"size_id,omitempty"` Sizes []*mtproto.PhotoSize `protobuf:"bytes,4,rep,name=sizes,proto3" json:"sizes,omitempty"` DcId int32 `protobuf:"varint,5,opt,name=dc_id,json=dcId,proto3" json:"dc_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
-------------------------------------------------------------------------------------------- photoSizeList size_id:long sizes:Vector<PhotoSize> dc_id:int = PhotoSizeList;
PhotoSizeList <--
- TL_photoSizeList
func (*PhotoSizeList) CalcByteSize ¶
func (m *PhotoSizeList) CalcByteSize(layer int32) int
func (*PhotoSizeList) DebugString ¶
func (m *PhotoSizeList) DebugString() string
func (*PhotoSizeList) Descriptor ¶
func (*PhotoSizeList) Descriptor() ([]byte, []int)
func (*PhotoSizeList) Encode ¶
func (m *PhotoSizeList) Encode(layer int32) []byte
func (*PhotoSizeList) GetConstructor ¶
func (m *PhotoSizeList) GetConstructor() TLConstructor
func (*PhotoSizeList) GetDcId ¶
func (m *PhotoSizeList) GetDcId() int32
func (*PhotoSizeList) GetPredicateName ¶
func (m *PhotoSizeList) GetPredicateName() string
func (*PhotoSizeList) GetSizeId ¶
func (m *PhotoSizeList) GetSizeId() int64
func (*PhotoSizeList) GetSizes ¶
func (m *PhotoSizeList) GetSizes() []*mtproto.PhotoSize
func (*PhotoSizeList) GoString ¶
func (this *PhotoSizeList) GoString() string
func (*PhotoSizeList) Marshal ¶
func (m *PhotoSizeList) Marshal() (dAtA []byte, err error)
func (*PhotoSizeList) MarshalToSizedBuffer ¶
func (m *PhotoSizeList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PhotoSizeList) ProtoMessage ¶
func (*PhotoSizeList) ProtoMessage()
func (*PhotoSizeList) Reset ¶
func (m *PhotoSizeList) Reset()
func (*PhotoSizeList) Size ¶
func (m *PhotoSizeList) Size() (n int)
func (*PhotoSizeList) String ¶
func (m *PhotoSizeList) String() string
func (*PhotoSizeList) To_PhotoSizeList ¶
func (m *PhotoSizeList) To_PhotoSizeList() *TLPhotoSizeList
To_PhotoSizeList photoSizeList size_id:long sizes:Vector<PhotoSize> dc_id:int = PhotoSizeList;
func (*PhotoSizeList) Unmarshal ¶
func (m *PhotoSizeList) Unmarshal(dAtA []byte) error
func (*PhotoSizeList) XXX_DiscardUnknown ¶
func (m *PhotoSizeList) XXX_DiscardUnknown()
func (*PhotoSizeList) XXX_Marshal ¶
func (m *PhotoSizeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PhotoSizeList) XXX_Merge ¶
func (m *PhotoSizeList) XXX_Merge(src proto.Message)
func (*PhotoSizeList) XXX_Size ¶
func (m *PhotoSizeList) XXX_Size() int
func (*PhotoSizeList) XXX_Unmarshal ¶
func (m *PhotoSizeList) XXX_Unmarshal(b []byte) error
type RPCContextTuple ¶
type RPCContextTuple struct { Method string NewReplyFunc newRPCReplyFunc }
func FindRPCContextTuple ¶
func FindRPCContextTuple(t interface{}) *RPCContextTuple
type RPCMediaClient ¶
type RPCMediaClient interface { // media.uploadPhotoFile flags:# owner_id:long file:InputFile stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = Photo; MediaUploadPhotoFile(ctx context.Context, in *TLMediaUploadPhotoFile, opts ...grpc.CallOption) (*mtproto.Photo, error) // media.uploadProfilePhotoFile flags:# owner_id:long file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double = Photo; MediaUploadProfilePhotoFile(ctx context.Context, in *TLMediaUploadProfilePhotoFile, opts ...grpc.CallOption) (*mtproto.Photo, error) // media.getPhoto photo_id:long = Photo; MediaGetPhoto(ctx context.Context, in *TLMediaGetPhoto, opts ...grpc.CallOption) (*mtproto.Photo, error) // media.getPhotoSizeList size_id:long = PhotoSizeList; MediaGetPhotoSizeList(ctx context.Context, in *TLMediaGetPhotoSizeList, opts ...grpc.CallOption) (*PhotoSizeList, error) // media.getPhotoSizeListList id_list:Vector<long> = Vector<PhotoSizeList>; MediaGetPhotoSizeListList(ctx context.Context, in *TLMediaGetPhotoSizeListList, opts ...grpc.CallOption) (*Vector_PhotoSizeList, error) // media.getVideoSizeList size_id:long = VideoSizeList; MediaGetVideoSizeList(ctx context.Context, in *TLMediaGetVideoSizeList, opts ...grpc.CallOption) (*VideoSizeList, error) // media.uploadedDocumentMedia owner_id:long media:InputMedia = MessageMedia; MediaUploadedDocumentMedia(ctx context.Context, in *TLMediaUploadedDocumentMedia, opts ...grpc.CallOption) (*mtproto.MessageMedia, error) // media.getDocument id:long = Document; MediaGetDocument(ctx context.Context, in *TLMediaGetDocument, opts ...grpc.CallOption) (*mtproto.Document, error) // media.getDocumentList id_list:Vector<long> = Vector<Document>; MediaGetDocumentList(ctx context.Context, in *TLMediaGetDocumentList, opts ...grpc.CallOption) (*Vector_Document, error) // media.uploadEncryptedFile owner_id:long file:InputEncryptedFile = EncryptedFile; MediaUploadEncryptedFile(ctx context.Context, in *TLMediaUploadEncryptedFile, opts ...grpc.CallOption) (*mtproto.EncryptedFile, error) // media.getEncryptedFile id:long access_hash:long = EncryptedFile; MediaGetEncryptedFile(ctx context.Context, in *TLMediaGetEncryptedFile, opts ...grpc.CallOption) (*mtproto.EncryptedFile, error) // media.uploadWallPaperFile owner_id:long file:InputFile mime_type:string admin:Bool = Document; MediaUploadWallPaperFile(ctx context.Context, in *TLMediaUploadWallPaperFile, opts ...grpc.CallOption) (*mtproto.Document, error) // media.uploadThemeFile flags:# owner_id:long file:InputFile thumb:flags.0?InputFile mime_type:string file_name:string = Document; MediaUploadThemeFile(ctx context.Context, in *TLMediaUploadThemeFile, opts ...grpc.CallOption) (*mtproto.Document, error) // media.uploadStickerFile flags:# owner_id:long file:InputFile thumb:flags.0?InputFile mime_type:string file_name:string document_attribute_sticker:DocumentAttribute = Document; MediaUploadStickerFile(ctx context.Context, in *TLMediaUploadStickerFile, opts ...grpc.CallOption) (*mtproto.Document, error) }
RPCMediaClient is the client API for RPCMedia service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRPCMediaClient ¶
func NewRPCMediaClient(cc *grpc.ClientConn) RPCMediaClient
type RPCMediaServer ¶
type RPCMediaServer interface { // media.uploadPhotoFile flags:# owner_id:long file:InputFile stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = Photo; MediaUploadPhotoFile(context.Context, *TLMediaUploadPhotoFile) (*mtproto.Photo, error) // media.uploadProfilePhotoFile flags:# owner_id:long file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double = Photo; MediaUploadProfilePhotoFile(context.Context, *TLMediaUploadProfilePhotoFile) (*mtproto.Photo, error) // media.getPhoto photo_id:long = Photo; MediaGetPhoto(context.Context, *TLMediaGetPhoto) (*mtproto.Photo, error) // media.getPhotoSizeList size_id:long = PhotoSizeList; MediaGetPhotoSizeList(context.Context, *TLMediaGetPhotoSizeList) (*PhotoSizeList, error) // media.getPhotoSizeListList id_list:Vector<long> = Vector<PhotoSizeList>; MediaGetPhotoSizeListList(context.Context, *TLMediaGetPhotoSizeListList) (*Vector_PhotoSizeList, error) // media.getVideoSizeList size_id:long = VideoSizeList; MediaGetVideoSizeList(context.Context, *TLMediaGetVideoSizeList) (*VideoSizeList, error) // media.uploadedDocumentMedia owner_id:long media:InputMedia = MessageMedia; MediaUploadedDocumentMedia(context.Context, *TLMediaUploadedDocumentMedia) (*mtproto.MessageMedia, error) // media.getDocument id:long = Document; MediaGetDocument(context.Context, *TLMediaGetDocument) (*mtproto.Document, error) // media.getDocumentList id_list:Vector<long> = Vector<Document>; MediaGetDocumentList(context.Context, *TLMediaGetDocumentList) (*Vector_Document, error) // media.uploadEncryptedFile owner_id:long file:InputEncryptedFile = EncryptedFile; MediaUploadEncryptedFile(context.Context, *TLMediaUploadEncryptedFile) (*mtproto.EncryptedFile, error) // media.getEncryptedFile id:long access_hash:long = EncryptedFile; MediaGetEncryptedFile(context.Context, *TLMediaGetEncryptedFile) (*mtproto.EncryptedFile, error) // media.uploadWallPaperFile owner_id:long file:InputFile mime_type:string admin:Bool = Document; MediaUploadWallPaperFile(context.Context, *TLMediaUploadWallPaperFile) (*mtproto.Document, error) // media.uploadThemeFile flags:# owner_id:long file:InputFile thumb:flags.0?InputFile mime_type:string file_name:string = Document; MediaUploadThemeFile(context.Context, *TLMediaUploadThemeFile) (*mtproto.Document, error) // media.uploadStickerFile flags:# owner_id:long file:InputFile thumb:flags.0?InputFile mime_type:string file_name:string document_attribute_sticker:DocumentAttribute = Document; MediaUploadStickerFile(context.Context, *TLMediaUploadStickerFile) (*mtproto.Document, error) }
RPCMediaServer is the server API for RPCMedia service.
type TLConstructor ¶
type TLConstructor int32
const ( CRC32_UNKNOWN TLConstructor = 0 CRC32_photoSizeList TLConstructor = 108083635 CRC32_videoSizeList TLConstructor = 953261042 CRC32_media_uploadPhotoFile TLConstructor = 1009453847 CRC32_media_uploadProfilePhotoFile TLConstructor = -1757466844 CRC32_media_getPhoto TLConstructor = 1702803563 CRC32_media_getPhotoSizeList TLConstructor = -1578401979 CRC32_media_getPhotoSizeListList TLConstructor = -77823776 CRC32_media_getVideoSizeList TLConstructor = -998862102 CRC32_media_uploadedDocumentMedia TLConstructor = 1331671148 CRC32_media_getDocument TLConstructor = 1072011085 CRC32_media_getDocumentList TLConstructor = -986721681 CRC32_media_uploadEncryptedFile TLConstructor = -1426012517 CRC32_media_getEncryptedFile TLConstructor = -60784431 CRC32_media_uploadWallPaperFile TLConstructor = -1661293058 CRC32_media_uploadThemeFile TLConstructor = 1122416736 CRC32_media_uploadStickerFile TLConstructor = -1397349139 )
func (TLConstructor) EnumDescriptor ¶
func (TLConstructor) EnumDescriptor() ([]byte, []int)
func (TLConstructor) String ¶
func (x TLConstructor) String() string
type TLMediaGetDocument ¶
type TLMediaGetDocument struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=media.TLConstructor" json:"constructor,omitempty"` Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
-------------------------------------------------------------------------------------------- media.getDocument id:long = Document;
func (*TLMediaGetDocument) CalcByteSize ¶
func (m *TLMediaGetDocument) CalcByteSize(layer int32) int
func (*TLMediaGetDocument) DebugString ¶
func (m *TLMediaGetDocument) DebugString() string
func (*TLMediaGetDocument) Decode ¶
func (m *TLMediaGetDocument) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLMediaGetDocument) Descriptor ¶
func (*TLMediaGetDocument) Descriptor() ([]byte, []int)
func (*TLMediaGetDocument) Encode ¶
func (m *TLMediaGetDocument) Encode(layer int32) []byte
func (*TLMediaGetDocument) GetConstructor ¶
func (m *TLMediaGetDocument) GetConstructor() TLConstructor
func (*TLMediaGetDocument) GetId ¶
func (m *TLMediaGetDocument) GetId() int64
func (*TLMediaGetDocument) GoString ¶
func (this *TLMediaGetDocument) GoString() string
func (*TLMediaGetDocument) Marshal ¶
func (m *TLMediaGetDocument) Marshal() (dAtA []byte, err error)
func (*TLMediaGetDocument) MarshalTo ¶
func (m *TLMediaGetDocument) MarshalTo(dAtA []byte) (int, error)
func (*TLMediaGetDocument) MarshalToSizedBuffer ¶
func (m *TLMediaGetDocument) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLMediaGetDocument) ProtoMessage ¶
func (*TLMediaGetDocument) ProtoMessage()
func (*TLMediaGetDocument) Reset ¶
func (m *TLMediaGetDocument) Reset()
func (*TLMediaGetDocument) Size ¶
func (m *TLMediaGetDocument) Size() (n int)
func (*TLMediaGetDocument) String ¶
func (m *TLMediaGetDocument) String() string
func (*TLMediaGetDocument) Unmarshal ¶
func (m *TLMediaGetDocument) Unmarshal(dAtA []byte) error
func (*TLMediaGetDocument) XXX_DiscardUnknown ¶
func (m *TLMediaGetDocument) XXX_DiscardUnknown()
func (*TLMediaGetDocument) XXX_Marshal ¶
func (m *TLMediaGetDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLMediaGetDocument) XXX_Merge ¶
func (m *TLMediaGetDocument) XXX_Merge(src proto.Message)
func (*TLMediaGetDocument) XXX_Size ¶
func (m *TLMediaGetDocument) XXX_Size() int
func (*TLMediaGetDocument) XXX_Unmarshal ¶
func (m *TLMediaGetDocument) XXX_Unmarshal(b []byte) error
type TLMediaGetDocumentList ¶
type TLMediaGetDocumentList struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=media.TLConstructor" json:"constructor,omitempty"` IdList []int64 `protobuf:"varint,3,rep,packed,name=id_list,json=idList,proto3" json:"id_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
-------------------------------------------------------------------------------------------- media.getDocumentList id_list:Vector<long> = Vector<Document>;
func (*TLMediaGetDocumentList) CalcByteSize ¶
func (m *TLMediaGetDocumentList) CalcByteSize(layer int32) int
func (*TLMediaGetDocumentList) DebugString ¶
func (m *TLMediaGetDocumentList) DebugString() string
func (*TLMediaGetDocumentList) Decode ¶
func (m *TLMediaGetDocumentList) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLMediaGetDocumentList) Descriptor ¶
func (*TLMediaGetDocumentList) Descriptor() ([]byte, []int)
func (*TLMediaGetDocumentList) Encode ¶
func (m *TLMediaGetDocumentList) Encode(layer int32) []byte
func (*TLMediaGetDocumentList) GetConstructor ¶
func (m *TLMediaGetDocumentList) GetConstructor() TLConstructor
func (*TLMediaGetDocumentList) GetIdList ¶
func (m *TLMediaGetDocumentList) GetIdList() []int64
func (*TLMediaGetDocumentList) GoString ¶
func (this *TLMediaGetDocumentList) GoString() string
func (*TLMediaGetDocumentList) Marshal ¶
func (m *TLMediaGetDocumentList) Marshal() (dAtA []byte, err error)
func (*TLMediaGetDocumentList) MarshalTo ¶
func (m *TLMediaGetDocumentList) MarshalTo(dAtA []byte) (int, error)
func (*TLMediaGetDocumentList) MarshalToSizedBuffer ¶
func (m *TLMediaGetDocumentList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLMediaGetDocumentList) ProtoMessage ¶
func (*TLMediaGetDocumentList) ProtoMessage()
func (*TLMediaGetDocumentList) Reset ¶
func (m *TLMediaGetDocumentList) Reset()
func (*TLMediaGetDocumentList) Size ¶
func (m *TLMediaGetDocumentList) Size() (n int)
func (*TLMediaGetDocumentList) String ¶
func (m *TLMediaGetDocumentList) String() string
func (*TLMediaGetDocumentList) Unmarshal ¶
func (m *TLMediaGetDocumentList) Unmarshal(dAtA []byte) error
func (*TLMediaGetDocumentList) XXX_DiscardUnknown ¶
func (m *TLMediaGetDocumentList) XXX_DiscardUnknown()
func (*TLMediaGetDocumentList) XXX_Marshal ¶
func (m *TLMediaGetDocumentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLMediaGetDocumentList) XXX_Merge ¶
func (m *TLMediaGetDocumentList) XXX_Merge(src proto.Message)
func (*TLMediaGetDocumentList) XXX_Size ¶
func (m *TLMediaGetDocumentList) XXX_Size() int
func (*TLMediaGetDocumentList) XXX_Unmarshal ¶
func (m *TLMediaGetDocumentList) XXX_Unmarshal(b []byte) error
type TLMediaGetEncryptedFile ¶
type TLMediaGetEncryptedFile struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=media.TLConstructor" json:"constructor,omitempty"` Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` AccessHash int64 `protobuf:"varint,4,opt,name=access_hash,json=accessHash,proto3" json:"access_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
-------------------------------------------------------------------------------------------- media.getEncryptedFile id:long access_hash:long = EncryptedFile;
func (*TLMediaGetEncryptedFile) CalcByteSize ¶
func (m *TLMediaGetEncryptedFile) CalcByteSize(layer int32) int
func (*TLMediaGetEncryptedFile) DebugString ¶
func (m *TLMediaGetEncryptedFile) DebugString() string
func (*TLMediaGetEncryptedFile) Decode ¶
func (m *TLMediaGetEncryptedFile) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLMediaGetEncryptedFile) Descriptor ¶
func (*TLMediaGetEncryptedFile) Descriptor() ([]byte, []int)
func (*TLMediaGetEncryptedFile) Encode ¶
func (m *TLMediaGetEncryptedFile) Encode(layer int32) []byte
func (*TLMediaGetEncryptedFile) GetAccessHash ¶
func (m *TLMediaGetEncryptedFile) GetAccessHash() int64
func (*TLMediaGetEncryptedFile) GetConstructor ¶
func (m *TLMediaGetEncryptedFile) GetConstructor() TLConstructor
func (*TLMediaGetEncryptedFile) GetId ¶
func (m *TLMediaGetEncryptedFile) GetId() int64
func (*TLMediaGetEncryptedFile) GoString ¶
func (this *TLMediaGetEncryptedFile) GoString() string
func (*TLMediaGetEncryptedFile) Marshal ¶
func (m *TLMediaGetEncryptedFile) Marshal() (dAtA []byte, err error)
func (*TLMediaGetEncryptedFile) MarshalTo ¶
func (m *TLMediaGetEncryptedFile) MarshalTo(dAtA []byte) (int, error)
func (*TLMediaGetEncryptedFile) MarshalToSizedBuffer ¶
func (m *TLMediaGetEncryptedFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLMediaGetEncryptedFile) ProtoMessage ¶
func (*TLMediaGetEncryptedFile) ProtoMessage()
func (*TLMediaGetEncryptedFile) Reset ¶
func (m *TLMediaGetEncryptedFile) Reset()
func (*TLMediaGetEncryptedFile) Size ¶
func (m *TLMediaGetEncryptedFile) Size() (n int)
func (*TLMediaGetEncryptedFile) String ¶
func (m *TLMediaGetEncryptedFile) String() string
func (*TLMediaGetEncryptedFile) Unmarshal ¶
func (m *TLMediaGetEncryptedFile) Unmarshal(dAtA []byte) error
func (*TLMediaGetEncryptedFile) XXX_DiscardUnknown ¶
func (m *TLMediaGetEncryptedFile) XXX_DiscardUnknown()
func (*TLMediaGetEncryptedFile) XXX_Marshal ¶
func (m *TLMediaGetEncryptedFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLMediaGetEncryptedFile) XXX_Merge ¶
func (m *TLMediaGetEncryptedFile) XXX_Merge(src proto.Message)
func (*TLMediaGetEncryptedFile) XXX_Size ¶
func (m *TLMediaGetEncryptedFile) XXX_Size() int
func (*TLMediaGetEncryptedFile) XXX_Unmarshal ¶
func (m *TLMediaGetEncryptedFile) XXX_Unmarshal(b []byte) error
type TLMediaGetPhoto ¶
type TLMediaGetPhoto struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=media.TLConstructor" json:"constructor,omitempty"` PhotoId int64 `protobuf:"varint,3,opt,name=photo_id,json=photoId,proto3" json:"photo_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
-------------------------------------------------------------------------------------------- media.getPhoto photo_id:long = Photo;
func (*TLMediaGetPhoto) CalcByteSize ¶
func (m *TLMediaGetPhoto) CalcByteSize(layer int32) int
func (*TLMediaGetPhoto) DebugString ¶
func (m *TLMediaGetPhoto) DebugString() string
func (*TLMediaGetPhoto) Descriptor ¶
func (*TLMediaGetPhoto) Descriptor() ([]byte, []int)
func (*TLMediaGetPhoto) Encode ¶
func (m *TLMediaGetPhoto) Encode(layer int32) []byte
func (*TLMediaGetPhoto) GetConstructor ¶
func (m *TLMediaGetPhoto) GetConstructor() TLConstructor
func (*TLMediaGetPhoto) GetPhotoId ¶
func (m *TLMediaGetPhoto) GetPhotoId() int64
func (*TLMediaGetPhoto) GoString ¶
func (this *TLMediaGetPhoto) GoString() string
func (*TLMediaGetPhoto) Marshal ¶
func (m *TLMediaGetPhoto) Marshal() (dAtA []byte, err error)
func (*TLMediaGetPhoto) MarshalToSizedBuffer ¶
func (m *TLMediaGetPhoto) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLMediaGetPhoto) ProtoMessage ¶
func (*TLMediaGetPhoto) ProtoMessage()
func (*TLMediaGetPhoto) Reset ¶
func (m *TLMediaGetPhoto) Reset()
func (*TLMediaGetPhoto) Size ¶
func (m *TLMediaGetPhoto) Size() (n int)
func (*TLMediaGetPhoto) String ¶
func (m *TLMediaGetPhoto) String() string
func (*TLMediaGetPhoto) Unmarshal ¶
func (m *TLMediaGetPhoto) Unmarshal(dAtA []byte) error
func (*TLMediaGetPhoto) XXX_DiscardUnknown ¶
func (m *TLMediaGetPhoto) XXX_DiscardUnknown()
func (*TLMediaGetPhoto) XXX_Marshal ¶
func (m *TLMediaGetPhoto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLMediaGetPhoto) XXX_Merge ¶
func (m *TLMediaGetPhoto) XXX_Merge(src proto.Message)
func (*TLMediaGetPhoto) XXX_Size ¶
func (m *TLMediaGetPhoto) XXX_Size() int
func (*TLMediaGetPhoto) XXX_Unmarshal ¶
func (m *TLMediaGetPhoto) XXX_Unmarshal(b []byte) error
type TLMediaGetPhotoSizeList ¶
type TLMediaGetPhotoSizeList struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=media.TLConstructor" json:"constructor,omitempty"` SizeId int64 `protobuf:"varint,3,opt,name=size_id,json=sizeId,proto3" json:"size_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
-------------------------------------------------------------------------------------------- media.getPhotoSizeList size_id:long = PhotoSizeList;
func (*TLMediaGetPhotoSizeList) CalcByteSize ¶
func (m *TLMediaGetPhotoSizeList) CalcByteSize(layer int32) int
func (*TLMediaGetPhotoSizeList) DebugString ¶
func (m *TLMediaGetPhotoSizeList) DebugString() string
func (*TLMediaGetPhotoSizeList) Decode ¶
func (m *TLMediaGetPhotoSizeList) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLMediaGetPhotoSizeList) Descriptor ¶
func (*TLMediaGetPhotoSizeList) Descriptor() ([]byte, []int)
func (*TLMediaGetPhotoSizeList) Encode ¶
func (m *TLMediaGetPhotoSizeList) Encode(layer int32) []byte
func (*TLMediaGetPhotoSizeList) GetConstructor ¶
func (m *TLMediaGetPhotoSizeList) GetConstructor() TLConstructor
func (*TLMediaGetPhotoSizeList) GetSizeId ¶
func (m *TLMediaGetPhotoSizeList) GetSizeId() int64
func (*TLMediaGetPhotoSizeList) GoString ¶
func (this *TLMediaGetPhotoSizeList) GoString() string
func (*TLMediaGetPhotoSizeList) Marshal ¶
func (m *TLMediaGetPhotoSizeList) Marshal() (dAtA []byte, err error)
func (*TLMediaGetPhotoSizeList) MarshalTo ¶
func (m *TLMediaGetPhotoSizeList) MarshalTo(dAtA []byte) (int, error)
func (*TLMediaGetPhotoSizeList) MarshalToSizedBuffer ¶
func (m *TLMediaGetPhotoSizeList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLMediaGetPhotoSizeList) ProtoMessage ¶
func (*TLMediaGetPhotoSizeList) ProtoMessage()
func (*TLMediaGetPhotoSizeList) Reset ¶
func (m *TLMediaGetPhotoSizeList) Reset()
func (*TLMediaGetPhotoSizeList) Size ¶
func (m *TLMediaGetPhotoSizeList) Size() (n int)
func (*TLMediaGetPhotoSizeList) String ¶
func (m *TLMediaGetPhotoSizeList) String() string
func (*TLMediaGetPhotoSizeList) Unmarshal ¶
func (m *TLMediaGetPhotoSizeList) Unmarshal(dAtA []byte) error
func (*TLMediaGetPhotoSizeList) XXX_DiscardUnknown ¶
func (m *TLMediaGetPhotoSizeList) XXX_DiscardUnknown()
func (*TLMediaGetPhotoSizeList) XXX_Marshal ¶
func (m *TLMediaGetPhotoSizeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLMediaGetPhotoSizeList) XXX_Merge ¶
func (m *TLMediaGetPhotoSizeList) XXX_Merge(src proto.Message)
func (*TLMediaGetPhotoSizeList) XXX_Size ¶
func (m *TLMediaGetPhotoSizeList) XXX_Size() int
func (*TLMediaGetPhotoSizeList) XXX_Unmarshal ¶
func (m *TLMediaGetPhotoSizeList) XXX_Unmarshal(b []byte) error
type TLMediaGetPhotoSizeListList ¶
type TLMediaGetPhotoSizeListList struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=media.TLConstructor" json:"constructor,omitempty"` IdList []int64 `protobuf:"varint,3,rep,packed,name=id_list,json=idList,proto3" json:"id_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
-------------------------------------------------------------------------------------------- media.getPhotoSizeListList id_list:Vector<long> = Vector<PhotoSizeList>;
func (*TLMediaGetPhotoSizeListList) CalcByteSize ¶
func (m *TLMediaGetPhotoSizeListList) CalcByteSize(layer int32) int
func (*TLMediaGetPhotoSizeListList) DebugString ¶
func (m *TLMediaGetPhotoSizeListList) DebugString() string
func (*TLMediaGetPhotoSizeListList) Decode ¶
func (m *TLMediaGetPhotoSizeListList) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLMediaGetPhotoSizeListList) Descriptor ¶
func (*TLMediaGetPhotoSizeListList) Descriptor() ([]byte, []int)
func (*TLMediaGetPhotoSizeListList) Encode ¶
func (m *TLMediaGetPhotoSizeListList) Encode(layer int32) []byte
func (*TLMediaGetPhotoSizeListList) GetConstructor ¶
func (m *TLMediaGetPhotoSizeListList) GetConstructor() TLConstructor
func (*TLMediaGetPhotoSizeListList) GetIdList ¶
func (m *TLMediaGetPhotoSizeListList) GetIdList() []int64
func (*TLMediaGetPhotoSizeListList) GoString ¶
func (this *TLMediaGetPhotoSizeListList) GoString() string
func (*TLMediaGetPhotoSizeListList) Marshal ¶
func (m *TLMediaGetPhotoSizeListList) Marshal() (dAtA []byte, err error)
func (*TLMediaGetPhotoSizeListList) MarshalTo ¶
func (m *TLMediaGetPhotoSizeListList) MarshalTo(dAtA []byte) (int, error)
func (*TLMediaGetPhotoSizeListList) MarshalToSizedBuffer ¶
func (m *TLMediaGetPhotoSizeListList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLMediaGetPhotoSizeListList) ProtoMessage ¶
func (*TLMediaGetPhotoSizeListList) ProtoMessage()
func (*TLMediaGetPhotoSizeListList) Reset ¶
func (m *TLMediaGetPhotoSizeListList) Reset()
func (*TLMediaGetPhotoSizeListList) Size ¶
func (m *TLMediaGetPhotoSizeListList) Size() (n int)
func (*TLMediaGetPhotoSizeListList) String ¶
func (m *TLMediaGetPhotoSizeListList) String() string
func (*TLMediaGetPhotoSizeListList) Unmarshal ¶
func (m *TLMediaGetPhotoSizeListList) Unmarshal(dAtA []byte) error
func (*TLMediaGetPhotoSizeListList) XXX_DiscardUnknown ¶
func (m *TLMediaGetPhotoSizeListList) XXX_DiscardUnknown()
func (*TLMediaGetPhotoSizeListList) XXX_Marshal ¶
func (m *TLMediaGetPhotoSizeListList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLMediaGetPhotoSizeListList) XXX_Merge ¶
func (m *TLMediaGetPhotoSizeListList) XXX_Merge(src proto.Message)
func (*TLMediaGetPhotoSizeListList) XXX_Size ¶
func (m *TLMediaGetPhotoSizeListList) XXX_Size() int
func (*TLMediaGetPhotoSizeListList) XXX_Unmarshal ¶
func (m *TLMediaGetPhotoSizeListList) XXX_Unmarshal(b []byte) error
type TLMediaGetVideoSizeList ¶
type TLMediaGetVideoSizeList struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=media.TLConstructor" json:"constructor,omitempty"` SizeId int64 `protobuf:"varint,3,opt,name=size_id,json=sizeId,proto3" json:"size_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
-------------------------------------------------------------------------------------------- media.getVideoSizeList size_id:long = VideoSizeList;
func (*TLMediaGetVideoSizeList) CalcByteSize ¶
func (m *TLMediaGetVideoSizeList) CalcByteSize(layer int32) int
func (*TLMediaGetVideoSizeList) DebugString ¶
func (m *TLMediaGetVideoSizeList) DebugString() string
func (*TLMediaGetVideoSizeList) Decode ¶
func (m *TLMediaGetVideoSizeList) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLMediaGetVideoSizeList) Descriptor ¶
func (*TLMediaGetVideoSizeList) Descriptor() ([]byte, []int)
func (*TLMediaGetVideoSizeList) Encode ¶
func (m *TLMediaGetVideoSizeList) Encode(layer int32) []byte
func (*TLMediaGetVideoSizeList) GetConstructor ¶
func (m *TLMediaGetVideoSizeList) GetConstructor() TLConstructor
func (*TLMediaGetVideoSizeList) GetSizeId ¶
func (m *TLMediaGetVideoSizeList) GetSizeId() int64
func (*TLMediaGetVideoSizeList) GoString ¶
func (this *TLMediaGetVideoSizeList) GoString() string
func (*TLMediaGetVideoSizeList) Marshal ¶
func (m *TLMediaGetVideoSizeList) Marshal() (dAtA []byte, err error)
func (*TLMediaGetVideoSizeList) MarshalTo ¶
func (m *TLMediaGetVideoSizeList) MarshalTo(dAtA []byte) (int, error)
func (*TLMediaGetVideoSizeList) MarshalToSizedBuffer ¶
func (m *TLMediaGetVideoSizeList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLMediaGetVideoSizeList) ProtoMessage ¶
func (*TLMediaGetVideoSizeList) ProtoMessage()
func (*TLMediaGetVideoSizeList) Reset ¶
func (m *TLMediaGetVideoSizeList) Reset()
func (*TLMediaGetVideoSizeList) Size ¶
func (m *TLMediaGetVideoSizeList) Size() (n int)
func (*TLMediaGetVideoSizeList) String ¶
func (m *TLMediaGetVideoSizeList) String() string
func (*TLMediaGetVideoSizeList) Unmarshal ¶
func (m *TLMediaGetVideoSizeList) Unmarshal(dAtA []byte) error
func (*TLMediaGetVideoSizeList) XXX_DiscardUnknown ¶
func (m *TLMediaGetVideoSizeList) XXX_DiscardUnknown()
func (*TLMediaGetVideoSizeList) XXX_Marshal ¶
func (m *TLMediaGetVideoSizeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLMediaGetVideoSizeList) XXX_Merge ¶
func (m *TLMediaGetVideoSizeList) XXX_Merge(src proto.Message)
func (*TLMediaGetVideoSizeList) XXX_Size ¶
func (m *TLMediaGetVideoSizeList) XXX_Size() int
func (*TLMediaGetVideoSizeList) XXX_Unmarshal ¶
func (m *TLMediaGetVideoSizeList) XXX_Unmarshal(b []byte) error
type TLMediaUploadEncryptedFile ¶
type TLMediaUploadEncryptedFile struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=media.TLConstructor" json:"constructor,omitempty"` OwnerId int64 `protobuf:"varint,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,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:"-"` }
-------------------------------------------------------------------------------------------- media.uploadEncryptedFile owner_id:long file:InputEncryptedFile = EncryptedFile;
func (*TLMediaUploadEncryptedFile) CalcByteSize ¶
func (m *TLMediaUploadEncryptedFile) CalcByteSize(layer int32) int
func (*TLMediaUploadEncryptedFile) DebugString ¶
func (m *TLMediaUploadEncryptedFile) DebugString() string
func (*TLMediaUploadEncryptedFile) Decode ¶
func (m *TLMediaUploadEncryptedFile) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLMediaUploadEncryptedFile) Descriptor ¶
func (*TLMediaUploadEncryptedFile) Descriptor() ([]byte, []int)
func (*TLMediaUploadEncryptedFile) Encode ¶
func (m *TLMediaUploadEncryptedFile) Encode(layer int32) []byte
func (*TLMediaUploadEncryptedFile) GetConstructor ¶
func (m *TLMediaUploadEncryptedFile) GetConstructor() TLConstructor
func (*TLMediaUploadEncryptedFile) GetFile ¶
func (m *TLMediaUploadEncryptedFile) GetFile() *mtproto.InputEncryptedFile
func (*TLMediaUploadEncryptedFile) GetOwnerId ¶
func (m *TLMediaUploadEncryptedFile) GetOwnerId() int64
func (*TLMediaUploadEncryptedFile) GoString ¶
func (this *TLMediaUploadEncryptedFile) GoString() string
func (*TLMediaUploadEncryptedFile) Marshal ¶
func (m *TLMediaUploadEncryptedFile) Marshal() (dAtA []byte, err error)
func (*TLMediaUploadEncryptedFile) MarshalTo ¶
func (m *TLMediaUploadEncryptedFile) MarshalTo(dAtA []byte) (int, error)
func (*TLMediaUploadEncryptedFile) MarshalToSizedBuffer ¶
func (m *TLMediaUploadEncryptedFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLMediaUploadEncryptedFile) ProtoMessage ¶
func (*TLMediaUploadEncryptedFile) ProtoMessage()
func (*TLMediaUploadEncryptedFile) Reset ¶
func (m *TLMediaUploadEncryptedFile) Reset()
func (*TLMediaUploadEncryptedFile) Size ¶
func (m *TLMediaUploadEncryptedFile) Size() (n int)
func (*TLMediaUploadEncryptedFile) String ¶
func (m *TLMediaUploadEncryptedFile) String() string
func (*TLMediaUploadEncryptedFile) Unmarshal ¶
func (m *TLMediaUploadEncryptedFile) Unmarshal(dAtA []byte) error
func (*TLMediaUploadEncryptedFile) XXX_DiscardUnknown ¶
func (m *TLMediaUploadEncryptedFile) XXX_DiscardUnknown()
func (*TLMediaUploadEncryptedFile) XXX_Marshal ¶
func (m *TLMediaUploadEncryptedFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLMediaUploadEncryptedFile) XXX_Merge ¶
func (m *TLMediaUploadEncryptedFile) XXX_Merge(src proto.Message)
func (*TLMediaUploadEncryptedFile) XXX_Size ¶
func (m *TLMediaUploadEncryptedFile) XXX_Size() int
func (*TLMediaUploadEncryptedFile) XXX_Unmarshal ¶
func (m *TLMediaUploadEncryptedFile) XXX_Unmarshal(b []byte) error
type TLMediaUploadPhotoFile ¶
type TLMediaUploadPhotoFile struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=media.TLConstructor" json:"constructor,omitempty"` OwnerId int64 `protobuf:"varint,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` File *mtproto.InputFile `protobuf:"bytes,4,opt,name=file,proto3" json:"file,omitempty"` Stickers []*mtproto.InputDocument `protobuf:"bytes,5,rep,name=stickers,proto3" json:"stickers,omitempty"` TtlSeconds *types.Int32Value `protobuf:"bytes,6,opt,name=ttl_seconds,json=ttlSeconds,proto3" json:"ttl_seconds,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
-------------------------------------------------------------------------------------------- media.uploadPhotoFile flags:# owner_id:long file:InputFile stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = Photo;
func (*TLMediaUploadPhotoFile) CalcByteSize ¶
func (m *TLMediaUploadPhotoFile) CalcByteSize(layer int32) int
func (*TLMediaUploadPhotoFile) DebugString ¶
func (m *TLMediaUploadPhotoFile) DebugString() string
func (*TLMediaUploadPhotoFile) Decode ¶
func (m *TLMediaUploadPhotoFile) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLMediaUploadPhotoFile) Descriptor ¶
func (*TLMediaUploadPhotoFile) Descriptor() ([]byte, []int)
func (*TLMediaUploadPhotoFile) Encode ¶
func (m *TLMediaUploadPhotoFile) Encode(layer int32) []byte
func (*TLMediaUploadPhotoFile) GetConstructor ¶
func (m *TLMediaUploadPhotoFile) GetConstructor() TLConstructor
func (*TLMediaUploadPhotoFile) GetFile ¶
func (m *TLMediaUploadPhotoFile) GetFile() *mtproto.InputFile
func (*TLMediaUploadPhotoFile) GetOwnerId ¶
func (m *TLMediaUploadPhotoFile) GetOwnerId() int64
func (*TLMediaUploadPhotoFile) GetStickers ¶
func (m *TLMediaUploadPhotoFile) GetStickers() []*mtproto.InputDocument
func (*TLMediaUploadPhotoFile) GetTtlSeconds ¶
func (m *TLMediaUploadPhotoFile) GetTtlSeconds() *types.Int32Value
func (*TLMediaUploadPhotoFile) GoString ¶
func (this *TLMediaUploadPhotoFile) GoString() string
func (*TLMediaUploadPhotoFile) Marshal ¶
func (m *TLMediaUploadPhotoFile) Marshal() (dAtA []byte, err error)
func (*TLMediaUploadPhotoFile) MarshalTo ¶
func (m *TLMediaUploadPhotoFile) MarshalTo(dAtA []byte) (int, error)
func (*TLMediaUploadPhotoFile) MarshalToSizedBuffer ¶
func (m *TLMediaUploadPhotoFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLMediaUploadPhotoFile) ProtoMessage ¶
func (*TLMediaUploadPhotoFile) ProtoMessage()
func (*TLMediaUploadPhotoFile) Reset ¶
func (m *TLMediaUploadPhotoFile) Reset()
func (*TLMediaUploadPhotoFile) Size ¶
func (m *TLMediaUploadPhotoFile) Size() (n int)
func (*TLMediaUploadPhotoFile) String ¶
func (m *TLMediaUploadPhotoFile) String() string
func (*TLMediaUploadPhotoFile) Unmarshal ¶
func (m *TLMediaUploadPhotoFile) Unmarshal(dAtA []byte) error
func (*TLMediaUploadPhotoFile) XXX_DiscardUnknown ¶
func (m *TLMediaUploadPhotoFile) XXX_DiscardUnknown()
func (*TLMediaUploadPhotoFile) XXX_Marshal ¶
func (m *TLMediaUploadPhotoFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLMediaUploadPhotoFile) XXX_Merge ¶
func (m *TLMediaUploadPhotoFile) XXX_Merge(src proto.Message)
func (*TLMediaUploadPhotoFile) XXX_Size ¶
func (m *TLMediaUploadPhotoFile) XXX_Size() int
func (*TLMediaUploadPhotoFile) XXX_Unmarshal ¶
func (m *TLMediaUploadPhotoFile) XXX_Unmarshal(b []byte) error
type TLMediaUploadProfilePhotoFile ¶
type TLMediaUploadProfilePhotoFile struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=media.TLConstructor" json:"constructor,omitempty"` OwnerId int64 `protobuf:"varint,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,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:"-"` }
-------------------------------------------------------------------------------------------- media.uploadProfilePhotoFile flags:# owner_id:long file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double = Photo;
func (*TLMediaUploadProfilePhotoFile) CalcByteSize ¶
func (m *TLMediaUploadProfilePhotoFile) CalcByteSize(layer int32) int
func (*TLMediaUploadProfilePhotoFile) DebugString ¶
func (m *TLMediaUploadProfilePhotoFile) DebugString() string
func (*TLMediaUploadProfilePhotoFile) Decode ¶
func (m *TLMediaUploadProfilePhotoFile) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLMediaUploadProfilePhotoFile) Descriptor ¶
func (*TLMediaUploadProfilePhotoFile) Descriptor() ([]byte, []int)
func (*TLMediaUploadProfilePhotoFile) Encode ¶
func (m *TLMediaUploadProfilePhotoFile) Encode(layer int32) []byte
func (*TLMediaUploadProfilePhotoFile) GetConstructor ¶
func (m *TLMediaUploadProfilePhotoFile) GetConstructor() TLConstructor
func (*TLMediaUploadProfilePhotoFile) GetFile ¶
func (m *TLMediaUploadProfilePhotoFile) GetFile() *mtproto.InputFile
func (*TLMediaUploadProfilePhotoFile) GetOwnerId ¶
func (m *TLMediaUploadProfilePhotoFile) GetOwnerId() int64
func (*TLMediaUploadProfilePhotoFile) GetVideo ¶
func (m *TLMediaUploadProfilePhotoFile) GetVideo() *mtproto.InputFile
func (*TLMediaUploadProfilePhotoFile) GetVideoStartTs ¶
func (m *TLMediaUploadProfilePhotoFile) GetVideoStartTs() *types.DoubleValue
func (*TLMediaUploadProfilePhotoFile) GoString ¶
func (this *TLMediaUploadProfilePhotoFile) GoString() string
func (*TLMediaUploadProfilePhotoFile) Marshal ¶
func (m *TLMediaUploadProfilePhotoFile) Marshal() (dAtA []byte, err error)
func (*TLMediaUploadProfilePhotoFile) MarshalTo ¶
func (m *TLMediaUploadProfilePhotoFile) MarshalTo(dAtA []byte) (int, error)
func (*TLMediaUploadProfilePhotoFile) MarshalToSizedBuffer ¶
func (m *TLMediaUploadProfilePhotoFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLMediaUploadProfilePhotoFile) ProtoMessage ¶
func (*TLMediaUploadProfilePhotoFile) ProtoMessage()
func (*TLMediaUploadProfilePhotoFile) Reset ¶
func (m *TLMediaUploadProfilePhotoFile) Reset()
func (*TLMediaUploadProfilePhotoFile) Size ¶
func (m *TLMediaUploadProfilePhotoFile) Size() (n int)
func (*TLMediaUploadProfilePhotoFile) String ¶
func (m *TLMediaUploadProfilePhotoFile) String() string
func (*TLMediaUploadProfilePhotoFile) Unmarshal ¶
func (m *TLMediaUploadProfilePhotoFile) Unmarshal(dAtA []byte) error
func (*TLMediaUploadProfilePhotoFile) XXX_DiscardUnknown ¶
func (m *TLMediaUploadProfilePhotoFile) XXX_DiscardUnknown()
func (*TLMediaUploadProfilePhotoFile) XXX_Marshal ¶
func (m *TLMediaUploadProfilePhotoFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLMediaUploadProfilePhotoFile) XXX_Merge ¶
func (m *TLMediaUploadProfilePhotoFile) XXX_Merge(src proto.Message)
func (*TLMediaUploadProfilePhotoFile) XXX_Size ¶
func (m *TLMediaUploadProfilePhotoFile) XXX_Size() int
func (*TLMediaUploadProfilePhotoFile) XXX_Unmarshal ¶
func (m *TLMediaUploadProfilePhotoFile) XXX_Unmarshal(b []byte) error
type TLMediaUploadStickerFile ¶
type TLMediaUploadStickerFile struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=media.TLConstructor" json:"constructor,omitempty"` OwnerId int64 `protobuf:"varint,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,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"` DocumentAttributeSticker *mtproto.DocumentAttribute `` /* 135-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
-------------------------------------------------------------------------------------------- media.uploadStickerFile flags:# owner_id:long file:InputFile thumb:flags.0?InputFile mime_type:string file_name:string document_attribute_sticker:DocumentAttribute = Document;
func (*TLMediaUploadStickerFile) CalcByteSize ¶
func (m *TLMediaUploadStickerFile) CalcByteSize(layer int32) int
func (*TLMediaUploadStickerFile) DebugString ¶
func (m *TLMediaUploadStickerFile) DebugString() string
func (*TLMediaUploadStickerFile) Decode ¶
func (m *TLMediaUploadStickerFile) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLMediaUploadStickerFile) Descriptor ¶
func (*TLMediaUploadStickerFile) Descriptor() ([]byte, []int)
func (*TLMediaUploadStickerFile) Encode ¶
func (m *TLMediaUploadStickerFile) Encode(layer int32) []byte
func (*TLMediaUploadStickerFile) GetConstructor ¶
func (m *TLMediaUploadStickerFile) GetConstructor() TLConstructor
func (*TLMediaUploadStickerFile) GetDocumentAttributeSticker ¶
func (m *TLMediaUploadStickerFile) GetDocumentAttributeSticker() *mtproto.DocumentAttribute
func (*TLMediaUploadStickerFile) GetFile ¶
func (m *TLMediaUploadStickerFile) GetFile() *mtproto.InputFile
func (*TLMediaUploadStickerFile) GetFileName ¶
func (m *TLMediaUploadStickerFile) GetFileName() string
func (*TLMediaUploadStickerFile) GetMimeType ¶
func (m *TLMediaUploadStickerFile) GetMimeType() string
func (*TLMediaUploadStickerFile) GetOwnerId ¶
func (m *TLMediaUploadStickerFile) GetOwnerId() int64
func (*TLMediaUploadStickerFile) GetThumb ¶
func (m *TLMediaUploadStickerFile) GetThumb() *mtproto.InputFile
func (*TLMediaUploadStickerFile) GoString ¶
func (this *TLMediaUploadStickerFile) GoString() string
func (*TLMediaUploadStickerFile) Marshal ¶
func (m *TLMediaUploadStickerFile) Marshal() (dAtA []byte, err error)
func (*TLMediaUploadStickerFile) MarshalTo ¶
func (m *TLMediaUploadStickerFile) MarshalTo(dAtA []byte) (int, error)
func (*TLMediaUploadStickerFile) MarshalToSizedBuffer ¶
func (m *TLMediaUploadStickerFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLMediaUploadStickerFile) ProtoMessage ¶
func (*TLMediaUploadStickerFile) ProtoMessage()
func (*TLMediaUploadStickerFile) Reset ¶
func (m *TLMediaUploadStickerFile) Reset()
func (*TLMediaUploadStickerFile) Size ¶
func (m *TLMediaUploadStickerFile) Size() (n int)
func (*TLMediaUploadStickerFile) String ¶
func (m *TLMediaUploadStickerFile) String() string
func (*TLMediaUploadStickerFile) Unmarshal ¶
func (m *TLMediaUploadStickerFile) Unmarshal(dAtA []byte) error
func (*TLMediaUploadStickerFile) XXX_DiscardUnknown ¶
func (m *TLMediaUploadStickerFile) XXX_DiscardUnknown()
func (*TLMediaUploadStickerFile) XXX_Marshal ¶
func (m *TLMediaUploadStickerFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLMediaUploadStickerFile) XXX_Merge ¶
func (m *TLMediaUploadStickerFile) XXX_Merge(src proto.Message)
func (*TLMediaUploadStickerFile) XXX_Size ¶
func (m *TLMediaUploadStickerFile) XXX_Size() int
func (*TLMediaUploadStickerFile) XXX_Unmarshal ¶
func (m *TLMediaUploadStickerFile) XXX_Unmarshal(b []byte) error
type TLMediaUploadThemeFile ¶
type TLMediaUploadThemeFile struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=media.TLConstructor" json:"constructor,omitempty"` OwnerId int64 `protobuf:"varint,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,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:"-"` }
-------------------------------------------------------------------------------------------- media.uploadThemeFile flags:# owner_id:long file:InputFile thumb:flags.0?InputFile mime_type:string file_name:string = Document;
func (*TLMediaUploadThemeFile) CalcByteSize ¶
func (m *TLMediaUploadThemeFile) CalcByteSize(layer int32) int
func (*TLMediaUploadThemeFile) DebugString ¶
func (m *TLMediaUploadThemeFile) DebugString() string
func (*TLMediaUploadThemeFile) Decode ¶
func (m *TLMediaUploadThemeFile) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLMediaUploadThemeFile) Descriptor ¶
func (*TLMediaUploadThemeFile) Descriptor() ([]byte, []int)
func (*TLMediaUploadThemeFile) Encode ¶
func (m *TLMediaUploadThemeFile) Encode(layer int32) []byte
func (*TLMediaUploadThemeFile) GetConstructor ¶
func (m *TLMediaUploadThemeFile) GetConstructor() TLConstructor
func (*TLMediaUploadThemeFile) GetFile ¶
func (m *TLMediaUploadThemeFile) GetFile() *mtproto.InputFile
func (*TLMediaUploadThemeFile) GetFileName ¶
func (m *TLMediaUploadThemeFile) GetFileName() string
func (*TLMediaUploadThemeFile) GetMimeType ¶
func (m *TLMediaUploadThemeFile) GetMimeType() string
func (*TLMediaUploadThemeFile) GetOwnerId ¶
func (m *TLMediaUploadThemeFile) GetOwnerId() int64
func (*TLMediaUploadThemeFile) GetThumb ¶
func (m *TLMediaUploadThemeFile) GetThumb() *mtproto.InputFile
func (*TLMediaUploadThemeFile) GoString ¶
func (this *TLMediaUploadThemeFile) GoString() string
func (*TLMediaUploadThemeFile) Marshal ¶
func (m *TLMediaUploadThemeFile) Marshal() (dAtA []byte, err error)
func (*TLMediaUploadThemeFile) MarshalTo ¶
func (m *TLMediaUploadThemeFile) MarshalTo(dAtA []byte) (int, error)
func (*TLMediaUploadThemeFile) MarshalToSizedBuffer ¶
func (m *TLMediaUploadThemeFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLMediaUploadThemeFile) ProtoMessage ¶
func (*TLMediaUploadThemeFile) ProtoMessage()
func (*TLMediaUploadThemeFile) Reset ¶
func (m *TLMediaUploadThemeFile) Reset()
func (*TLMediaUploadThemeFile) Size ¶
func (m *TLMediaUploadThemeFile) Size() (n int)
func (*TLMediaUploadThemeFile) String ¶
func (m *TLMediaUploadThemeFile) String() string
func (*TLMediaUploadThemeFile) Unmarshal ¶
func (m *TLMediaUploadThemeFile) Unmarshal(dAtA []byte) error
func (*TLMediaUploadThemeFile) XXX_DiscardUnknown ¶
func (m *TLMediaUploadThemeFile) XXX_DiscardUnknown()
func (*TLMediaUploadThemeFile) XXX_Marshal ¶
func (m *TLMediaUploadThemeFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLMediaUploadThemeFile) XXX_Merge ¶
func (m *TLMediaUploadThemeFile) XXX_Merge(src proto.Message)
func (*TLMediaUploadThemeFile) XXX_Size ¶
func (m *TLMediaUploadThemeFile) XXX_Size() int
func (*TLMediaUploadThemeFile) XXX_Unmarshal ¶
func (m *TLMediaUploadThemeFile) XXX_Unmarshal(b []byte) error
type TLMediaUploadWallPaperFile ¶
type TLMediaUploadWallPaperFile struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=media.TLConstructor" json:"constructor,omitempty"` OwnerId int64 `protobuf:"varint,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,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:"-"` }
-------------------------------------------------------------------------------------------- media.uploadWallPaperFile owner_id:long file:InputFile mime_type:string admin:Bool = Document;
func (*TLMediaUploadWallPaperFile) CalcByteSize ¶
func (m *TLMediaUploadWallPaperFile) CalcByteSize(layer int32) int
func (*TLMediaUploadWallPaperFile) DebugString ¶
func (m *TLMediaUploadWallPaperFile) DebugString() string
func (*TLMediaUploadWallPaperFile) Decode ¶
func (m *TLMediaUploadWallPaperFile) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLMediaUploadWallPaperFile) Descriptor ¶
func (*TLMediaUploadWallPaperFile) Descriptor() ([]byte, []int)
func (*TLMediaUploadWallPaperFile) Encode ¶
func (m *TLMediaUploadWallPaperFile) Encode(layer int32) []byte
func (*TLMediaUploadWallPaperFile) GetAdmin ¶
func (m *TLMediaUploadWallPaperFile) GetAdmin() *mtproto.Bool
func (*TLMediaUploadWallPaperFile) GetConstructor ¶
func (m *TLMediaUploadWallPaperFile) GetConstructor() TLConstructor
func (*TLMediaUploadWallPaperFile) GetFile ¶
func (m *TLMediaUploadWallPaperFile) GetFile() *mtproto.InputFile
func (*TLMediaUploadWallPaperFile) GetMimeType ¶
func (m *TLMediaUploadWallPaperFile) GetMimeType() string
func (*TLMediaUploadWallPaperFile) GetOwnerId ¶
func (m *TLMediaUploadWallPaperFile) GetOwnerId() int64
func (*TLMediaUploadWallPaperFile) GoString ¶
func (this *TLMediaUploadWallPaperFile) GoString() string
func (*TLMediaUploadWallPaperFile) Marshal ¶
func (m *TLMediaUploadWallPaperFile) Marshal() (dAtA []byte, err error)
func (*TLMediaUploadWallPaperFile) MarshalTo ¶
func (m *TLMediaUploadWallPaperFile) MarshalTo(dAtA []byte) (int, error)
func (*TLMediaUploadWallPaperFile) MarshalToSizedBuffer ¶
func (m *TLMediaUploadWallPaperFile) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLMediaUploadWallPaperFile) ProtoMessage ¶
func (*TLMediaUploadWallPaperFile) ProtoMessage()
func (*TLMediaUploadWallPaperFile) Reset ¶
func (m *TLMediaUploadWallPaperFile) Reset()
func (*TLMediaUploadWallPaperFile) Size ¶
func (m *TLMediaUploadWallPaperFile) Size() (n int)
func (*TLMediaUploadWallPaperFile) String ¶
func (m *TLMediaUploadWallPaperFile) String() string
func (*TLMediaUploadWallPaperFile) Unmarshal ¶
func (m *TLMediaUploadWallPaperFile) Unmarshal(dAtA []byte) error
func (*TLMediaUploadWallPaperFile) XXX_DiscardUnknown ¶
func (m *TLMediaUploadWallPaperFile) XXX_DiscardUnknown()
func (*TLMediaUploadWallPaperFile) XXX_Marshal ¶
func (m *TLMediaUploadWallPaperFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLMediaUploadWallPaperFile) XXX_Merge ¶
func (m *TLMediaUploadWallPaperFile) XXX_Merge(src proto.Message)
func (*TLMediaUploadWallPaperFile) XXX_Size ¶
func (m *TLMediaUploadWallPaperFile) XXX_Size() int
func (*TLMediaUploadWallPaperFile) XXX_Unmarshal ¶
func (m *TLMediaUploadWallPaperFile) XXX_Unmarshal(b []byte) error
type TLMediaUploadedDocumentMedia ¶
type TLMediaUploadedDocumentMedia struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=media.TLConstructor" json:"constructor,omitempty"` OwnerId int64 `protobuf:"varint,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,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:"-"` }
-------------------------------------------------------------------------------------------- media.uploadedDocumentMedia owner_id:long media:InputMedia = MessageMedia;
func (*TLMediaUploadedDocumentMedia) CalcByteSize ¶
func (m *TLMediaUploadedDocumentMedia) CalcByteSize(layer int32) int
func (*TLMediaUploadedDocumentMedia) DebugString ¶
func (m *TLMediaUploadedDocumentMedia) DebugString() string
func (*TLMediaUploadedDocumentMedia) Decode ¶
func (m *TLMediaUploadedDocumentMedia) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLMediaUploadedDocumentMedia) Descriptor ¶
func (*TLMediaUploadedDocumentMedia) Descriptor() ([]byte, []int)
func (*TLMediaUploadedDocumentMedia) Encode ¶
func (m *TLMediaUploadedDocumentMedia) Encode(layer int32) []byte
func (*TLMediaUploadedDocumentMedia) GetConstructor ¶
func (m *TLMediaUploadedDocumentMedia) GetConstructor() TLConstructor
func (*TLMediaUploadedDocumentMedia) GetMedia ¶
func (m *TLMediaUploadedDocumentMedia) GetMedia() *mtproto.InputMedia
func (*TLMediaUploadedDocumentMedia) GetOwnerId ¶
func (m *TLMediaUploadedDocumentMedia) GetOwnerId() int64
func (*TLMediaUploadedDocumentMedia) GoString ¶
func (this *TLMediaUploadedDocumentMedia) GoString() string
func (*TLMediaUploadedDocumentMedia) Marshal ¶
func (m *TLMediaUploadedDocumentMedia) Marshal() (dAtA []byte, err error)
func (*TLMediaUploadedDocumentMedia) MarshalTo ¶
func (m *TLMediaUploadedDocumentMedia) MarshalTo(dAtA []byte) (int, error)
func (*TLMediaUploadedDocumentMedia) MarshalToSizedBuffer ¶
func (m *TLMediaUploadedDocumentMedia) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLMediaUploadedDocumentMedia) ProtoMessage ¶
func (*TLMediaUploadedDocumentMedia) ProtoMessage()
func (*TLMediaUploadedDocumentMedia) Reset ¶
func (m *TLMediaUploadedDocumentMedia) Reset()
func (*TLMediaUploadedDocumentMedia) Size ¶
func (m *TLMediaUploadedDocumentMedia) Size() (n int)
func (*TLMediaUploadedDocumentMedia) String ¶
func (m *TLMediaUploadedDocumentMedia) String() string
func (*TLMediaUploadedDocumentMedia) Unmarshal ¶
func (m *TLMediaUploadedDocumentMedia) Unmarshal(dAtA []byte) error
func (*TLMediaUploadedDocumentMedia) XXX_DiscardUnknown ¶
func (m *TLMediaUploadedDocumentMedia) XXX_DiscardUnknown()
func (*TLMediaUploadedDocumentMedia) XXX_Marshal ¶
func (m *TLMediaUploadedDocumentMedia) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLMediaUploadedDocumentMedia) XXX_Merge ¶
func (m *TLMediaUploadedDocumentMedia) XXX_Merge(src proto.Message)
func (*TLMediaUploadedDocumentMedia) XXX_Size ¶
func (m *TLMediaUploadedDocumentMedia) XXX_Size() int
func (*TLMediaUploadedDocumentMedia) XXX_Unmarshal ¶
func (m *TLMediaUploadedDocumentMedia) XXX_Unmarshal(b []byte) error
type TLPhotoSizeList ¶
type TLPhotoSizeList struct { Data2 *PhotoSizeList `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
photoSizeList size_id:long sizes:Vector<PhotoSize> dc_id:int = PhotoSizeList;
func MakeTLPhotoSizeList ¶
func MakeTLPhotoSizeList(data2 *PhotoSizeList) *TLPhotoSizeList
MakeTLPhotoSizeList photoSizeList size_id:long sizes:Vector<PhotoSize> dc_id:int = PhotoSizeList;
func (*TLPhotoSizeList) CalcByteSize ¶
func (m *TLPhotoSizeList) CalcByteSize(layer int32) int
func (*TLPhotoSizeList) DebugString ¶
func (m *TLPhotoSizeList) DebugString() string
func (*TLPhotoSizeList) Descriptor ¶
func (*TLPhotoSizeList) Descriptor() ([]byte, []int)
func (*TLPhotoSizeList) Encode ¶
func (m *TLPhotoSizeList) Encode(layer int32) []byte
func (*TLPhotoSizeList) GetData2 ¶
func (m *TLPhotoSizeList) GetData2() *PhotoSizeList
func (*TLPhotoSizeList) GetDcId ¶
func (m *TLPhotoSizeList) GetDcId() int32
func (*TLPhotoSizeList) GetPredicateName ¶
func (m *TLPhotoSizeList) GetPredicateName() string
func (*TLPhotoSizeList) GetSizeId ¶
func (m *TLPhotoSizeList) GetSizeId() int64
func (*TLPhotoSizeList) GetSizes ¶
func (m *TLPhotoSizeList) GetSizes() []*mtproto.PhotoSize
func (*TLPhotoSizeList) GoString ¶
func (this *TLPhotoSizeList) GoString() string
func (*TLPhotoSizeList) Marshal ¶
func (m *TLPhotoSizeList) Marshal() (dAtA []byte, err error)
func (*TLPhotoSizeList) MarshalToSizedBuffer ¶
func (m *TLPhotoSizeList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLPhotoSizeList) ProtoMessage ¶
func (*TLPhotoSizeList) ProtoMessage()
func (*TLPhotoSizeList) Reset ¶
func (m *TLPhotoSizeList) Reset()
func (*TLPhotoSizeList) SetDcId ¶
func (m *TLPhotoSizeList) SetDcId(v int32)
func (*TLPhotoSizeList) SetSizeId ¶
func (m *TLPhotoSizeList) SetSizeId(v int64)
func (*TLPhotoSizeList) SetSizes ¶
func (m *TLPhotoSizeList) SetSizes(v []*mtproto.PhotoSize)
func (*TLPhotoSizeList) Size ¶
func (m *TLPhotoSizeList) Size() (n int)
func (*TLPhotoSizeList) String ¶
func (m *TLPhotoSizeList) String() string
func (*TLPhotoSizeList) To_PhotoSizeList ¶
func (m *TLPhotoSizeList) To_PhotoSizeList() *PhotoSizeList
func (*TLPhotoSizeList) Unmarshal ¶
func (m *TLPhotoSizeList) Unmarshal(dAtA []byte) error
func (*TLPhotoSizeList) XXX_DiscardUnknown ¶
func (m *TLPhotoSizeList) XXX_DiscardUnknown()
func (*TLPhotoSizeList) XXX_Marshal ¶
func (m *TLPhotoSizeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLPhotoSizeList) XXX_Merge ¶
func (m *TLPhotoSizeList) XXX_Merge(src proto.Message)
func (*TLPhotoSizeList) XXX_Size ¶
func (m *TLPhotoSizeList) XXX_Size() int
func (*TLPhotoSizeList) XXX_Unmarshal ¶
func (m *TLPhotoSizeList) XXX_Unmarshal(b []byte) error
type TLVideoSizeList ¶
type TLVideoSizeList struct { Data2 *VideoSizeList `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
videoSizeList size_id:long sizes:Vector<VideoSize> dc_id:int = VideoSizeList;
func MakeTLVideoSizeList ¶
func MakeTLVideoSizeList(data2 *VideoSizeList) *TLVideoSizeList
MakeTLVideoSizeList videoSizeList size_id:long sizes:Vector<VideoSize> dc_id:int = VideoSizeList;
func (*TLVideoSizeList) CalcByteSize ¶
func (m *TLVideoSizeList) CalcByteSize(layer int32) int
func (*TLVideoSizeList) DebugString ¶
func (m *TLVideoSizeList) DebugString() string
func (*TLVideoSizeList) Descriptor ¶
func (*TLVideoSizeList) Descriptor() ([]byte, []int)
func (*TLVideoSizeList) Encode ¶
func (m *TLVideoSizeList) Encode(layer int32) []byte
func (*TLVideoSizeList) GetData2 ¶
func (m *TLVideoSizeList) GetData2() *VideoSizeList
func (*TLVideoSizeList) GetDcId ¶
func (m *TLVideoSizeList) GetDcId() int32
func (*TLVideoSizeList) GetPredicateName ¶
func (m *TLVideoSizeList) GetPredicateName() string
func (*TLVideoSizeList) GetSizeId ¶
func (m *TLVideoSizeList) GetSizeId() int64
func (*TLVideoSizeList) GetSizes ¶
func (m *TLVideoSizeList) GetSizes() []*mtproto.VideoSize
func (*TLVideoSizeList) GoString ¶
func (this *TLVideoSizeList) GoString() string
func (*TLVideoSizeList) Marshal ¶
func (m *TLVideoSizeList) Marshal() (dAtA []byte, err error)
func (*TLVideoSizeList) MarshalToSizedBuffer ¶
func (m *TLVideoSizeList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLVideoSizeList) ProtoMessage ¶
func (*TLVideoSizeList) ProtoMessage()
func (*TLVideoSizeList) Reset ¶
func (m *TLVideoSizeList) Reset()
func (*TLVideoSizeList) SetDcId ¶
func (m *TLVideoSizeList) SetDcId(v int32)
func (*TLVideoSizeList) SetSizeId ¶
func (m *TLVideoSizeList) SetSizeId(v int64)
func (*TLVideoSizeList) SetSizes ¶
func (m *TLVideoSizeList) SetSizes(v []*mtproto.VideoSize)
func (*TLVideoSizeList) Size ¶
func (m *TLVideoSizeList) Size() (n int)
func (*TLVideoSizeList) String ¶
func (m *TLVideoSizeList) String() string
func (*TLVideoSizeList) To_VideoSizeList ¶
func (m *TLVideoSizeList) To_VideoSizeList() *VideoSizeList
func (*TLVideoSizeList) Unmarshal ¶
func (m *TLVideoSizeList) Unmarshal(dAtA []byte) error
func (*TLVideoSizeList) XXX_DiscardUnknown ¶
func (m *TLVideoSizeList) XXX_DiscardUnknown()
func (*TLVideoSizeList) XXX_Marshal ¶
func (m *TLVideoSizeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLVideoSizeList) XXX_Merge ¶
func (m *TLVideoSizeList) XXX_Merge(src proto.Message)
func (*TLVideoSizeList) XXX_Size ¶
func (m *TLVideoSizeList) XXX_Size() int
func (*TLVideoSizeList) XXX_Unmarshal ¶
func (m *TLVideoSizeList) XXX_Unmarshal(b []byte) error
type UnimplementedRPCMediaServer ¶
type UnimplementedRPCMediaServer struct { }
UnimplementedRPCMediaServer can be embedded to have forward compatible implementations.
func (*UnimplementedRPCMediaServer) MediaGetDocument ¶
func (*UnimplementedRPCMediaServer) MediaGetDocument(ctx context.Context, req *TLMediaGetDocument) (*mtproto.Document, error)
func (*UnimplementedRPCMediaServer) MediaGetDocumentList ¶
func (*UnimplementedRPCMediaServer) MediaGetDocumentList(ctx context.Context, req *TLMediaGetDocumentList) (*Vector_Document, error)
func (*UnimplementedRPCMediaServer) MediaGetEncryptedFile ¶
func (*UnimplementedRPCMediaServer) MediaGetEncryptedFile(ctx context.Context, req *TLMediaGetEncryptedFile) (*mtproto.EncryptedFile, error)
func (*UnimplementedRPCMediaServer) MediaGetPhoto ¶
func (*UnimplementedRPCMediaServer) MediaGetPhoto(ctx context.Context, req *TLMediaGetPhoto) (*mtproto.Photo, error)
func (*UnimplementedRPCMediaServer) MediaGetPhotoSizeList ¶
func (*UnimplementedRPCMediaServer) MediaGetPhotoSizeList(ctx context.Context, req *TLMediaGetPhotoSizeList) (*PhotoSizeList, error)
func (*UnimplementedRPCMediaServer) MediaGetPhotoSizeListList ¶
func (*UnimplementedRPCMediaServer) MediaGetPhotoSizeListList(ctx context.Context, req *TLMediaGetPhotoSizeListList) (*Vector_PhotoSizeList, error)
func (*UnimplementedRPCMediaServer) MediaGetVideoSizeList ¶
func (*UnimplementedRPCMediaServer) MediaGetVideoSizeList(ctx context.Context, req *TLMediaGetVideoSizeList) (*VideoSizeList, error)
func (*UnimplementedRPCMediaServer) MediaUploadEncryptedFile ¶
func (*UnimplementedRPCMediaServer) MediaUploadEncryptedFile(ctx context.Context, req *TLMediaUploadEncryptedFile) (*mtproto.EncryptedFile, error)
func (*UnimplementedRPCMediaServer) MediaUploadPhotoFile ¶
func (*UnimplementedRPCMediaServer) MediaUploadPhotoFile(ctx context.Context, req *TLMediaUploadPhotoFile) (*mtproto.Photo, error)
func (*UnimplementedRPCMediaServer) MediaUploadProfilePhotoFile ¶
func (*UnimplementedRPCMediaServer) MediaUploadProfilePhotoFile(ctx context.Context, req *TLMediaUploadProfilePhotoFile) (*mtproto.Photo, error)
func (*UnimplementedRPCMediaServer) MediaUploadStickerFile ¶
func (*UnimplementedRPCMediaServer) MediaUploadStickerFile(ctx context.Context, req *TLMediaUploadStickerFile) (*mtproto.Document, error)
func (*UnimplementedRPCMediaServer) MediaUploadThemeFile ¶
func (*UnimplementedRPCMediaServer) MediaUploadThemeFile(ctx context.Context, req *TLMediaUploadThemeFile) (*mtproto.Document, error)
func (*UnimplementedRPCMediaServer) MediaUploadWallPaperFile ¶
func (*UnimplementedRPCMediaServer) MediaUploadWallPaperFile(ctx context.Context, req *TLMediaUploadWallPaperFile) (*mtproto.Document, error)
func (*UnimplementedRPCMediaServer) MediaUploadedDocumentMedia ¶
func (*UnimplementedRPCMediaServer) MediaUploadedDocumentMedia(ctx context.Context, req *TLMediaUploadedDocumentMedia) (*mtproto.MessageMedia, error)
type Vector_Document ¶
type Vector_Document struct { Datas []*mtproto.Document `protobuf:"bytes,1,rep,name=datas,proto3" json:"datas,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Vector_Document) CalcByteSize ¶
func (m *Vector_Document) CalcByteSize(layer int32) int
func (*Vector_Document) DebugString ¶
func (m *Vector_Document) DebugString() string
func (*Vector_Document) Descriptor ¶
func (*Vector_Document) Descriptor() ([]byte, []int)
func (*Vector_Document) Encode ¶
func (m *Vector_Document) Encode(layer int32) []byte
Vector_Document /////////////////////////////////////////////////////////////////////////////
func (*Vector_Document) GetDatas ¶
func (m *Vector_Document) GetDatas() []*mtproto.Document
func (*Vector_Document) GoString ¶
func (this *Vector_Document) GoString() string
func (*Vector_Document) Marshal ¶
func (m *Vector_Document) Marshal() (dAtA []byte, err error)
func (*Vector_Document) MarshalToSizedBuffer ¶
func (m *Vector_Document) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Vector_Document) ProtoMessage ¶
func (*Vector_Document) ProtoMessage()
func (*Vector_Document) Reset ¶
func (m *Vector_Document) Reset()
func (*Vector_Document) Size ¶
func (m *Vector_Document) Size() (n int)
func (*Vector_Document) String ¶
func (m *Vector_Document) String() string
func (*Vector_Document) Unmarshal ¶
func (m *Vector_Document) Unmarshal(dAtA []byte) error
func (*Vector_Document) XXX_DiscardUnknown ¶
func (m *Vector_Document) XXX_DiscardUnknown()
func (*Vector_Document) XXX_Marshal ¶
func (m *Vector_Document) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Vector_Document) XXX_Merge ¶
func (m *Vector_Document) XXX_Merge(src proto.Message)
func (*Vector_Document) XXX_Size ¶
func (m *Vector_Document) XXX_Size() int
func (*Vector_Document) XXX_Unmarshal ¶
func (m *Vector_Document) XXX_Unmarshal(b []byte) error
type Vector_PhotoSizeList ¶
type Vector_PhotoSizeList struct { Datas []*PhotoSizeList `protobuf:"bytes,1,rep,name=datas,proto3" json:"datas,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
-------------------------------------------------------------------------------------------- Vector api result type
func (*Vector_PhotoSizeList) CalcByteSize ¶
func (m *Vector_PhotoSizeList) CalcByteSize(layer int32) int
func (*Vector_PhotoSizeList) DebugString ¶
func (m *Vector_PhotoSizeList) DebugString() string
func (*Vector_PhotoSizeList) Decode ¶
func (m *Vector_PhotoSizeList) Decode(dBuf *mtproto.DecodeBuf) error
func (*Vector_PhotoSizeList) Descriptor ¶
func (*Vector_PhotoSizeList) Descriptor() ([]byte, []int)
func (*Vector_PhotoSizeList) Encode ¶
func (m *Vector_PhotoSizeList) Encode(layer int32) []byte
---------------------------------------------------------------------------------------------------------------- Vector_PhotoSizeList /////////////////////////////////////////////////////////////////////////////
func (*Vector_PhotoSizeList) GetDatas ¶
func (m *Vector_PhotoSizeList) GetDatas() []*PhotoSizeList
func (*Vector_PhotoSizeList) GoString ¶
func (this *Vector_PhotoSizeList) GoString() string
func (*Vector_PhotoSizeList) Marshal ¶
func (m *Vector_PhotoSizeList) Marshal() (dAtA []byte, err error)
func (*Vector_PhotoSizeList) MarshalTo ¶
func (m *Vector_PhotoSizeList) MarshalTo(dAtA []byte) (int, error)
func (*Vector_PhotoSizeList) MarshalToSizedBuffer ¶
func (m *Vector_PhotoSizeList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Vector_PhotoSizeList) ProtoMessage ¶
func (*Vector_PhotoSizeList) ProtoMessage()
func (*Vector_PhotoSizeList) Reset ¶
func (m *Vector_PhotoSizeList) Reset()
func (*Vector_PhotoSizeList) Size ¶
func (m *Vector_PhotoSizeList) Size() (n int)
func (*Vector_PhotoSizeList) String ¶
func (m *Vector_PhotoSizeList) String() string
func (*Vector_PhotoSizeList) Unmarshal ¶
func (m *Vector_PhotoSizeList) Unmarshal(dAtA []byte) error
func (*Vector_PhotoSizeList) XXX_DiscardUnknown ¶
func (m *Vector_PhotoSizeList) XXX_DiscardUnknown()
func (*Vector_PhotoSizeList) XXX_Marshal ¶
func (m *Vector_PhotoSizeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Vector_PhotoSizeList) XXX_Merge ¶
func (m *Vector_PhotoSizeList) XXX_Merge(src proto.Message)
func (*Vector_PhotoSizeList) XXX_Size ¶
func (m *Vector_PhotoSizeList) XXX_Size() int
func (*Vector_PhotoSizeList) XXX_Unmarshal ¶
func (m *Vector_PhotoSizeList) XXX_Unmarshal(b []byte) error
type VideoSizeList ¶
type VideoSizeList struct { PredicateName string `protobuf:"bytes,1,opt,name=predicate_name,json=predicateName,proto3" json:"predicate_name,omitempty"` Constructor TLConstructor `protobuf:"varint,2,opt,name=constructor,proto3,enum=media.TLConstructor" json:"constructor,omitempty"` SizeId int64 `protobuf:"varint,3,opt,name=size_id,json=sizeId,proto3" json:"size_id,omitempty"` Sizes []*mtproto.VideoSize `protobuf:"bytes,4,rep,name=sizes,proto3" json:"sizes,omitempty"` DcId int32 `protobuf:"varint,5,opt,name=dc_id,json=dcId,proto3" json:"dc_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
-------------------------------------------------------------------------------------------- videoSizeList size_id:long sizes:Vector<VideoSize> dc_id:int = VideoSizeList;
VideoSizeList <--
- TL_videoSizeList
func (*VideoSizeList) CalcByteSize ¶
func (m *VideoSizeList) CalcByteSize(layer int32) int
func (*VideoSizeList) DebugString ¶
func (m *VideoSizeList) DebugString() string
func (*VideoSizeList) Descriptor ¶
func (*VideoSizeList) Descriptor() ([]byte, []int)
func (*VideoSizeList) Encode ¶
func (m *VideoSizeList) Encode(layer int32) []byte
func (*VideoSizeList) GetConstructor ¶
func (m *VideoSizeList) GetConstructor() TLConstructor
func (*VideoSizeList) GetDcId ¶
func (m *VideoSizeList) GetDcId() int32
func (*VideoSizeList) GetPredicateName ¶
func (m *VideoSizeList) GetPredicateName() string
func (*VideoSizeList) GetSizeId ¶
func (m *VideoSizeList) GetSizeId() int64
func (*VideoSizeList) GetSizes ¶
func (m *VideoSizeList) GetSizes() []*mtproto.VideoSize
func (*VideoSizeList) GoString ¶
func (this *VideoSizeList) GoString() string
func (*VideoSizeList) Marshal ¶
func (m *VideoSizeList) Marshal() (dAtA []byte, err error)
func (*VideoSizeList) MarshalToSizedBuffer ¶
func (m *VideoSizeList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VideoSizeList) ProtoMessage ¶
func (*VideoSizeList) ProtoMessage()
func (*VideoSizeList) Reset ¶
func (m *VideoSizeList) Reset()
func (*VideoSizeList) Size ¶
func (m *VideoSizeList) Size() (n int)
func (*VideoSizeList) String ¶
func (m *VideoSizeList) String() string
func (*VideoSizeList) To_VideoSizeList ¶
func (m *VideoSizeList) To_VideoSizeList() *TLVideoSizeList
To_VideoSizeList videoSizeList size_id:long sizes:Vector<VideoSize> dc_id:int = VideoSizeList;
func (*VideoSizeList) Unmarshal ¶
func (m *VideoSizeList) Unmarshal(dAtA []byte) error
func (*VideoSizeList) XXX_DiscardUnknown ¶
func (m *VideoSizeList) XXX_DiscardUnknown()
func (*VideoSizeList) XXX_Marshal ¶
func (m *VideoSizeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VideoSizeList) XXX_Merge ¶
func (m *VideoSizeList) XXX_Merge(src proto.Message)
func (*VideoSizeList) XXX_Size ¶
func (m *VideoSizeList) XXX_Size() int
func (*VideoSizeList) XXX_Unmarshal ¶
func (m *VideoSizeList) XXX_Unmarshal(b []byte) error