media

package
v0.90.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
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"
	Predicate_media_uploadRingtoneFile     = "media_uploadRingtoneFile"
)

Variables

View Source
var (
	ErrInvalidLengthMediaTl        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMediaTl          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMediaTl = fmt.Errorf("proto: unexpected end of group")
)
View Source
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",
	1035645449:  "CRC32_media_uploadRingtoneFile",
}
View Source
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,
	"CRC32_media_uploadRingtoneFile":     1035645449,
}

Functions

func CheckClassID

func CheckClassID(classId int32) (ok bool)

func GetClazzID

func GetClazzID(clazzName string, layer int) int32

func GetRPCContextRegisters

func GetRPCContextRegisters() map[string]RPCContextTuple

func NewTLObjectByClassID

func NewTLObjectByClassID(classId int32) mtproto.TLObject

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 <--

  • TL_photoSizeList

func (*PhotoSizeList) CalcByteSize

func (m *PhotoSizeList) CalcByteSize(layer int32) int

func (*PhotoSizeList) DebugString

func (m *PhotoSizeList) DebugString() string

func (*PhotoSizeList) Decode

func (m *PhotoSizeList) Decode(dBuf *mtproto.DecodeBuf) error

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) MarshalTo

func (m *PhotoSizeList) MarshalTo(dAtA []byte) (int, 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

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 {
	MediaUploadPhotoFile(ctx context.Context, in *TLMediaUploadPhotoFile, opts ...grpc.CallOption) (*mtproto.Photo, error)
	MediaUploadProfilePhotoFile(ctx context.Context, in *TLMediaUploadProfilePhotoFile, opts ...grpc.CallOption) (*mtproto.Photo, error)
	MediaGetPhoto(ctx context.Context, in *TLMediaGetPhoto, opts ...grpc.CallOption) (*mtproto.Photo, error)
	MediaGetPhotoSizeList(ctx context.Context, in *TLMediaGetPhotoSizeList, opts ...grpc.CallOption) (*PhotoSizeList, error)
	MediaGetPhotoSizeListList(ctx context.Context, in *TLMediaGetPhotoSizeListList, opts ...grpc.CallOption) (*Vector_PhotoSizeList, error)
	MediaGetVideoSizeList(ctx context.Context, in *TLMediaGetVideoSizeList, opts ...grpc.CallOption) (*VideoSizeList, error)
	MediaUploadedDocumentMedia(ctx context.Context, in *TLMediaUploadedDocumentMedia, opts ...grpc.CallOption) (*mtproto.MessageMedia, error)
	MediaGetDocument(ctx context.Context, in *TLMediaGetDocument, opts ...grpc.CallOption) (*mtproto.Document, error)
	MediaGetDocumentList(ctx context.Context, in *TLMediaGetDocumentList, opts ...grpc.CallOption) (*Vector_Document, error)
	MediaUploadEncryptedFile(ctx context.Context, in *TLMediaUploadEncryptedFile, opts ...grpc.CallOption) (*mtproto.EncryptedFile, error)
	MediaGetEncryptedFile(ctx context.Context, in *TLMediaGetEncryptedFile, opts ...grpc.CallOption) (*mtproto.EncryptedFile, error)
	MediaUploadWallPaperFile(ctx context.Context, in *TLMediaUploadWallPaperFile, opts ...grpc.CallOption) (*mtproto.Document, error)
	MediaUploadThemeFile(ctx context.Context, in *TLMediaUploadThemeFile, opts ...grpc.CallOption) (*mtproto.Document, error)
	MediaUploadStickerFile(ctx context.Context, in *TLMediaUploadStickerFile, opts ...grpc.CallOption) (*mtproto.Document, error)
	MediaUploadRingtoneFile(ctx context.Context, in *TLMediaUploadRingtoneFile, 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

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
	CRC32_media_uploadRingtoneFile     TLConstructor = 1035645449
)

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:"-"`
}

--------------------------------------------------------------------------------------------

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:"-"`
}

--------------------------------------------------------------------------------------------

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:"-"`
}

--------------------------------------------------------------------------------------------

func (*TLMediaGetEncryptedFile) CalcByteSize

func (m *TLMediaGetEncryptedFile) CalcByteSize(layer int32) int

func (*TLMediaGetEncryptedFile) DebugString

func (m *TLMediaGetEncryptedFile) DebugString() string

func (*TLMediaGetEncryptedFile) Decode

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:"-"`
}

--------------------------------------------------------------------------------------------

func (*TLMediaGetPhoto) CalcByteSize

func (m *TLMediaGetPhoto) CalcByteSize(layer int32) int

func (*TLMediaGetPhoto) DebugString

func (m *TLMediaGetPhoto) DebugString() string

func (*TLMediaGetPhoto) Decode

func (m *TLMediaGetPhoto) Decode(dBuf *mtproto.DecodeBuf) error

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) MarshalTo

func (m *TLMediaGetPhoto) MarshalTo(dAtA []byte) (int, 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:"-"`
}

--------------------------------------------------------------------------------------------

func (*TLMediaGetPhotoSizeList) CalcByteSize

func (m *TLMediaGetPhotoSizeList) CalcByteSize(layer int32) int

func (*TLMediaGetPhotoSizeList) DebugString

func (m *TLMediaGetPhotoSizeList) DebugString() string

func (*TLMediaGetPhotoSizeList) Decode

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:"-"`
}

--------------------------------------------------------------------------------------------

func (*TLMediaGetPhotoSizeListList) CalcByteSize

func (m *TLMediaGetPhotoSizeListList) CalcByteSize(layer int32) int

func (*TLMediaGetPhotoSizeListList) DebugString

func (m *TLMediaGetPhotoSizeListList) DebugString() string

func (*TLMediaGetPhotoSizeListList) Decode

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:"-"`
}

--------------------------------------------------------------------------------------------

func (*TLMediaGetVideoSizeList) CalcByteSize

func (m *TLMediaGetVideoSizeList) CalcByteSize(layer int32) int

func (*TLMediaGetVideoSizeList) DebugString

func (m *TLMediaGetVideoSizeList) DebugString() string

func (*TLMediaGetVideoSizeList) Decode

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:"-"`
}

--------------------------------------------------------------------------------------------

func (*TLMediaUploadEncryptedFile) CalcByteSize

func (m *TLMediaUploadEncryptedFile) CalcByteSize(layer int32) int

func (*TLMediaUploadEncryptedFile) DebugString

func (m *TLMediaUploadEncryptedFile) DebugString() string

func (*TLMediaUploadEncryptedFile) Decode

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 (*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:"-"`
}

--------------------------------------------------------------------------------------------

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 (*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:"-"`
}

--------------------------------------------------------------------------------------------

func (*TLMediaUploadProfilePhotoFile) CalcByteSize

func (m *TLMediaUploadProfilePhotoFile) CalcByteSize(layer int32) int

func (*TLMediaUploadProfilePhotoFile) DebugString

func (m *TLMediaUploadProfilePhotoFile) DebugString() string

func (*TLMediaUploadProfilePhotoFile) Decode

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 (*TLMediaUploadProfilePhotoFile) GetOwnerId

func (m *TLMediaUploadProfilePhotoFile) GetOwnerId() int64

func (*TLMediaUploadProfilePhotoFile) GetVideo

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 (*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 TLMediaUploadRingtoneFile added in v0.87.4

type TLMediaUploadRingtoneFile 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"`
	FileName             string             `protobuf:"bytes,6,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

--------------------------------------------------------------------------------------------

func (*TLMediaUploadRingtoneFile) CalcByteSize added in v0.87.4

func (m *TLMediaUploadRingtoneFile) CalcByteSize(layer int32) int

func (*TLMediaUploadRingtoneFile) DebugString added in v0.87.4

func (m *TLMediaUploadRingtoneFile) DebugString() string

func (*TLMediaUploadRingtoneFile) Decode added in v0.87.4

func (*TLMediaUploadRingtoneFile) Descriptor added in v0.87.4

func (*TLMediaUploadRingtoneFile) Descriptor() ([]byte, []int)

func (*TLMediaUploadRingtoneFile) Encode added in v0.87.4

func (m *TLMediaUploadRingtoneFile) Encode(layer int32) []byte

func (*TLMediaUploadRingtoneFile) GetConstructor added in v0.87.4

func (m *TLMediaUploadRingtoneFile) GetConstructor() TLConstructor

func (*TLMediaUploadRingtoneFile) GetFile added in v0.87.4

func (*TLMediaUploadRingtoneFile) GetFileName added in v0.87.4

func (m *TLMediaUploadRingtoneFile) GetFileName() string

func (*TLMediaUploadRingtoneFile) GetMimeType added in v0.87.4

func (m *TLMediaUploadRingtoneFile) GetMimeType() string

func (*TLMediaUploadRingtoneFile) GetOwnerId added in v0.87.4

func (m *TLMediaUploadRingtoneFile) GetOwnerId() int64

func (*TLMediaUploadRingtoneFile) GoString added in v0.87.4

func (this *TLMediaUploadRingtoneFile) GoString() string

func (*TLMediaUploadRingtoneFile) Marshal added in v0.87.4

func (m *TLMediaUploadRingtoneFile) Marshal() (dAtA []byte, err error)

func (*TLMediaUploadRingtoneFile) MarshalTo added in v0.87.4

func (m *TLMediaUploadRingtoneFile) MarshalTo(dAtA []byte) (int, error)

func (*TLMediaUploadRingtoneFile) MarshalToSizedBuffer added in v0.87.4

func (m *TLMediaUploadRingtoneFile) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TLMediaUploadRingtoneFile) ProtoMessage added in v0.87.4

func (*TLMediaUploadRingtoneFile) ProtoMessage()

func (*TLMediaUploadRingtoneFile) Reset added in v0.87.4

func (m *TLMediaUploadRingtoneFile) Reset()

func (*TLMediaUploadRingtoneFile) Size added in v0.87.4

func (m *TLMediaUploadRingtoneFile) Size() (n int)

func (*TLMediaUploadRingtoneFile) String added in v0.87.4

func (m *TLMediaUploadRingtoneFile) String() string

func (*TLMediaUploadRingtoneFile) Unmarshal added in v0.87.4

func (m *TLMediaUploadRingtoneFile) Unmarshal(dAtA []byte) error

func (*TLMediaUploadRingtoneFile) XXX_DiscardUnknown added in v0.87.4

func (m *TLMediaUploadRingtoneFile) XXX_DiscardUnknown()

func (*TLMediaUploadRingtoneFile) XXX_Marshal added in v0.87.4

func (m *TLMediaUploadRingtoneFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TLMediaUploadRingtoneFile) XXX_Merge added in v0.87.4

func (m *TLMediaUploadRingtoneFile) XXX_Merge(src proto.Message)

func (*TLMediaUploadRingtoneFile) XXX_Size added in v0.87.4

func (m *TLMediaUploadRingtoneFile) XXX_Size() int

func (*TLMediaUploadRingtoneFile) XXX_Unmarshal added in v0.87.4

func (m *TLMediaUploadRingtoneFile) 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:"-"`
}

--------------------------------------------------------------------------------------------

func (*TLMediaUploadStickerFile) CalcByteSize

func (m *TLMediaUploadStickerFile) CalcByteSize(layer int32) int

func (*TLMediaUploadStickerFile) DebugString

func (m *TLMediaUploadStickerFile) DebugString() string

func (*TLMediaUploadStickerFile) Decode

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 (*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 (*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:"-"`
}

--------------------------------------------------------------------------------------------

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 (*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:"-"`
}

--------------------------------------------------------------------------------------------

func (*TLMediaUploadWallPaperFile) CalcByteSize

func (m *TLMediaUploadWallPaperFile) CalcByteSize(layer int32) int

func (*TLMediaUploadWallPaperFile) DebugString

func (m *TLMediaUploadWallPaperFile) DebugString() string

func (*TLMediaUploadWallPaperFile) Decode

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 (*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:"-"`
}

--------------------------------------------------------------------------------------------

func (*TLMediaUploadedDocumentMedia) CalcByteSize

func (m *TLMediaUploadedDocumentMedia) CalcByteSize(layer int32) int

func (*TLMediaUploadedDocumentMedia) DebugString

func (m *TLMediaUploadedDocumentMedia) DebugString() string

func (*TLMediaUploadedDocumentMedia) Decode

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 (*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 (*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:"-"`
}

func MakeTLPhotoSizeList

func MakeTLPhotoSizeList(data2 *PhotoSizeList) *TLPhotoSizeList

MakeTLPhotoSizeList

func (*TLPhotoSizeList) CalcByteSize

func (m *TLPhotoSizeList) CalcByteSize(layer int32) int

func (*TLPhotoSizeList) DebugString

func (m *TLPhotoSizeList) DebugString() string

func (*TLPhotoSizeList) Decode

func (m *TLPhotoSizeList) Decode(dBuf *mtproto.DecodeBuf) error

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) MarshalTo

func (m *TLPhotoSizeList) MarshalTo(dAtA []byte) (int, 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:"-"`
}

func MakeTLVideoSizeList

func MakeTLVideoSizeList(data2 *VideoSizeList) *TLVideoSizeList

MakeTLVideoSizeList

func (*TLVideoSizeList) CalcByteSize

func (m *TLVideoSizeList) CalcByteSize(layer int32) int

func (*TLVideoSizeList) DebugString

func (m *TLVideoSizeList) DebugString() string

func (*TLVideoSizeList) Decode

func (m *TLVideoSizeList) Decode(dBuf *mtproto.DecodeBuf) error

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) MarshalTo

func (m *TLVideoSizeList) MarshalTo(dAtA []byte) (int, 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) MediaGetDocumentList

func (*UnimplementedRPCMediaServer) MediaGetEncryptedFile

func (*UnimplementedRPCMediaServer) MediaGetPhoto

func (*UnimplementedRPCMediaServer) MediaGetPhotoSizeList

func (*UnimplementedRPCMediaServer) MediaGetPhotoSizeListList

func (*UnimplementedRPCMediaServer) MediaGetVideoSizeList

func (*UnimplementedRPCMediaServer) MediaUploadEncryptedFile

func (*UnimplementedRPCMediaServer) MediaUploadPhotoFile

func (*UnimplementedRPCMediaServer) MediaUploadProfilePhotoFile

func (*UnimplementedRPCMediaServer) MediaUploadProfilePhotoFile(ctx context.Context, req *TLMediaUploadProfilePhotoFile) (*mtproto.Photo, error)

func (*UnimplementedRPCMediaServer) MediaUploadRingtoneFile added in v0.87.4

func (*UnimplementedRPCMediaServer) MediaUploadStickerFile

func (*UnimplementedRPCMediaServer) MediaUploadThemeFile

func (*UnimplementedRPCMediaServer) MediaUploadWallPaperFile

func (*UnimplementedRPCMediaServer) MediaUploadedDocumentMedia

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) Decode

func (m *Vector_Document) Decode(dBuf *mtproto.DecodeBuf) error

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) MarshalTo

func (m *Vector_Document) MarshalTo(dAtA []byte) (int, 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 <--

  • TL_videoSizeList

func (*VideoSizeList) CalcByteSize

func (m *VideoSizeList) CalcByteSize(layer int32) int

func (*VideoSizeList) DebugString

func (m *VideoSizeList) DebugString() string

func (*VideoSizeList) Decode

func (m *VideoSizeList) Decode(dBuf *mtproto.DecodeBuf) error

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) MarshalTo

func (m *VideoSizeList) MarshalTo(dAtA []byte) (int, 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

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

Jump to

Keyboard shortcuts

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