Documentation ¶
Index ¶
- Constants
- Variables
- func CheckClassID(classId int32) (ok bool)
- func CheckUsernameInvalid(username string) bool
- func GetClazzID(clazzName string, layer int) int32
- func GetRPCContextRegisters() map[string]RPCContextTuple
- func NewTLObjectByClassID(classId int32) mtproto.TLObject
- func RegisterRPCUsernameServer(s *grpc.Server, srv RPCUsernameServer)
- type RPCContextTuple
- type RPCUsernameClient
- type RPCUsernameServer
- type TLConstructor
- type TLUsernameCheckAccountUsername
- func (m *TLUsernameCheckAccountUsername) CalcByteSize(layer int32) int
- func (m *TLUsernameCheckAccountUsername) DebugString() string
- func (m *TLUsernameCheckAccountUsername) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLUsernameCheckAccountUsername) Descriptor() ([]byte, []int)
- func (m *TLUsernameCheckAccountUsername) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLUsernameCheckAccountUsername) GetConstructor() TLConstructor
- func (m *TLUsernameCheckAccountUsername) GetUserId() int64
- func (m *TLUsernameCheckAccountUsername) GetUsername() string
- func (this *TLUsernameCheckAccountUsername) GoString() string
- func (m *TLUsernameCheckAccountUsername) Marshal() (dAtA []byte, err error)
- func (m *TLUsernameCheckAccountUsername) MarshalTo(dAtA []byte) (int, error)
- func (m *TLUsernameCheckAccountUsername) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLUsernameCheckAccountUsername) ProtoMessage()
- func (m *TLUsernameCheckAccountUsername) Reset()
- func (m *TLUsernameCheckAccountUsername) Size() (n int)
- func (m *TLUsernameCheckAccountUsername) String() string
- func (m *TLUsernameCheckAccountUsername) Unmarshal(dAtA []byte) error
- func (m *TLUsernameCheckAccountUsername) XXX_DiscardUnknown()
- func (m *TLUsernameCheckAccountUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLUsernameCheckAccountUsername) XXX_Merge(src proto.Message)
- func (m *TLUsernameCheckAccountUsername) XXX_Size() int
- func (m *TLUsernameCheckAccountUsername) XXX_Unmarshal(b []byte) error
- type TLUsernameCheckChannelUsername
- func (m *TLUsernameCheckChannelUsername) CalcByteSize(layer int32) int
- func (m *TLUsernameCheckChannelUsername) DebugString() string
- func (m *TLUsernameCheckChannelUsername) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLUsernameCheckChannelUsername) Descriptor() ([]byte, []int)
- func (m *TLUsernameCheckChannelUsername) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLUsernameCheckChannelUsername) GetChannelId() int64
- func (m *TLUsernameCheckChannelUsername) GetConstructor() TLConstructor
- func (m *TLUsernameCheckChannelUsername) GetUsername() string
- func (this *TLUsernameCheckChannelUsername) GoString() string
- func (m *TLUsernameCheckChannelUsername) Marshal() (dAtA []byte, err error)
- func (m *TLUsernameCheckChannelUsername) MarshalTo(dAtA []byte) (int, error)
- func (m *TLUsernameCheckChannelUsername) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLUsernameCheckChannelUsername) ProtoMessage()
- func (m *TLUsernameCheckChannelUsername) Reset()
- func (m *TLUsernameCheckChannelUsername) Size() (n int)
- func (m *TLUsernameCheckChannelUsername) String() string
- func (m *TLUsernameCheckChannelUsername) Unmarshal(dAtA []byte) error
- func (m *TLUsernameCheckChannelUsername) XXX_DiscardUnknown()
- func (m *TLUsernameCheckChannelUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLUsernameCheckChannelUsername) XXX_Merge(src proto.Message)
- func (m *TLUsernameCheckChannelUsername) XXX_Size() int
- func (m *TLUsernameCheckChannelUsername) XXX_Unmarshal(b []byte) error
- type TLUsernameCheckUsername
- func (m *TLUsernameCheckUsername) CalcByteSize(layer int32) int
- func (m *TLUsernameCheckUsername) DebugString() string
- func (m *TLUsernameCheckUsername) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLUsernameCheckUsername) Descriptor() ([]byte, []int)
- func (m *TLUsernameCheckUsername) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLUsernameCheckUsername) GetConstructor() TLConstructor
- func (m *TLUsernameCheckUsername) GetUsername() string
- func (this *TLUsernameCheckUsername) GoString() string
- func (m *TLUsernameCheckUsername) Marshal() (dAtA []byte, err error)
- func (m *TLUsernameCheckUsername) MarshalTo(dAtA []byte) (int, error)
- func (m *TLUsernameCheckUsername) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLUsernameCheckUsername) ProtoMessage()
- func (m *TLUsernameCheckUsername) Reset()
- func (m *TLUsernameCheckUsername) Size() (n int)
- func (m *TLUsernameCheckUsername) String() string
- func (m *TLUsernameCheckUsername) Unmarshal(dAtA []byte) error
- func (m *TLUsernameCheckUsername) XXX_DiscardUnknown()
- func (m *TLUsernameCheckUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLUsernameCheckUsername) XXX_Merge(src proto.Message)
- func (m *TLUsernameCheckUsername) XXX_Size() int
- func (m *TLUsernameCheckUsername) XXX_Unmarshal(b []byte) error
- type TLUsernameData
- func (m *TLUsernameData) CalcByteSize(layer int32) int
- func (m *TLUsernameData) DebugString() string
- func (m *TLUsernameData) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLUsernameData) Descriptor() ([]byte, []int)
- func (m *TLUsernameData) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLUsernameData) GetData2() *UsernameData
- func (m *TLUsernameData) GetPeer() *mtproto.Peer
- func (m *TLUsernameData) GetPredicateName() string
- func (m *TLUsernameData) GetUsername() string
- func (this *TLUsernameData) GoString() string
- func (m *TLUsernameData) Marshal() (dAtA []byte, err error)
- func (m *TLUsernameData) MarshalTo(dAtA []byte) (int, error)
- func (m *TLUsernameData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLUsernameData) ProtoMessage()
- func (m *TLUsernameData) Reset()
- func (m *TLUsernameData) SetPeer(v *mtproto.Peer)
- func (m *TLUsernameData) SetUsername(v string)
- func (m *TLUsernameData) Size() (n int)
- func (m *TLUsernameData) String() string
- func (m *TLUsernameData) To_UsernameData() *UsernameData
- func (m *TLUsernameData) Unmarshal(dAtA []byte) error
- func (m *TLUsernameData) XXX_DiscardUnknown()
- func (m *TLUsernameData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLUsernameData) XXX_Merge(src proto.Message)
- func (m *TLUsernameData) XXX_Size() int
- func (m *TLUsernameData) XXX_Unmarshal(b []byte) error
- type TLUsernameDeleteUsername
- func (m *TLUsernameDeleteUsername) CalcByteSize(layer int32) int
- func (m *TLUsernameDeleteUsername) DebugString() string
- func (m *TLUsernameDeleteUsername) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLUsernameDeleteUsername) Descriptor() ([]byte, []int)
- func (m *TLUsernameDeleteUsername) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLUsernameDeleteUsername) GetConstructor() TLConstructor
- func (m *TLUsernameDeleteUsername) GetUsername() string
- func (this *TLUsernameDeleteUsername) GoString() string
- func (m *TLUsernameDeleteUsername) Marshal() (dAtA []byte, err error)
- func (m *TLUsernameDeleteUsername) MarshalTo(dAtA []byte) (int, error)
- func (m *TLUsernameDeleteUsername) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLUsernameDeleteUsername) ProtoMessage()
- func (m *TLUsernameDeleteUsername) Reset()
- func (m *TLUsernameDeleteUsername) Size() (n int)
- func (m *TLUsernameDeleteUsername) String() string
- func (m *TLUsernameDeleteUsername) Unmarshal(dAtA []byte) error
- func (m *TLUsernameDeleteUsername) XXX_DiscardUnknown()
- func (m *TLUsernameDeleteUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLUsernameDeleteUsername) XXX_Merge(src proto.Message)
- func (m *TLUsernameDeleteUsername) XXX_Size() int
- func (m *TLUsernameDeleteUsername) XXX_Unmarshal(b []byte) error
- type TLUsernameDeleteUsernameByPeer
- func (m *TLUsernameDeleteUsernameByPeer) CalcByteSize(layer int32) int
- func (m *TLUsernameDeleteUsernameByPeer) DebugString() string
- func (m *TLUsernameDeleteUsernameByPeer) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLUsernameDeleteUsernameByPeer) Descriptor() ([]byte, []int)
- func (m *TLUsernameDeleteUsernameByPeer) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLUsernameDeleteUsernameByPeer) GetConstructor() TLConstructor
- func (m *TLUsernameDeleteUsernameByPeer) GetPeerId() int64
- func (m *TLUsernameDeleteUsernameByPeer) GetPeerType() int32
- func (this *TLUsernameDeleteUsernameByPeer) GoString() string
- func (m *TLUsernameDeleteUsernameByPeer) Marshal() (dAtA []byte, err error)
- func (m *TLUsernameDeleteUsernameByPeer) MarshalTo(dAtA []byte) (int, error)
- func (m *TLUsernameDeleteUsernameByPeer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLUsernameDeleteUsernameByPeer) ProtoMessage()
- func (m *TLUsernameDeleteUsernameByPeer) Reset()
- func (m *TLUsernameDeleteUsernameByPeer) Size() (n int)
- func (m *TLUsernameDeleteUsernameByPeer) String() string
- func (m *TLUsernameDeleteUsernameByPeer) Unmarshal(dAtA []byte) error
- func (m *TLUsernameDeleteUsernameByPeer) XXX_DiscardUnknown()
- func (m *TLUsernameDeleteUsernameByPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLUsernameDeleteUsernameByPeer) XXX_Merge(src proto.Message)
- func (m *TLUsernameDeleteUsernameByPeer) XXX_Size() int
- func (m *TLUsernameDeleteUsernameByPeer) XXX_Unmarshal(b []byte) error
- type TLUsernameExisted
- func (m *TLUsernameExisted) CalcByteSize(layer int32) int
- func (m *TLUsernameExisted) DebugString() string
- func (m *TLUsernameExisted) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLUsernameExisted) Descriptor() ([]byte, []int)
- func (m *TLUsernameExisted) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLUsernameExisted) GetData2() *UsernameExist
- func (m *TLUsernameExisted) GetPredicateName() string
- func (this *TLUsernameExisted) GoString() string
- func (m *TLUsernameExisted) Marshal() (dAtA []byte, err error)
- func (m *TLUsernameExisted) MarshalTo(dAtA []byte) (int, error)
- func (m *TLUsernameExisted) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLUsernameExisted) ProtoMessage()
- func (m *TLUsernameExisted) Reset()
- func (m *TLUsernameExisted) Size() (n int)
- func (m *TLUsernameExisted) String() string
- func (m *TLUsernameExisted) To_UsernameExist() *UsernameExist
- func (m *TLUsernameExisted) Unmarshal(dAtA []byte) error
- func (m *TLUsernameExisted) XXX_DiscardUnknown()
- func (m *TLUsernameExisted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLUsernameExisted) XXX_Merge(src proto.Message)
- func (m *TLUsernameExisted) XXX_Size() int
- func (m *TLUsernameExisted) XXX_Unmarshal(b []byte) error
- type TLUsernameExistedIsMe
- func (m *TLUsernameExistedIsMe) CalcByteSize(layer int32) int
- func (m *TLUsernameExistedIsMe) DebugString() string
- func (m *TLUsernameExistedIsMe) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLUsernameExistedIsMe) Descriptor() ([]byte, []int)
- func (m *TLUsernameExistedIsMe) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLUsernameExistedIsMe) GetData2() *UsernameExist
- func (m *TLUsernameExistedIsMe) GetPredicateName() string
- func (this *TLUsernameExistedIsMe) GoString() string
- func (m *TLUsernameExistedIsMe) Marshal() (dAtA []byte, err error)
- func (m *TLUsernameExistedIsMe) MarshalTo(dAtA []byte) (int, error)
- func (m *TLUsernameExistedIsMe) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLUsernameExistedIsMe) ProtoMessage()
- func (m *TLUsernameExistedIsMe) Reset()
- func (m *TLUsernameExistedIsMe) Size() (n int)
- func (m *TLUsernameExistedIsMe) String() string
- func (m *TLUsernameExistedIsMe) To_UsernameExist() *UsernameExist
- func (m *TLUsernameExistedIsMe) Unmarshal(dAtA []byte) error
- func (m *TLUsernameExistedIsMe) XXX_DiscardUnknown()
- func (m *TLUsernameExistedIsMe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLUsernameExistedIsMe) XXX_Merge(src proto.Message)
- func (m *TLUsernameExistedIsMe) XXX_Size() int
- func (m *TLUsernameExistedIsMe) XXX_Unmarshal(b []byte) error
- type TLUsernameExistedNotMe
- func (m *TLUsernameExistedNotMe) CalcByteSize(layer int32) int
- func (m *TLUsernameExistedNotMe) DebugString() string
- func (m *TLUsernameExistedNotMe) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLUsernameExistedNotMe) Descriptor() ([]byte, []int)
- func (m *TLUsernameExistedNotMe) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLUsernameExistedNotMe) GetData2() *UsernameExist
- func (m *TLUsernameExistedNotMe) GetPredicateName() string
- func (this *TLUsernameExistedNotMe) GoString() string
- func (m *TLUsernameExistedNotMe) Marshal() (dAtA []byte, err error)
- func (m *TLUsernameExistedNotMe) MarshalTo(dAtA []byte) (int, error)
- func (m *TLUsernameExistedNotMe) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLUsernameExistedNotMe) ProtoMessage()
- func (m *TLUsernameExistedNotMe) Reset()
- func (m *TLUsernameExistedNotMe) Size() (n int)
- func (m *TLUsernameExistedNotMe) String() string
- func (m *TLUsernameExistedNotMe) To_UsernameExist() *UsernameExist
- func (m *TLUsernameExistedNotMe) Unmarshal(dAtA []byte) error
- func (m *TLUsernameExistedNotMe) XXX_DiscardUnknown()
- func (m *TLUsernameExistedNotMe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLUsernameExistedNotMe) XXX_Merge(src proto.Message)
- func (m *TLUsernameExistedNotMe) XXX_Size() int
- func (m *TLUsernameExistedNotMe) XXX_Unmarshal(b []byte) error
- type TLUsernameGetAccountUsername
- func (m *TLUsernameGetAccountUsername) CalcByteSize(layer int32) int
- func (m *TLUsernameGetAccountUsername) DebugString() string
- func (m *TLUsernameGetAccountUsername) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLUsernameGetAccountUsername) Descriptor() ([]byte, []int)
- func (m *TLUsernameGetAccountUsername) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLUsernameGetAccountUsername) GetConstructor() TLConstructor
- func (m *TLUsernameGetAccountUsername) GetUserId() int64
- func (this *TLUsernameGetAccountUsername) GoString() string
- func (m *TLUsernameGetAccountUsername) Marshal() (dAtA []byte, err error)
- func (m *TLUsernameGetAccountUsername) MarshalTo(dAtA []byte) (int, error)
- func (m *TLUsernameGetAccountUsername) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLUsernameGetAccountUsername) ProtoMessage()
- func (m *TLUsernameGetAccountUsername) Reset()
- func (m *TLUsernameGetAccountUsername) Size() (n int)
- func (m *TLUsernameGetAccountUsername) String() string
- func (m *TLUsernameGetAccountUsername) Unmarshal(dAtA []byte) error
- func (m *TLUsernameGetAccountUsername) XXX_DiscardUnknown()
- func (m *TLUsernameGetAccountUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLUsernameGetAccountUsername) XXX_Merge(src proto.Message)
- func (m *TLUsernameGetAccountUsername) XXX_Size() int
- func (m *TLUsernameGetAccountUsername) XXX_Unmarshal(b []byte) error
- type TLUsernameGetChannelUsername
- func (m *TLUsernameGetChannelUsername) CalcByteSize(layer int32) int
- func (m *TLUsernameGetChannelUsername) DebugString() string
- func (m *TLUsernameGetChannelUsername) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLUsernameGetChannelUsername) Descriptor() ([]byte, []int)
- func (m *TLUsernameGetChannelUsername) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLUsernameGetChannelUsername) GetChannelId() int64
- func (m *TLUsernameGetChannelUsername) GetConstructor() TLConstructor
- func (this *TLUsernameGetChannelUsername) GoString() string
- func (m *TLUsernameGetChannelUsername) Marshal() (dAtA []byte, err error)
- func (m *TLUsernameGetChannelUsername) MarshalTo(dAtA []byte) (int, error)
- func (m *TLUsernameGetChannelUsername) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLUsernameGetChannelUsername) ProtoMessage()
- func (m *TLUsernameGetChannelUsername) Reset()
- func (m *TLUsernameGetChannelUsername) Size() (n int)
- func (m *TLUsernameGetChannelUsername) String() string
- func (m *TLUsernameGetChannelUsername) Unmarshal(dAtA []byte) error
- func (m *TLUsernameGetChannelUsername) XXX_DiscardUnknown()
- func (m *TLUsernameGetChannelUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLUsernameGetChannelUsername) XXX_Merge(src proto.Message)
- func (m *TLUsernameGetChannelUsername) XXX_Size() int
- func (m *TLUsernameGetChannelUsername) XXX_Unmarshal(b []byte) error
- type TLUsernameGetListByUsernameList
- func (m *TLUsernameGetListByUsernameList) CalcByteSize(layer int32) int
- func (m *TLUsernameGetListByUsernameList) DebugString() string
- func (m *TLUsernameGetListByUsernameList) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLUsernameGetListByUsernameList) Descriptor() ([]byte, []int)
- func (m *TLUsernameGetListByUsernameList) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLUsernameGetListByUsernameList) GetConstructor() TLConstructor
- func (m *TLUsernameGetListByUsernameList) GetNames() []string
- func (this *TLUsernameGetListByUsernameList) GoString() string
- func (m *TLUsernameGetListByUsernameList) Marshal() (dAtA []byte, err error)
- func (m *TLUsernameGetListByUsernameList) MarshalTo(dAtA []byte) (int, error)
- func (m *TLUsernameGetListByUsernameList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLUsernameGetListByUsernameList) ProtoMessage()
- func (m *TLUsernameGetListByUsernameList) Reset()
- func (m *TLUsernameGetListByUsernameList) Size() (n int)
- func (m *TLUsernameGetListByUsernameList) String() string
- func (m *TLUsernameGetListByUsernameList) Unmarshal(dAtA []byte) error
- func (m *TLUsernameGetListByUsernameList) XXX_DiscardUnknown()
- func (m *TLUsernameGetListByUsernameList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLUsernameGetListByUsernameList) XXX_Merge(src proto.Message)
- func (m *TLUsernameGetListByUsernameList) XXX_Size() int
- func (m *TLUsernameGetListByUsernameList) XXX_Unmarshal(b []byte) error
- type TLUsernameNotExisted
- func (m *TLUsernameNotExisted) CalcByteSize(layer int32) int
- func (m *TLUsernameNotExisted) DebugString() string
- func (m *TLUsernameNotExisted) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLUsernameNotExisted) Descriptor() ([]byte, []int)
- func (m *TLUsernameNotExisted) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLUsernameNotExisted) GetData2() *UsernameExist
- func (m *TLUsernameNotExisted) GetPredicateName() string
- func (this *TLUsernameNotExisted) GoString() string
- func (m *TLUsernameNotExisted) Marshal() (dAtA []byte, err error)
- func (m *TLUsernameNotExisted) MarshalTo(dAtA []byte) (int, error)
- func (m *TLUsernameNotExisted) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLUsernameNotExisted) ProtoMessage()
- func (m *TLUsernameNotExisted) Reset()
- func (m *TLUsernameNotExisted) Size() (n int)
- func (m *TLUsernameNotExisted) String() string
- func (m *TLUsernameNotExisted) To_UsernameExist() *UsernameExist
- func (m *TLUsernameNotExisted) Unmarshal(dAtA []byte) error
- func (m *TLUsernameNotExisted) XXX_DiscardUnknown()
- func (m *TLUsernameNotExisted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLUsernameNotExisted) XXX_Merge(src proto.Message)
- func (m *TLUsernameNotExisted) XXX_Size() int
- func (m *TLUsernameNotExisted) XXX_Unmarshal(b []byte) error
- type TLUsernameResolveUsername
- func (m *TLUsernameResolveUsername) CalcByteSize(layer int32) int
- func (m *TLUsernameResolveUsername) DebugString() string
- func (m *TLUsernameResolveUsername) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLUsernameResolveUsername) Descriptor() ([]byte, []int)
- func (m *TLUsernameResolveUsername) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLUsernameResolveUsername) GetConstructor() TLConstructor
- func (m *TLUsernameResolveUsername) GetUsername() string
- func (this *TLUsernameResolveUsername) GoString() string
- func (m *TLUsernameResolveUsername) Marshal() (dAtA []byte, err error)
- func (m *TLUsernameResolveUsername) MarshalTo(dAtA []byte) (int, error)
- func (m *TLUsernameResolveUsername) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLUsernameResolveUsername) ProtoMessage()
- func (m *TLUsernameResolveUsername) Reset()
- func (m *TLUsernameResolveUsername) Size() (n int)
- func (m *TLUsernameResolveUsername) String() string
- func (m *TLUsernameResolveUsername) Unmarshal(dAtA []byte) error
- func (m *TLUsernameResolveUsername) XXX_DiscardUnknown()
- func (m *TLUsernameResolveUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLUsernameResolveUsername) XXX_Merge(src proto.Message)
- func (m *TLUsernameResolveUsername) XXX_Size() int
- func (m *TLUsernameResolveUsername) XXX_Unmarshal(b []byte) error
- type TLUsernameSearch
- func (m *TLUsernameSearch) CalcByteSize(layer int32) int
- func (m *TLUsernameSearch) DebugString() string
- func (m *TLUsernameSearch) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLUsernameSearch) Descriptor() ([]byte, []int)
- func (m *TLUsernameSearch) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLUsernameSearch) GetConstructor() TLConstructor
- func (m *TLUsernameSearch) GetExcludedContacts() []int64
- func (m *TLUsernameSearch) GetLimit() int32
- func (m *TLUsernameSearch) GetQ() string
- func (this *TLUsernameSearch) GoString() string
- func (m *TLUsernameSearch) Marshal() (dAtA []byte, err error)
- func (m *TLUsernameSearch) MarshalTo(dAtA []byte) (int, error)
- func (m *TLUsernameSearch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLUsernameSearch) ProtoMessage()
- func (m *TLUsernameSearch) Reset()
- func (m *TLUsernameSearch) Size() (n int)
- func (m *TLUsernameSearch) String() string
- func (m *TLUsernameSearch) Unmarshal(dAtA []byte) error
- func (m *TLUsernameSearch) XXX_DiscardUnknown()
- func (m *TLUsernameSearch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLUsernameSearch) XXX_Merge(src proto.Message)
- func (m *TLUsernameSearch) XXX_Size() int
- func (m *TLUsernameSearch) XXX_Unmarshal(b []byte) error
- type TLUsernameUpdateUsername
- func (m *TLUsernameUpdateUsername) CalcByteSize(layer int32) int
- func (m *TLUsernameUpdateUsername) DebugString() string
- func (m *TLUsernameUpdateUsername) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLUsernameUpdateUsername) Descriptor() ([]byte, []int)
- func (m *TLUsernameUpdateUsername) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLUsernameUpdateUsername) GetConstructor() TLConstructor
- func (m *TLUsernameUpdateUsername) GetPeerId() int64
- func (m *TLUsernameUpdateUsername) GetPeerType() int32
- func (m *TLUsernameUpdateUsername) GetUsername() string
- func (this *TLUsernameUpdateUsername) GoString() string
- func (m *TLUsernameUpdateUsername) Marshal() (dAtA []byte, err error)
- func (m *TLUsernameUpdateUsername) MarshalTo(dAtA []byte) (int, error)
- func (m *TLUsernameUpdateUsername) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLUsernameUpdateUsername) ProtoMessage()
- func (m *TLUsernameUpdateUsername) Reset()
- func (m *TLUsernameUpdateUsername) Size() (n int)
- func (m *TLUsernameUpdateUsername) String() string
- func (m *TLUsernameUpdateUsername) Unmarshal(dAtA []byte) error
- func (m *TLUsernameUpdateUsername) XXX_DiscardUnknown()
- func (m *TLUsernameUpdateUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLUsernameUpdateUsername) XXX_Merge(src proto.Message)
- func (m *TLUsernameUpdateUsername) XXX_Size() int
- func (m *TLUsernameUpdateUsername) XXX_Unmarshal(b []byte) error
- type TLUsernameUpdateUsernameByPeer
- func (m *TLUsernameUpdateUsernameByPeer) CalcByteSize(layer int32) int
- func (m *TLUsernameUpdateUsernameByPeer) DebugString() string
- func (m *TLUsernameUpdateUsernameByPeer) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLUsernameUpdateUsernameByPeer) Descriptor() ([]byte, []int)
- func (m *TLUsernameUpdateUsernameByPeer) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLUsernameUpdateUsernameByPeer) GetConstructor() TLConstructor
- func (m *TLUsernameUpdateUsernameByPeer) GetPeerId() int64
- func (m *TLUsernameUpdateUsernameByPeer) GetPeerType() int32
- func (m *TLUsernameUpdateUsernameByPeer) GetUsername() string
- func (this *TLUsernameUpdateUsernameByPeer) GoString() string
- func (m *TLUsernameUpdateUsernameByPeer) Marshal() (dAtA []byte, err error)
- func (m *TLUsernameUpdateUsernameByPeer) MarshalTo(dAtA []byte) (int, error)
- func (m *TLUsernameUpdateUsernameByPeer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLUsernameUpdateUsernameByPeer) ProtoMessage()
- func (m *TLUsernameUpdateUsernameByPeer) Reset()
- func (m *TLUsernameUpdateUsernameByPeer) Size() (n int)
- func (m *TLUsernameUpdateUsernameByPeer) String() string
- func (m *TLUsernameUpdateUsernameByPeer) Unmarshal(dAtA []byte) error
- func (m *TLUsernameUpdateUsernameByPeer) XXX_DiscardUnknown()
- func (m *TLUsernameUpdateUsernameByPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLUsernameUpdateUsernameByPeer) XXX_Merge(src proto.Message)
- func (m *TLUsernameUpdateUsernameByPeer) XXX_Size() int
- func (m *TLUsernameUpdateUsernameByPeer) XXX_Unmarshal(b []byte) error
- type UnimplementedRPCUsernameServer
- func (*UnimplementedRPCUsernameServer) UsernameCheckAccountUsername(ctx context.Context, req *TLUsernameCheckAccountUsername) (*UsernameExist, error)
- func (*UnimplementedRPCUsernameServer) UsernameCheckChannelUsername(ctx context.Context, req *TLUsernameCheckChannelUsername) (*UsernameExist, error)
- func (*UnimplementedRPCUsernameServer) UsernameCheckUsername(ctx context.Context, req *TLUsernameCheckUsername) (*UsernameExist, error)
- func (*UnimplementedRPCUsernameServer) UsernameDeleteUsername(ctx context.Context, req *TLUsernameDeleteUsername) (*mtproto.Bool, error)
- func (*UnimplementedRPCUsernameServer) UsernameDeleteUsernameByPeer(ctx context.Context, req *TLUsernameDeleteUsernameByPeer) (*mtproto.Bool, error)
- func (*UnimplementedRPCUsernameServer) UsernameGetAccountUsername(ctx context.Context, req *TLUsernameGetAccountUsername) (*UsernameData, error)
- func (*UnimplementedRPCUsernameServer) UsernameGetChannelUsername(ctx context.Context, req *TLUsernameGetChannelUsername) (*UsernameData, error)
- func (*UnimplementedRPCUsernameServer) UsernameGetListByUsernameList(ctx context.Context, req *TLUsernameGetListByUsernameList) (*Vector_UsernameData, error)
- func (*UnimplementedRPCUsernameServer) UsernameResolveUsername(ctx context.Context, req *TLUsernameResolveUsername) (*mtproto.Peer, error)
- func (*UnimplementedRPCUsernameServer) UsernameSearch(ctx context.Context, req *TLUsernameSearch) (*Vector_UsernameData, error)
- func (*UnimplementedRPCUsernameServer) UsernameUpdateUsername(ctx context.Context, req *TLUsernameUpdateUsername) (*mtproto.Bool, error)
- func (*UnimplementedRPCUsernameServer) UsernameUpdateUsernameByPeer(ctx context.Context, req *TLUsernameUpdateUsernameByPeer) (*mtproto.Bool, error)
- type UsernameData
- func (m *UsernameData) CalcByteSize(layer int32) int
- func (m *UsernameData) DebugString() string
- func (m *UsernameData) Decode(dBuf *mtproto.DecodeBuf) error
- func (*UsernameData) Descriptor() ([]byte, []int)
- func (m *UsernameData) Encode(x *mtproto.EncodeBuf, layer int32) []byte
- func (m *UsernameData) GetConstructor() TLConstructor
- func (m *UsernameData) GetPeer() *mtproto.Peer
- func (m *UsernameData) GetPredicateName() string
- func (m *UsernameData) GetUsername() string
- func (this *UsernameData) GoString() string
- func (m *UsernameData) Marshal() (dAtA []byte, err error)
- func (m *UsernameData) MarshalTo(dAtA []byte) (int, error)
- func (m *UsernameData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UsernameData) ProtoMessage()
- func (m *UsernameData) Reset()
- func (m *UsernameData) Size() (n int)
- func (m *UsernameData) String() string
- func (m *UsernameData) To_UsernameData() *TLUsernameData
- func (m *UsernameData) Unmarshal(dAtA []byte) error
- func (m *UsernameData) XXX_DiscardUnknown()
- func (m *UsernameData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UsernameData) XXX_Merge(src proto.Message)
- func (m *UsernameData) XXX_Size() int
- func (m *UsernameData) XXX_Unmarshal(b []byte) error
- type UsernameExist
- func (m *UsernameExist) CalcByteSize(layer int32) int
- func (m *UsernameExist) DebugString() string
- func (m *UsernameExist) Decode(dBuf *mtproto.DecodeBuf) error
- func (*UsernameExist) Descriptor() ([]byte, []int)
- func (m *UsernameExist) Encode(x *mtproto.EncodeBuf, layer int32) []byte
- func (m *UsernameExist) GetConstructor() TLConstructor
- func (m *UsernameExist) GetPredicateName() string
- func (this *UsernameExist) GoString() string
- func (m *UsernameExist) Marshal() (dAtA []byte, err error)
- func (m *UsernameExist) MarshalTo(dAtA []byte) (int, error)
- func (m *UsernameExist) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UsernameExist) ProtoMessage()
- func (m *UsernameExist) Reset()
- func (m *UsernameExist) Size() (n int)
- func (m *UsernameExist) String() string
- func (m *UsernameExist) To_UsernameExisted() *TLUsernameExisted
- func (m *UsernameExist) To_UsernameExistedIsMe() *TLUsernameExistedIsMe
- func (m *UsernameExist) To_UsernameExistedNotMe() *TLUsernameExistedNotMe
- func (m *UsernameExist) To_UsernameNotExisted() *TLUsernameNotExisted
- func (m *UsernameExist) Unmarshal(dAtA []byte) error
- func (m *UsernameExist) XXX_DiscardUnknown()
- func (m *UsernameExist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UsernameExist) XXX_Merge(src proto.Message)
- func (m *UsernameExist) XXX_Size() int
- func (m *UsernameExist) XXX_Unmarshal(b []byte) error
- type Vector_UsernameData
- func (m *Vector_UsernameData) CalcByteSize(layer int32) int
- func (m *Vector_UsernameData) DebugString() string
- func (m *Vector_UsernameData) Decode(dBuf *mtproto.DecodeBuf) error
- func (*Vector_UsernameData) Descriptor() ([]byte, []int)
- func (m *Vector_UsernameData) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *Vector_UsernameData) GetDatas() []*UsernameData
- func (this *Vector_UsernameData) GoString() string
- func (m *Vector_UsernameData) Marshal() (dAtA []byte, err error)
- func (m *Vector_UsernameData) MarshalTo(dAtA []byte) (int, error)
- func (m *Vector_UsernameData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Vector_UsernameData) ProtoMessage()
- func (m *Vector_UsernameData) Reset()
- func (m *Vector_UsernameData) Size() (n int)
- func (m *Vector_UsernameData) String() string
- func (m *Vector_UsernameData) Unmarshal(dAtA []byte) error
- func (m *Vector_UsernameData) XXX_DiscardUnknown()
- func (m *Vector_UsernameData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vector_UsernameData) XXX_Merge(src proto.Message)
- func (m *Vector_UsernameData) XXX_Size() int
- func (m *Vector_UsernameData) XXX_Unmarshal(b []byte) error
Constants ¶
const ( Predicate_usernameNotExisted = "usernameNotExisted" Predicate_usernameExisted = "usernameExisted" Predicate_usernameExistedNotMe = "usernameExistedNotMe" Predicate_usernameExistedIsMe = "usernameExistedIsMe" Predicate_usernameData = "usernameData" Predicate_username_getAccountUsername = "username_getAccountUsername" Predicate_username_checkAccountUsername = "username_checkAccountUsername" Predicate_username_getChannelUsername = "username_getChannelUsername" Predicate_username_checkChannelUsername = "username_checkChannelUsername" Predicate_username_updateUsernameByPeer = "username_updateUsernameByPeer" Predicate_username_checkUsername = "username_checkUsername" Predicate_username_updateUsername = "username_updateUsername" Predicate_username_deleteUsername = "username_deleteUsername" Predicate_username_resolveUsername = "username_resolveUsername" Predicate_username_getListByUsernameList = "username_getListByUsernameList" Predicate_username_deleteUsernameByPeer = "username_deleteUsernameByPeer" Predicate_username_search = "username_search" )
const ( MinUsernameLen = 5 MaxUsernameLen = 32 )
const ( UsernameNotExisted = 0 UsernameExisted = 1 UsernameExistedNotMe = 2 UsernameExistedIsMe = 3 )
Variables ¶
var ( ErrInvalidLengthUsernameTl = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowUsernameTl = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupUsernameTl = fmt.Errorf("proto: unexpected end of group") )
var TLConstructor_name = map[int32]string{
0: "CRC32_UNKNOWN",
-885195923: "CRC32_usernameNotExisted",
-1394084659: "CRC32_usernameExisted",
-803256399: "CRC32_usernameExistedNotMe",
-2024900751: "CRC32_usernameExistedIsMe",
-1438646081: "CRC32_usernameData",
154073301: "CRC32_username_getAccountUsername",
1240985861: "CRC32_username_checkAccountUsername",
-2038134827: "CRC32_username_getChannelUsername",
651476637: "CRC32_username_checkChannelUsername",
1718205916: "CRC32_username_updateUsernameByPeer",
684369621: "CRC32_username_checkUsername",
1389777971: "CRC32_username_updateUsername",
-1065913464: "CRC32_username_deleteUsername",
2008689862: "CRC32_username_resolveUsername",
1218942797: "CRC32_username_getListByUsernameList",
507822189: "CRC32_username_deleteUsernameByPeer",
-391798010: "CRC32_username_search",
}
var TLConstructor_value = map[string]int32{
"CRC32_UNKNOWN": 0,
"CRC32_usernameNotExisted": -885195923,
"CRC32_usernameExisted": -1394084659,
"CRC32_usernameExistedNotMe": -803256399,
"CRC32_usernameExistedIsMe": -2024900751,
"CRC32_usernameData": -1438646081,
"CRC32_username_getAccountUsername": 154073301,
"CRC32_username_checkAccountUsername": 1240985861,
"CRC32_username_getChannelUsername": -2038134827,
"CRC32_username_checkChannelUsername": 651476637,
"CRC32_username_updateUsernameByPeer": 1718205916,
"CRC32_username_checkUsername": 684369621,
"CRC32_username_updateUsername": 1389777971,
"CRC32_username_deleteUsername": -1065913464,
"CRC32_username_resolveUsername": 2008689862,
"CRC32_username_getListByUsernameList": 1218942797,
"CRC32_username_deleteUsernameByPeer": 507822189,
"CRC32_username_search": -391798010,
}
Functions ¶
func CheckClassID ¶
func CheckUsernameInvalid ¶
func GetClazzID ¶
func GetRPCContextRegisters ¶
func GetRPCContextRegisters() map[string]RPCContextTuple
func NewTLObjectByClassID ¶
func RegisterRPCUsernameServer ¶
func RegisterRPCUsernameServer(s *grpc.Server, srv RPCUsernameServer)
Types ¶
type RPCContextTuple ¶
type RPCContextTuple struct { Method string NewReplyFunc newRPCReplyFunc }
func FindRPCContextTuple ¶
func FindRPCContextTuple(t interface{}) *RPCContextTuple
type RPCUsernameClient ¶
type RPCUsernameClient interface { UsernameGetAccountUsername(ctx context.Context, in *TLUsernameGetAccountUsername, opts ...grpc.CallOption) (*UsernameData, error) UsernameCheckAccountUsername(ctx context.Context, in *TLUsernameCheckAccountUsername, opts ...grpc.CallOption) (*UsernameExist, error) UsernameGetChannelUsername(ctx context.Context, in *TLUsernameGetChannelUsername, opts ...grpc.CallOption) (*UsernameData, error) UsernameCheckChannelUsername(ctx context.Context, in *TLUsernameCheckChannelUsername, opts ...grpc.CallOption) (*UsernameExist, error) UsernameUpdateUsernameByPeer(ctx context.Context, in *TLUsernameUpdateUsernameByPeer, opts ...grpc.CallOption) (*mtproto.Bool, error) UsernameCheckUsername(ctx context.Context, in *TLUsernameCheckUsername, opts ...grpc.CallOption) (*UsernameExist, error) UsernameUpdateUsername(ctx context.Context, in *TLUsernameUpdateUsername, opts ...grpc.CallOption) (*mtproto.Bool, error) UsernameDeleteUsername(ctx context.Context, in *TLUsernameDeleteUsername, opts ...grpc.CallOption) (*mtproto.Bool, error) UsernameResolveUsername(ctx context.Context, in *TLUsernameResolveUsername, opts ...grpc.CallOption) (*mtproto.Peer, error) UsernameGetListByUsernameList(ctx context.Context, in *TLUsernameGetListByUsernameList, opts ...grpc.CallOption) (*Vector_UsernameData, error) UsernameDeleteUsernameByPeer(ctx context.Context, in *TLUsernameDeleteUsernameByPeer, opts ...grpc.CallOption) (*mtproto.Bool, error) UsernameSearch(ctx context.Context, in *TLUsernameSearch, opts ...grpc.CallOption) (*Vector_UsernameData, error) }
RPCUsernameClient is the client API for RPCUsername service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRPCUsernameClient ¶
func NewRPCUsernameClient(cc *grpc.ClientConn) RPCUsernameClient
type RPCUsernameServer ¶
type RPCUsernameServer interface { UsernameGetAccountUsername(context.Context, *TLUsernameGetAccountUsername) (*UsernameData, error) UsernameCheckAccountUsername(context.Context, *TLUsernameCheckAccountUsername) (*UsernameExist, error) UsernameGetChannelUsername(context.Context, *TLUsernameGetChannelUsername) (*UsernameData, error) UsernameCheckChannelUsername(context.Context, *TLUsernameCheckChannelUsername) (*UsernameExist, error) UsernameUpdateUsernameByPeer(context.Context, *TLUsernameUpdateUsernameByPeer) (*mtproto.Bool, error) UsernameCheckUsername(context.Context, *TLUsernameCheckUsername) (*UsernameExist, error) UsernameUpdateUsername(context.Context, *TLUsernameUpdateUsername) (*mtproto.Bool, error) UsernameDeleteUsername(context.Context, *TLUsernameDeleteUsername) (*mtproto.Bool, error) UsernameResolveUsername(context.Context, *TLUsernameResolveUsername) (*mtproto.Peer, error) UsernameGetListByUsernameList(context.Context, *TLUsernameGetListByUsernameList) (*Vector_UsernameData, error) UsernameDeleteUsernameByPeer(context.Context, *TLUsernameDeleteUsernameByPeer) (*mtproto.Bool, error) UsernameSearch(context.Context, *TLUsernameSearch) (*Vector_UsernameData, error) }
RPCUsernameServer is the server API for RPCUsername service.
type TLConstructor ¶
type TLConstructor int32
const ( CRC32_UNKNOWN TLConstructor = 0 CRC32_usernameNotExisted TLConstructor = -885195923 CRC32_usernameExisted TLConstructor = -1394084659 CRC32_usernameExistedNotMe TLConstructor = -803256399 CRC32_usernameExistedIsMe TLConstructor = -2024900751 CRC32_usernameData TLConstructor = -1438646081 CRC32_username_getAccountUsername TLConstructor = 154073301 CRC32_username_checkAccountUsername TLConstructor = 1240985861 CRC32_username_getChannelUsername TLConstructor = -2038134827 CRC32_username_checkChannelUsername TLConstructor = 651476637 CRC32_username_updateUsernameByPeer TLConstructor = 1718205916 CRC32_username_checkUsername TLConstructor = 684369621 CRC32_username_updateUsername TLConstructor = 1389777971 CRC32_username_deleteUsername TLConstructor = -1065913464 CRC32_username_resolveUsername TLConstructor = 2008689862 CRC32_username_getListByUsernameList TLConstructor = 1218942797 CRC32_username_deleteUsernameByPeer TLConstructor = 507822189 CRC32_username_search TLConstructor = -391798010 )
func (TLConstructor) EnumDescriptor ¶
func (TLConstructor) EnumDescriptor() ([]byte, []int)
func (TLConstructor) String ¶
func (x TLConstructor) String() string
type TLUsernameCheckAccountUsername ¶
type TLUsernameCheckAccountUsername struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=username.TLConstructor" json:"constructor,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLUsernameCheckAccountUsername) CalcByteSize ¶
func (m *TLUsernameCheckAccountUsername) CalcByteSize(layer int32) int
func (*TLUsernameCheckAccountUsername) DebugString ¶
func (m *TLUsernameCheckAccountUsername) DebugString() string
func (*TLUsernameCheckAccountUsername) Decode ¶
func (m *TLUsernameCheckAccountUsername) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLUsernameCheckAccountUsername) Descriptor ¶
func (*TLUsernameCheckAccountUsername) Descriptor() ([]byte, []int)
func (*TLUsernameCheckAccountUsername) Encode ¶
func (m *TLUsernameCheckAccountUsername) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLUsernameCheckAccountUsername) GetConstructor ¶
func (m *TLUsernameCheckAccountUsername) GetConstructor() TLConstructor
func (*TLUsernameCheckAccountUsername) GetUserId ¶
func (m *TLUsernameCheckAccountUsername) GetUserId() int64
func (*TLUsernameCheckAccountUsername) GetUsername ¶
func (m *TLUsernameCheckAccountUsername) GetUsername() string
func (*TLUsernameCheckAccountUsername) GoString ¶
func (this *TLUsernameCheckAccountUsername) GoString() string
func (*TLUsernameCheckAccountUsername) Marshal ¶
func (m *TLUsernameCheckAccountUsername) Marshal() (dAtA []byte, err error)
func (*TLUsernameCheckAccountUsername) MarshalTo ¶
func (m *TLUsernameCheckAccountUsername) MarshalTo(dAtA []byte) (int, error)
func (*TLUsernameCheckAccountUsername) MarshalToSizedBuffer ¶
func (m *TLUsernameCheckAccountUsername) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLUsernameCheckAccountUsername) ProtoMessage ¶
func (*TLUsernameCheckAccountUsername) ProtoMessage()
func (*TLUsernameCheckAccountUsername) Reset ¶
func (m *TLUsernameCheckAccountUsername) Reset()
func (*TLUsernameCheckAccountUsername) Size ¶
func (m *TLUsernameCheckAccountUsername) Size() (n int)
func (*TLUsernameCheckAccountUsername) String ¶
func (m *TLUsernameCheckAccountUsername) String() string
func (*TLUsernameCheckAccountUsername) Unmarshal ¶
func (m *TLUsernameCheckAccountUsername) Unmarshal(dAtA []byte) error
func (*TLUsernameCheckAccountUsername) XXX_DiscardUnknown ¶
func (m *TLUsernameCheckAccountUsername) XXX_DiscardUnknown()
func (*TLUsernameCheckAccountUsername) XXX_Marshal ¶
func (m *TLUsernameCheckAccountUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLUsernameCheckAccountUsername) XXX_Merge ¶
func (m *TLUsernameCheckAccountUsername) XXX_Merge(src proto.Message)
func (*TLUsernameCheckAccountUsername) XXX_Size ¶
func (m *TLUsernameCheckAccountUsername) XXX_Size() int
func (*TLUsernameCheckAccountUsername) XXX_Unmarshal ¶
func (m *TLUsernameCheckAccountUsername) XXX_Unmarshal(b []byte) error
type TLUsernameCheckChannelUsername ¶
type TLUsernameCheckChannelUsername struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=username.TLConstructor" json:"constructor,omitempty"` ChannelId int64 `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLUsernameCheckChannelUsername) CalcByteSize ¶
func (m *TLUsernameCheckChannelUsername) CalcByteSize(layer int32) int
func (*TLUsernameCheckChannelUsername) DebugString ¶
func (m *TLUsernameCheckChannelUsername) DebugString() string
func (*TLUsernameCheckChannelUsername) Decode ¶
func (m *TLUsernameCheckChannelUsername) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLUsernameCheckChannelUsername) Descriptor ¶
func (*TLUsernameCheckChannelUsername) Descriptor() ([]byte, []int)
func (*TLUsernameCheckChannelUsername) Encode ¶
func (m *TLUsernameCheckChannelUsername) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLUsernameCheckChannelUsername) GetChannelId ¶
func (m *TLUsernameCheckChannelUsername) GetChannelId() int64
func (*TLUsernameCheckChannelUsername) GetConstructor ¶
func (m *TLUsernameCheckChannelUsername) GetConstructor() TLConstructor
func (*TLUsernameCheckChannelUsername) GetUsername ¶
func (m *TLUsernameCheckChannelUsername) GetUsername() string
func (*TLUsernameCheckChannelUsername) GoString ¶
func (this *TLUsernameCheckChannelUsername) GoString() string
func (*TLUsernameCheckChannelUsername) Marshal ¶
func (m *TLUsernameCheckChannelUsername) Marshal() (dAtA []byte, err error)
func (*TLUsernameCheckChannelUsername) MarshalTo ¶
func (m *TLUsernameCheckChannelUsername) MarshalTo(dAtA []byte) (int, error)
func (*TLUsernameCheckChannelUsername) MarshalToSizedBuffer ¶
func (m *TLUsernameCheckChannelUsername) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLUsernameCheckChannelUsername) ProtoMessage ¶
func (*TLUsernameCheckChannelUsername) ProtoMessage()
func (*TLUsernameCheckChannelUsername) Reset ¶
func (m *TLUsernameCheckChannelUsername) Reset()
func (*TLUsernameCheckChannelUsername) Size ¶
func (m *TLUsernameCheckChannelUsername) Size() (n int)
func (*TLUsernameCheckChannelUsername) String ¶
func (m *TLUsernameCheckChannelUsername) String() string
func (*TLUsernameCheckChannelUsername) Unmarshal ¶
func (m *TLUsernameCheckChannelUsername) Unmarshal(dAtA []byte) error
func (*TLUsernameCheckChannelUsername) XXX_DiscardUnknown ¶
func (m *TLUsernameCheckChannelUsername) XXX_DiscardUnknown()
func (*TLUsernameCheckChannelUsername) XXX_Marshal ¶
func (m *TLUsernameCheckChannelUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLUsernameCheckChannelUsername) XXX_Merge ¶
func (m *TLUsernameCheckChannelUsername) XXX_Merge(src proto.Message)
func (*TLUsernameCheckChannelUsername) XXX_Size ¶
func (m *TLUsernameCheckChannelUsername) XXX_Size() int
func (*TLUsernameCheckChannelUsername) XXX_Unmarshal ¶
func (m *TLUsernameCheckChannelUsername) XXX_Unmarshal(b []byte) error
type TLUsernameCheckUsername ¶
type TLUsernameCheckUsername struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=username.TLConstructor" json:"constructor,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLUsernameCheckUsername) CalcByteSize ¶
func (m *TLUsernameCheckUsername) CalcByteSize(layer int32) int
func (*TLUsernameCheckUsername) DebugString ¶
func (m *TLUsernameCheckUsername) DebugString() string
func (*TLUsernameCheckUsername) Decode ¶
func (m *TLUsernameCheckUsername) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLUsernameCheckUsername) Descriptor ¶
func (*TLUsernameCheckUsername) Descriptor() ([]byte, []int)
func (*TLUsernameCheckUsername) Encode ¶
func (m *TLUsernameCheckUsername) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLUsernameCheckUsername) GetConstructor ¶
func (m *TLUsernameCheckUsername) GetConstructor() TLConstructor
func (*TLUsernameCheckUsername) GetUsername ¶
func (m *TLUsernameCheckUsername) GetUsername() string
func (*TLUsernameCheckUsername) GoString ¶
func (this *TLUsernameCheckUsername) GoString() string
func (*TLUsernameCheckUsername) Marshal ¶
func (m *TLUsernameCheckUsername) Marshal() (dAtA []byte, err error)
func (*TLUsernameCheckUsername) MarshalTo ¶
func (m *TLUsernameCheckUsername) MarshalTo(dAtA []byte) (int, error)
func (*TLUsernameCheckUsername) MarshalToSizedBuffer ¶
func (m *TLUsernameCheckUsername) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLUsernameCheckUsername) ProtoMessage ¶
func (*TLUsernameCheckUsername) ProtoMessage()
func (*TLUsernameCheckUsername) Reset ¶
func (m *TLUsernameCheckUsername) Reset()
func (*TLUsernameCheckUsername) Size ¶
func (m *TLUsernameCheckUsername) Size() (n int)
func (*TLUsernameCheckUsername) String ¶
func (m *TLUsernameCheckUsername) String() string
func (*TLUsernameCheckUsername) Unmarshal ¶
func (m *TLUsernameCheckUsername) Unmarshal(dAtA []byte) error
func (*TLUsernameCheckUsername) XXX_DiscardUnknown ¶
func (m *TLUsernameCheckUsername) XXX_DiscardUnknown()
func (*TLUsernameCheckUsername) XXX_Marshal ¶
func (m *TLUsernameCheckUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLUsernameCheckUsername) XXX_Merge ¶
func (m *TLUsernameCheckUsername) XXX_Merge(src proto.Message)
func (*TLUsernameCheckUsername) XXX_Size ¶
func (m *TLUsernameCheckUsername) XXX_Size() int
func (*TLUsernameCheckUsername) XXX_Unmarshal ¶
func (m *TLUsernameCheckUsername) XXX_Unmarshal(b []byte) error
type TLUsernameData ¶
type TLUsernameData struct { Data2 *UsernameData `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func MakeTLUsernameData ¶
func MakeTLUsernameData(data2 *UsernameData) *TLUsernameData
MakeTLUsernameData
func (*TLUsernameData) CalcByteSize ¶
func (m *TLUsernameData) CalcByteSize(layer int32) int
func (*TLUsernameData) DebugString ¶
func (m *TLUsernameData) DebugString() string
func (*TLUsernameData) Descriptor ¶
func (*TLUsernameData) Descriptor() ([]byte, []int)
func (*TLUsernameData) Encode ¶
func (m *TLUsernameData) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLUsernameData) GetData2 ¶
func (m *TLUsernameData) GetData2() *UsernameData
func (*TLUsernameData) GetPeer ¶
func (m *TLUsernameData) GetPeer() *mtproto.Peer
func (*TLUsernameData) GetPredicateName ¶
func (m *TLUsernameData) GetPredicateName() string
func (*TLUsernameData) GetUsername ¶
func (m *TLUsernameData) GetUsername() string
func (*TLUsernameData) GoString ¶
func (this *TLUsernameData) GoString() string
func (*TLUsernameData) Marshal ¶
func (m *TLUsernameData) Marshal() (dAtA []byte, err error)
func (*TLUsernameData) MarshalToSizedBuffer ¶
func (m *TLUsernameData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLUsernameData) ProtoMessage ¶
func (*TLUsernameData) ProtoMessage()
func (*TLUsernameData) Reset ¶
func (m *TLUsernameData) Reset()
func (*TLUsernameData) SetPeer ¶
func (m *TLUsernameData) SetPeer(v *mtproto.Peer)
func (*TLUsernameData) Size ¶
func (m *TLUsernameData) Size() (n int)
func (*TLUsernameData) String ¶
func (m *TLUsernameData) String() string
func (*TLUsernameData) To_UsernameData ¶
func (m *TLUsernameData) To_UsernameData() *UsernameData
func (*TLUsernameData) Unmarshal ¶
func (m *TLUsernameData) Unmarshal(dAtA []byte) error
func (*TLUsernameData) XXX_DiscardUnknown ¶
func (m *TLUsernameData) XXX_DiscardUnknown()
func (*TLUsernameData) XXX_Marshal ¶
func (m *TLUsernameData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLUsernameData) XXX_Merge ¶
func (m *TLUsernameData) XXX_Merge(src proto.Message)
func (*TLUsernameData) XXX_Size ¶
func (m *TLUsernameData) XXX_Size() int
func (*TLUsernameData) XXX_Unmarshal ¶
func (m *TLUsernameData) XXX_Unmarshal(b []byte) error
type TLUsernameDeleteUsername ¶
type TLUsernameDeleteUsername struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=username.TLConstructor" json:"constructor,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLUsernameDeleteUsername) CalcByteSize ¶
func (m *TLUsernameDeleteUsername) CalcByteSize(layer int32) int
func (*TLUsernameDeleteUsername) DebugString ¶
func (m *TLUsernameDeleteUsername) DebugString() string
func (*TLUsernameDeleteUsername) Decode ¶
func (m *TLUsernameDeleteUsername) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLUsernameDeleteUsername) Descriptor ¶
func (*TLUsernameDeleteUsername) Descriptor() ([]byte, []int)
func (*TLUsernameDeleteUsername) Encode ¶
func (m *TLUsernameDeleteUsername) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLUsernameDeleteUsername) GetConstructor ¶
func (m *TLUsernameDeleteUsername) GetConstructor() TLConstructor
func (*TLUsernameDeleteUsername) GetUsername ¶
func (m *TLUsernameDeleteUsername) GetUsername() string
func (*TLUsernameDeleteUsername) GoString ¶
func (this *TLUsernameDeleteUsername) GoString() string
func (*TLUsernameDeleteUsername) Marshal ¶
func (m *TLUsernameDeleteUsername) Marshal() (dAtA []byte, err error)
func (*TLUsernameDeleteUsername) MarshalTo ¶
func (m *TLUsernameDeleteUsername) MarshalTo(dAtA []byte) (int, error)
func (*TLUsernameDeleteUsername) MarshalToSizedBuffer ¶
func (m *TLUsernameDeleteUsername) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLUsernameDeleteUsername) ProtoMessage ¶
func (*TLUsernameDeleteUsername) ProtoMessage()
func (*TLUsernameDeleteUsername) Reset ¶
func (m *TLUsernameDeleteUsername) Reset()
func (*TLUsernameDeleteUsername) Size ¶
func (m *TLUsernameDeleteUsername) Size() (n int)
func (*TLUsernameDeleteUsername) String ¶
func (m *TLUsernameDeleteUsername) String() string
func (*TLUsernameDeleteUsername) Unmarshal ¶
func (m *TLUsernameDeleteUsername) Unmarshal(dAtA []byte) error
func (*TLUsernameDeleteUsername) XXX_DiscardUnknown ¶
func (m *TLUsernameDeleteUsername) XXX_DiscardUnknown()
func (*TLUsernameDeleteUsername) XXX_Marshal ¶
func (m *TLUsernameDeleteUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLUsernameDeleteUsername) XXX_Merge ¶
func (m *TLUsernameDeleteUsername) XXX_Merge(src proto.Message)
func (*TLUsernameDeleteUsername) XXX_Size ¶
func (m *TLUsernameDeleteUsername) XXX_Size() int
func (*TLUsernameDeleteUsername) XXX_Unmarshal ¶
func (m *TLUsernameDeleteUsername) XXX_Unmarshal(b []byte) error
type TLUsernameDeleteUsernameByPeer ¶
type TLUsernameDeleteUsernameByPeer struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=username.TLConstructor" json:"constructor,omitempty"` PeerType int32 `protobuf:"varint,3,opt,name=peer_type,json=peerType,proto3" json:"peer_type,omitempty"` PeerId int64 `protobuf:"varint,4,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLUsernameDeleteUsernameByPeer) CalcByteSize ¶
func (m *TLUsernameDeleteUsernameByPeer) CalcByteSize(layer int32) int
func (*TLUsernameDeleteUsernameByPeer) DebugString ¶
func (m *TLUsernameDeleteUsernameByPeer) DebugString() string
func (*TLUsernameDeleteUsernameByPeer) Decode ¶
func (m *TLUsernameDeleteUsernameByPeer) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLUsernameDeleteUsernameByPeer) Descriptor ¶
func (*TLUsernameDeleteUsernameByPeer) Descriptor() ([]byte, []int)
func (*TLUsernameDeleteUsernameByPeer) Encode ¶
func (m *TLUsernameDeleteUsernameByPeer) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLUsernameDeleteUsernameByPeer) GetConstructor ¶
func (m *TLUsernameDeleteUsernameByPeer) GetConstructor() TLConstructor
func (*TLUsernameDeleteUsernameByPeer) GetPeerId ¶
func (m *TLUsernameDeleteUsernameByPeer) GetPeerId() int64
func (*TLUsernameDeleteUsernameByPeer) GetPeerType ¶
func (m *TLUsernameDeleteUsernameByPeer) GetPeerType() int32
func (*TLUsernameDeleteUsernameByPeer) GoString ¶
func (this *TLUsernameDeleteUsernameByPeer) GoString() string
func (*TLUsernameDeleteUsernameByPeer) Marshal ¶
func (m *TLUsernameDeleteUsernameByPeer) Marshal() (dAtA []byte, err error)
func (*TLUsernameDeleteUsernameByPeer) MarshalTo ¶
func (m *TLUsernameDeleteUsernameByPeer) MarshalTo(dAtA []byte) (int, error)
func (*TLUsernameDeleteUsernameByPeer) MarshalToSizedBuffer ¶
func (m *TLUsernameDeleteUsernameByPeer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLUsernameDeleteUsernameByPeer) ProtoMessage ¶
func (*TLUsernameDeleteUsernameByPeer) ProtoMessage()
func (*TLUsernameDeleteUsernameByPeer) Reset ¶
func (m *TLUsernameDeleteUsernameByPeer) Reset()
func (*TLUsernameDeleteUsernameByPeer) Size ¶
func (m *TLUsernameDeleteUsernameByPeer) Size() (n int)
func (*TLUsernameDeleteUsernameByPeer) String ¶
func (m *TLUsernameDeleteUsernameByPeer) String() string
func (*TLUsernameDeleteUsernameByPeer) Unmarshal ¶
func (m *TLUsernameDeleteUsernameByPeer) Unmarshal(dAtA []byte) error
func (*TLUsernameDeleteUsernameByPeer) XXX_DiscardUnknown ¶
func (m *TLUsernameDeleteUsernameByPeer) XXX_DiscardUnknown()
func (*TLUsernameDeleteUsernameByPeer) XXX_Marshal ¶
func (m *TLUsernameDeleteUsernameByPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLUsernameDeleteUsernameByPeer) XXX_Merge ¶
func (m *TLUsernameDeleteUsernameByPeer) XXX_Merge(src proto.Message)
func (*TLUsernameDeleteUsernameByPeer) XXX_Size ¶
func (m *TLUsernameDeleteUsernameByPeer) XXX_Size() int
func (*TLUsernameDeleteUsernameByPeer) XXX_Unmarshal ¶
func (m *TLUsernameDeleteUsernameByPeer) XXX_Unmarshal(b []byte) error
type TLUsernameExisted ¶
type TLUsernameExisted struct { Data2 *UsernameExist `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func MakeTLUsernameExisted ¶
func MakeTLUsernameExisted(data2 *UsernameExist) *TLUsernameExisted
MakeTLUsernameExisted
func (*TLUsernameExisted) CalcByteSize ¶
func (m *TLUsernameExisted) CalcByteSize(layer int32) int
func (*TLUsernameExisted) DebugString ¶
func (m *TLUsernameExisted) DebugString() string
func (*TLUsernameExisted) Decode ¶
func (m *TLUsernameExisted) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLUsernameExisted) Descriptor ¶
func (*TLUsernameExisted) Descriptor() ([]byte, []int)
func (*TLUsernameExisted) Encode ¶
func (m *TLUsernameExisted) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLUsernameExisted) GetData2 ¶
func (m *TLUsernameExisted) GetData2() *UsernameExist
func (*TLUsernameExisted) GetPredicateName ¶
func (m *TLUsernameExisted) GetPredicateName() string
func (*TLUsernameExisted) GoString ¶
func (this *TLUsernameExisted) GoString() string
func (*TLUsernameExisted) Marshal ¶
func (m *TLUsernameExisted) Marshal() (dAtA []byte, err error)
func (*TLUsernameExisted) MarshalTo ¶
func (m *TLUsernameExisted) MarshalTo(dAtA []byte) (int, error)
func (*TLUsernameExisted) MarshalToSizedBuffer ¶
func (m *TLUsernameExisted) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLUsernameExisted) ProtoMessage ¶
func (*TLUsernameExisted) ProtoMessage()
func (*TLUsernameExisted) Reset ¶
func (m *TLUsernameExisted) Reset()
func (*TLUsernameExisted) Size ¶
func (m *TLUsernameExisted) Size() (n int)
func (*TLUsernameExisted) String ¶
func (m *TLUsernameExisted) String() string
func (*TLUsernameExisted) To_UsernameExist ¶
func (m *TLUsernameExisted) To_UsernameExist() *UsernameExist
func (*TLUsernameExisted) Unmarshal ¶
func (m *TLUsernameExisted) Unmarshal(dAtA []byte) error
func (*TLUsernameExisted) XXX_DiscardUnknown ¶
func (m *TLUsernameExisted) XXX_DiscardUnknown()
func (*TLUsernameExisted) XXX_Marshal ¶
func (m *TLUsernameExisted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLUsernameExisted) XXX_Merge ¶
func (m *TLUsernameExisted) XXX_Merge(src proto.Message)
func (*TLUsernameExisted) XXX_Size ¶
func (m *TLUsernameExisted) XXX_Size() int
func (*TLUsernameExisted) XXX_Unmarshal ¶
func (m *TLUsernameExisted) XXX_Unmarshal(b []byte) error
type TLUsernameExistedIsMe ¶
type TLUsernameExistedIsMe struct { Data2 *UsernameExist `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func MakeTLUsernameExistedIsMe ¶
func MakeTLUsernameExistedIsMe(data2 *UsernameExist) *TLUsernameExistedIsMe
MakeTLUsernameExistedIsMe
func (*TLUsernameExistedIsMe) CalcByteSize ¶
func (m *TLUsernameExistedIsMe) CalcByteSize(layer int32) int
func (*TLUsernameExistedIsMe) DebugString ¶
func (m *TLUsernameExistedIsMe) DebugString() string
func (*TLUsernameExistedIsMe) Decode ¶
func (m *TLUsernameExistedIsMe) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLUsernameExistedIsMe) Descriptor ¶
func (*TLUsernameExistedIsMe) Descriptor() ([]byte, []int)
func (*TLUsernameExistedIsMe) Encode ¶
func (m *TLUsernameExistedIsMe) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLUsernameExistedIsMe) GetData2 ¶
func (m *TLUsernameExistedIsMe) GetData2() *UsernameExist
func (*TLUsernameExistedIsMe) GetPredicateName ¶
func (m *TLUsernameExistedIsMe) GetPredicateName() string
func (*TLUsernameExistedIsMe) GoString ¶
func (this *TLUsernameExistedIsMe) GoString() string
func (*TLUsernameExistedIsMe) Marshal ¶
func (m *TLUsernameExistedIsMe) Marshal() (dAtA []byte, err error)
func (*TLUsernameExistedIsMe) MarshalTo ¶
func (m *TLUsernameExistedIsMe) MarshalTo(dAtA []byte) (int, error)
func (*TLUsernameExistedIsMe) MarshalToSizedBuffer ¶
func (m *TLUsernameExistedIsMe) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLUsernameExistedIsMe) ProtoMessage ¶
func (*TLUsernameExistedIsMe) ProtoMessage()
func (*TLUsernameExistedIsMe) Reset ¶
func (m *TLUsernameExistedIsMe) Reset()
func (*TLUsernameExistedIsMe) Size ¶
func (m *TLUsernameExistedIsMe) Size() (n int)
func (*TLUsernameExistedIsMe) String ¶
func (m *TLUsernameExistedIsMe) String() string
func (*TLUsernameExistedIsMe) To_UsernameExist ¶
func (m *TLUsernameExistedIsMe) To_UsernameExist() *UsernameExist
func (*TLUsernameExistedIsMe) Unmarshal ¶
func (m *TLUsernameExistedIsMe) Unmarshal(dAtA []byte) error
func (*TLUsernameExistedIsMe) XXX_DiscardUnknown ¶
func (m *TLUsernameExistedIsMe) XXX_DiscardUnknown()
func (*TLUsernameExistedIsMe) XXX_Marshal ¶
func (m *TLUsernameExistedIsMe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLUsernameExistedIsMe) XXX_Merge ¶
func (m *TLUsernameExistedIsMe) XXX_Merge(src proto.Message)
func (*TLUsernameExistedIsMe) XXX_Size ¶
func (m *TLUsernameExistedIsMe) XXX_Size() int
func (*TLUsernameExistedIsMe) XXX_Unmarshal ¶
func (m *TLUsernameExistedIsMe) XXX_Unmarshal(b []byte) error
type TLUsernameExistedNotMe ¶
type TLUsernameExistedNotMe struct { Data2 *UsernameExist `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func MakeTLUsernameExistedNotMe ¶
func MakeTLUsernameExistedNotMe(data2 *UsernameExist) *TLUsernameExistedNotMe
MakeTLUsernameExistedNotMe
func (*TLUsernameExistedNotMe) CalcByteSize ¶
func (m *TLUsernameExistedNotMe) CalcByteSize(layer int32) int
func (*TLUsernameExistedNotMe) DebugString ¶
func (m *TLUsernameExistedNotMe) DebugString() string
func (*TLUsernameExistedNotMe) Decode ¶
func (m *TLUsernameExistedNotMe) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLUsernameExistedNotMe) Descriptor ¶
func (*TLUsernameExistedNotMe) Descriptor() ([]byte, []int)
func (*TLUsernameExistedNotMe) Encode ¶
func (m *TLUsernameExistedNotMe) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLUsernameExistedNotMe) GetData2 ¶
func (m *TLUsernameExistedNotMe) GetData2() *UsernameExist
func (*TLUsernameExistedNotMe) GetPredicateName ¶
func (m *TLUsernameExistedNotMe) GetPredicateName() string
func (*TLUsernameExistedNotMe) GoString ¶
func (this *TLUsernameExistedNotMe) GoString() string
func (*TLUsernameExistedNotMe) Marshal ¶
func (m *TLUsernameExistedNotMe) Marshal() (dAtA []byte, err error)
func (*TLUsernameExistedNotMe) MarshalTo ¶
func (m *TLUsernameExistedNotMe) MarshalTo(dAtA []byte) (int, error)
func (*TLUsernameExistedNotMe) MarshalToSizedBuffer ¶
func (m *TLUsernameExistedNotMe) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLUsernameExistedNotMe) ProtoMessage ¶
func (*TLUsernameExistedNotMe) ProtoMessage()
func (*TLUsernameExistedNotMe) Reset ¶
func (m *TLUsernameExistedNotMe) Reset()
func (*TLUsernameExistedNotMe) Size ¶
func (m *TLUsernameExistedNotMe) Size() (n int)
func (*TLUsernameExistedNotMe) String ¶
func (m *TLUsernameExistedNotMe) String() string
func (*TLUsernameExistedNotMe) To_UsernameExist ¶
func (m *TLUsernameExistedNotMe) To_UsernameExist() *UsernameExist
func (*TLUsernameExistedNotMe) Unmarshal ¶
func (m *TLUsernameExistedNotMe) Unmarshal(dAtA []byte) error
func (*TLUsernameExistedNotMe) XXX_DiscardUnknown ¶
func (m *TLUsernameExistedNotMe) XXX_DiscardUnknown()
func (*TLUsernameExistedNotMe) XXX_Marshal ¶
func (m *TLUsernameExistedNotMe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLUsernameExistedNotMe) XXX_Merge ¶
func (m *TLUsernameExistedNotMe) XXX_Merge(src proto.Message)
func (*TLUsernameExistedNotMe) XXX_Size ¶
func (m *TLUsernameExistedNotMe) XXX_Size() int
func (*TLUsernameExistedNotMe) XXX_Unmarshal ¶
func (m *TLUsernameExistedNotMe) XXX_Unmarshal(b []byte) error
type TLUsernameGetAccountUsername ¶
type TLUsernameGetAccountUsername struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=username.TLConstructor" json:"constructor,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLUsernameGetAccountUsername) CalcByteSize ¶
func (m *TLUsernameGetAccountUsername) CalcByteSize(layer int32) int
func (*TLUsernameGetAccountUsername) DebugString ¶
func (m *TLUsernameGetAccountUsername) DebugString() string
func (*TLUsernameGetAccountUsername) Decode ¶
func (m *TLUsernameGetAccountUsername) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLUsernameGetAccountUsername) Descriptor ¶
func (*TLUsernameGetAccountUsername) Descriptor() ([]byte, []int)
func (*TLUsernameGetAccountUsername) Encode ¶
func (m *TLUsernameGetAccountUsername) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLUsernameGetAccountUsername) GetConstructor ¶
func (m *TLUsernameGetAccountUsername) GetConstructor() TLConstructor
func (*TLUsernameGetAccountUsername) GetUserId ¶
func (m *TLUsernameGetAccountUsername) GetUserId() int64
func (*TLUsernameGetAccountUsername) GoString ¶
func (this *TLUsernameGetAccountUsername) GoString() string
func (*TLUsernameGetAccountUsername) Marshal ¶
func (m *TLUsernameGetAccountUsername) Marshal() (dAtA []byte, err error)
func (*TLUsernameGetAccountUsername) MarshalTo ¶
func (m *TLUsernameGetAccountUsername) MarshalTo(dAtA []byte) (int, error)
func (*TLUsernameGetAccountUsername) MarshalToSizedBuffer ¶
func (m *TLUsernameGetAccountUsername) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLUsernameGetAccountUsername) ProtoMessage ¶
func (*TLUsernameGetAccountUsername) ProtoMessage()
func (*TLUsernameGetAccountUsername) Reset ¶
func (m *TLUsernameGetAccountUsername) Reset()
func (*TLUsernameGetAccountUsername) Size ¶
func (m *TLUsernameGetAccountUsername) Size() (n int)
func (*TLUsernameGetAccountUsername) String ¶
func (m *TLUsernameGetAccountUsername) String() string
func (*TLUsernameGetAccountUsername) Unmarshal ¶
func (m *TLUsernameGetAccountUsername) Unmarshal(dAtA []byte) error
func (*TLUsernameGetAccountUsername) XXX_DiscardUnknown ¶
func (m *TLUsernameGetAccountUsername) XXX_DiscardUnknown()
func (*TLUsernameGetAccountUsername) XXX_Marshal ¶
func (m *TLUsernameGetAccountUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLUsernameGetAccountUsername) XXX_Merge ¶
func (m *TLUsernameGetAccountUsername) XXX_Merge(src proto.Message)
func (*TLUsernameGetAccountUsername) XXX_Size ¶
func (m *TLUsernameGetAccountUsername) XXX_Size() int
func (*TLUsernameGetAccountUsername) XXX_Unmarshal ¶
func (m *TLUsernameGetAccountUsername) XXX_Unmarshal(b []byte) error
type TLUsernameGetChannelUsername ¶
type TLUsernameGetChannelUsername struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=username.TLConstructor" json:"constructor,omitempty"` ChannelId int64 `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLUsernameGetChannelUsername) CalcByteSize ¶
func (m *TLUsernameGetChannelUsername) CalcByteSize(layer int32) int
func (*TLUsernameGetChannelUsername) DebugString ¶
func (m *TLUsernameGetChannelUsername) DebugString() string
func (*TLUsernameGetChannelUsername) Decode ¶
func (m *TLUsernameGetChannelUsername) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLUsernameGetChannelUsername) Descriptor ¶
func (*TLUsernameGetChannelUsername) Descriptor() ([]byte, []int)
func (*TLUsernameGetChannelUsername) Encode ¶
func (m *TLUsernameGetChannelUsername) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLUsernameGetChannelUsername) GetChannelId ¶
func (m *TLUsernameGetChannelUsername) GetChannelId() int64
func (*TLUsernameGetChannelUsername) GetConstructor ¶
func (m *TLUsernameGetChannelUsername) GetConstructor() TLConstructor
func (*TLUsernameGetChannelUsername) GoString ¶
func (this *TLUsernameGetChannelUsername) GoString() string
func (*TLUsernameGetChannelUsername) Marshal ¶
func (m *TLUsernameGetChannelUsername) Marshal() (dAtA []byte, err error)
func (*TLUsernameGetChannelUsername) MarshalTo ¶
func (m *TLUsernameGetChannelUsername) MarshalTo(dAtA []byte) (int, error)
func (*TLUsernameGetChannelUsername) MarshalToSizedBuffer ¶
func (m *TLUsernameGetChannelUsername) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLUsernameGetChannelUsername) ProtoMessage ¶
func (*TLUsernameGetChannelUsername) ProtoMessage()
func (*TLUsernameGetChannelUsername) Reset ¶
func (m *TLUsernameGetChannelUsername) Reset()
func (*TLUsernameGetChannelUsername) Size ¶
func (m *TLUsernameGetChannelUsername) Size() (n int)
func (*TLUsernameGetChannelUsername) String ¶
func (m *TLUsernameGetChannelUsername) String() string
func (*TLUsernameGetChannelUsername) Unmarshal ¶
func (m *TLUsernameGetChannelUsername) Unmarshal(dAtA []byte) error
func (*TLUsernameGetChannelUsername) XXX_DiscardUnknown ¶
func (m *TLUsernameGetChannelUsername) XXX_DiscardUnknown()
func (*TLUsernameGetChannelUsername) XXX_Marshal ¶
func (m *TLUsernameGetChannelUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLUsernameGetChannelUsername) XXX_Merge ¶
func (m *TLUsernameGetChannelUsername) XXX_Merge(src proto.Message)
func (*TLUsernameGetChannelUsername) XXX_Size ¶
func (m *TLUsernameGetChannelUsername) XXX_Size() int
func (*TLUsernameGetChannelUsername) XXX_Unmarshal ¶
func (m *TLUsernameGetChannelUsername) XXX_Unmarshal(b []byte) error
type TLUsernameGetListByUsernameList ¶
type TLUsernameGetListByUsernameList struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=username.TLConstructor" json:"constructor,omitempty"` Names []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLUsernameGetListByUsernameList) CalcByteSize ¶
func (m *TLUsernameGetListByUsernameList) CalcByteSize(layer int32) int
func (*TLUsernameGetListByUsernameList) DebugString ¶
func (m *TLUsernameGetListByUsernameList) DebugString() string
func (*TLUsernameGetListByUsernameList) Decode ¶
func (m *TLUsernameGetListByUsernameList) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLUsernameGetListByUsernameList) Descriptor ¶
func (*TLUsernameGetListByUsernameList) Descriptor() ([]byte, []int)
func (*TLUsernameGetListByUsernameList) Encode ¶
func (m *TLUsernameGetListByUsernameList) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLUsernameGetListByUsernameList) GetConstructor ¶
func (m *TLUsernameGetListByUsernameList) GetConstructor() TLConstructor
func (*TLUsernameGetListByUsernameList) GetNames ¶
func (m *TLUsernameGetListByUsernameList) GetNames() []string
func (*TLUsernameGetListByUsernameList) GoString ¶
func (this *TLUsernameGetListByUsernameList) GoString() string
func (*TLUsernameGetListByUsernameList) Marshal ¶
func (m *TLUsernameGetListByUsernameList) Marshal() (dAtA []byte, err error)
func (*TLUsernameGetListByUsernameList) MarshalTo ¶
func (m *TLUsernameGetListByUsernameList) MarshalTo(dAtA []byte) (int, error)
func (*TLUsernameGetListByUsernameList) MarshalToSizedBuffer ¶
func (m *TLUsernameGetListByUsernameList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLUsernameGetListByUsernameList) ProtoMessage ¶
func (*TLUsernameGetListByUsernameList) ProtoMessage()
func (*TLUsernameGetListByUsernameList) Reset ¶
func (m *TLUsernameGetListByUsernameList) Reset()
func (*TLUsernameGetListByUsernameList) Size ¶
func (m *TLUsernameGetListByUsernameList) Size() (n int)
func (*TLUsernameGetListByUsernameList) String ¶
func (m *TLUsernameGetListByUsernameList) String() string
func (*TLUsernameGetListByUsernameList) Unmarshal ¶
func (m *TLUsernameGetListByUsernameList) Unmarshal(dAtA []byte) error
func (*TLUsernameGetListByUsernameList) XXX_DiscardUnknown ¶
func (m *TLUsernameGetListByUsernameList) XXX_DiscardUnknown()
func (*TLUsernameGetListByUsernameList) XXX_Marshal ¶
func (m *TLUsernameGetListByUsernameList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLUsernameGetListByUsernameList) XXX_Merge ¶
func (m *TLUsernameGetListByUsernameList) XXX_Merge(src proto.Message)
func (*TLUsernameGetListByUsernameList) XXX_Size ¶
func (m *TLUsernameGetListByUsernameList) XXX_Size() int
func (*TLUsernameGetListByUsernameList) XXX_Unmarshal ¶
func (m *TLUsernameGetListByUsernameList) XXX_Unmarshal(b []byte) error
type TLUsernameNotExisted ¶
type TLUsernameNotExisted struct { Data2 *UsernameExist `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func MakeTLUsernameNotExisted ¶
func MakeTLUsernameNotExisted(data2 *UsernameExist) *TLUsernameNotExisted
MakeTLUsernameNotExisted
func (*TLUsernameNotExisted) CalcByteSize ¶
func (m *TLUsernameNotExisted) CalcByteSize(layer int32) int
func (*TLUsernameNotExisted) DebugString ¶
func (m *TLUsernameNotExisted) DebugString() string
func (*TLUsernameNotExisted) Decode ¶
func (m *TLUsernameNotExisted) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLUsernameNotExisted) Descriptor ¶
func (*TLUsernameNotExisted) Descriptor() ([]byte, []int)
func (*TLUsernameNotExisted) Encode ¶
func (m *TLUsernameNotExisted) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLUsernameNotExisted) GetData2 ¶
func (m *TLUsernameNotExisted) GetData2() *UsernameExist
func (*TLUsernameNotExisted) GetPredicateName ¶
func (m *TLUsernameNotExisted) GetPredicateName() string
func (*TLUsernameNotExisted) GoString ¶
func (this *TLUsernameNotExisted) GoString() string
func (*TLUsernameNotExisted) Marshal ¶
func (m *TLUsernameNotExisted) Marshal() (dAtA []byte, err error)
func (*TLUsernameNotExisted) MarshalTo ¶
func (m *TLUsernameNotExisted) MarshalTo(dAtA []byte) (int, error)
func (*TLUsernameNotExisted) MarshalToSizedBuffer ¶
func (m *TLUsernameNotExisted) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLUsernameNotExisted) ProtoMessage ¶
func (*TLUsernameNotExisted) ProtoMessage()
func (*TLUsernameNotExisted) Reset ¶
func (m *TLUsernameNotExisted) Reset()
func (*TLUsernameNotExisted) Size ¶
func (m *TLUsernameNotExisted) Size() (n int)
func (*TLUsernameNotExisted) String ¶
func (m *TLUsernameNotExisted) String() string
func (*TLUsernameNotExisted) To_UsernameExist ¶
func (m *TLUsernameNotExisted) To_UsernameExist() *UsernameExist
func (*TLUsernameNotExisted) Unmarshal ¶
func (m *TLUsernameNotExisted) Unmarshal(dAtA []byte) error
func (*TLUsernameNotExisted) XXX_DiscardUnknown ¶
func (m *TLUsernameNotExisted) XXX_DiscardUnknown()
func (*TLUsernameNotExisted) XXX_Marshal ¶
func (m *TLUsernameNotExisted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLUsernameNotExisted) XXX_Merge ¶
func (m *TLUsernameNotExisted) XXX_Merge(src proto.Message)
func (*TLUsernameNotExisted) XXX_Size ¶
func (m *TLUsernameNotExisted) XXX_Size() int
func (*TLUsernameNotExisted) XXX_Unmarshal ¶
func (m *TLUsernameNotExisted) XXX_Unmarshal(b []byte) error
type TLUsernameResolveUsername ¶
type TLUsernameResolveUsername struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=username.TLConstructor" json:"constructor,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLUsernameResolveUsername) CalcByteSize ¶
func (m *TLUsernameResolveUsername) CalcByteSize(layer int32) int
func (*TLUsernameResolveUsername) DebugString ¶
func (m *TLUsernameResolveUsername) DebugString() string
func (*TLUsernameResolveUsername) Decode ¶
func (m *TLUsernameResolveUsername) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLUsernameResolveUsername) Descriptor ¶
func (*TLUsernameResolveUsername) Descriptor() ([]byte, []int)
func (*TLUsernameResolveUsername) Encode ¶
func (m *TLUsernameResolveUsername) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLUsernameResolveUsername) GetConstructor ¶
func (m *TLUsernameResolveUsername) GetConstructor() TLConstructor
func (*TLUsernameResolveUsername) GetUsername ¶
func (m *TLUsernameResolveUsername) GetUsername() string
func (*TLUsernameResolveUsername) GoString ¶
func (this *TLUsernameResolveUsername) GoString() string
func (*TLUsernameResolveUsername) Marshal ¶
func (m *TLUsernameResolveUsername) Marshal() (dAtA []byte, err error)
func (*TLUsernameResolveUsername) MarshalTo ¶
func (m *TLUsernameResolveUsername) MarshalTo(dAtA []byte) (int, error)
func (*TLUsernameResolveUsername) MarshalToSizedBuffer ¶
func (m *TLUsernameResolveUsername) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLUsernameResolveUsername) ProtoMessage ¶
func (*TLUsernameResolveUsername) ProtoMessage()
func (*TLUsernameResolveUsername) Reset ¶
func (m *TLUsernameResolveUsername) Reset()
func (*TLUsernameResolveUsername) Size ¶
func (m *TLUsernameResolveUsername) Size() (n int)
func (*TLUsernameResolveUsername) String ¶
func (m *TLUsernameResolveUsername) String() string
func (*TLUsernameResolveUsername) Unmarshal ¶
func (m *TLUsernameResolveUsername) Unmarshal(dAtA []byte) error
func (*TLUsernameResolveUsername) XXX_DiscardUnknown ¶
func (m *TLUsernameResolveUsername) XXX_DiscardUnknown()
func (*TLUsernameResolveUsername) XXX_Marshal ¶
func (m *TLUsernameResolveUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLUsernameResolveUsername) XXX_Merge ¶
func (m *TLUsernameResolveUsername) XXX_Merge(src proto.Message)
func (*TLUsernameResolveUsername) XXX_Size ¶
func (m *TLUsernameResolveUsername) XXX_Size() int
func (*TLUsernameResolveUsername) XXX_Unmarshal ¶
func (m *TLUsernameResolveUsername) XXX_Unmarshal(b []byte) error
type TLUsernameSearch ¶
type TLUsernameSearch struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=username.TLConstructor" json:"constructor,omitempty"` Q string `protobuf:"bytes,3,opt,name=q,proto3" json:"q,omitempty"` ExcludedContacts []int64 `protobuf:"varint,4,rep,packed,name=excluded_contacts,json=excludedContacts,proto3" json:"excluded_contacts,omitempty"` Limit int32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLUsernameSearch) CalcByteSize ¶
func (m *TLUsernameSearch) CalcByteSize(layer int32) int
func (*TLUsernameSearch) DebugString ¶
func (m *TLUsernameSearch) DebugString() string
func (*TLUsernameSearch) Descriptor ¶
func (*TLUsernameSearch) Descriptor() ([]byte, []int)
func (*TLUsernameSearch) Encode ¶
func (m *TLUsernameSearch) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLUsernameSearch) GetConstructor ¶
func (m *TLUsernameSearch) GetConstructor() TLConstructor
func (*TLUsernameSearch) GetExcludedContacts ¶
func (m *TLUsernameSearch) GetExcludedContacts() []int64
func (*TLUsernameSearch) GetLimit ¶
func (m *TLUsernameSearch) GetLimit() int32
func (*TLUsernameSearch) GetQ ¶
func (m *TLUsernameSearch) GetQ() string
func (*TLUsernameSearch) GoString ¶
func (this *TLUsernameSearch) GoString() string
func (*TLUsernameSearch) Marshal ¶
func (m *TLUsernameSearch) Marshal() (dAtA []byte, err error)
func (*TLUsernameSearch) MarshalToSizedBuffer ¶
func (m *TLUsernameSearch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLUsernameSearch) ProtoMessage ¶
func (*TLUsernameSearch) ProtoMessage()
func (*TLUsernameSearch) Reset ¶
func (m *TLUsernameSearch) Reset()
func (*TLUsernameSearch) Size ¶
func (m *TLUsernameSearch) Size() (n int)
func (*TLUsernameSearch) String ¶
func (m *TLUsernameSearch) String() string
func (*TLUsernameSearch) Unmarshal ¶
func (m *TLUsernameSearch) Unmarshal(dAtA []byte) error
func (*TLUsernameSearch) XXX_DiscardUnknown ¶
func (m *TLUsernameSearch) XXX_DiscardUnknown()
func (*TLUsernameSearch) XXX_Marshal ¶
func (m *TLUsernameSearch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLUsernameSearch) XXX_Merge ¶
func (m *TLUsernameSearch) XXX_Merge(src proto.Message)
func (*TLUsernameSearch) XXX_Size ¶
func (m *TLUsernameSearch) XXX_Size() int
func (*TLUsernameSearch) XXX_Unmarshal ¶
func (m *TLUsernameSearch) XXX_Unmarshal(b []byte) error
type TLUsernameUpdateUsername ¶
type TLUsernameUpdateUsername struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=username.TLConstructor" json:"constructor,omitempty"` PeerType int32 `protobuf:"varint,3,opt,name=peer_type,json=peerType,proto3" json:"peer_type,omitempty"` PeerId int64 `protobuf:"varint,4,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLUsernameUpdateUsername) CalcByteSize ¶
func (m *TLUsernameUpdateUsername) CalcByteSize(layer int32) int
func (*TLUsernameUpdateUsername) DebugString ¶
func (m *TLUsernameUpdateUsername) DebugString() string
func (*TLUsernameUpdateUsername) Decode ¶
func (m *TLUsernameUpdateUsername) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLUsernameUpdateUsername) Descriptor ¶
func (*TLUsernameUpdateUsername) Descriptor() ([]byte, []int)
func (*TLUsernameUpdateUsername) Encode ¶
func (m *TLUsernameUpdateUsername) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLUsernameUpdateUsername) GetConstructor ¶
func (m *TLUsernameUpdateUsername) GetConstructor() TLConstructor
func (*TLUsernameUpdateUsername) GetPeerId ¶
func (m *TLUsernameUpdateUsername) GetPeerId() int64
func (*TLUsernameUpdateUsername) GetPeerType ¶
func (m *TLUsernameUpdateUsername) GetPeerType() int32
func (*TLUsernameUpdateUsername) GetUsername ¶
func (m *TLUsernameUpdateUsername) GetUsername() string
func (*TLUsernameUpdateUsername) GoString ¶
func (this *TLUsernameUpdateUsername) GoString() string
func (*TLUsernameUpdateUsername) Marshal ¶
func (m *TLUsernameUpdateUsername) Marshal() (dAtA []byte, err error)
func (*TLUsernameUpdateUsername) MarshalTo ¶
func (m *TLUsernameUpdateUsername) MarshalTo(dAtA []byte) (int, error)
func (*TLUsernameUpdateUsername) MarshalToSizedBuffer ¶
func (m *TLUsernameUpdateUsername) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLUsernameUpdateUsername) ProtoMessage ¶
func (*TLUsernameUpdateUsername) ProtoMessage()
func (*TLUsernameUpdateUsername) Reset ¶
func (m *TLUsernameUpdateUsername) Reset()
func (*TLUsernameUpdateUsername) Size ¶
func (m *TLUsernameUpdateUsername) Size() (n int)
func (*TLUsernameUpdateUsername) String ¶
func (m *TLUsernameUpdateUsername) String() string
func (*TLUsernameUpdateUsername) Unmarshal ¶
func (m *TLUsernameUpdateUsername) Unmarshal(dAtA []byte) error
func (*TLUsernameUpdateUsername) XXX_DiscardUnknown ¶
func (m *TLUsernameUpdateUsername) XXX_DiscardUnknown()
func (*TLUsernameUpdateUsername) XXX_Marshal ¶
func (m *TLUsernameUpdateUsername) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLUsernameUpdateUsername) XXX_Merge ¶
func (m *TLUsernameUpdateUsername) XXX_Merge(src proto.Message)
func (*TLUsernameUpdateUsername) XXX_Size ¶
func (m *TLUsernameUpdateUsername) XXX_Size() int
func (*TLUsernameUpdateUsername) XXX_Unmarshal ¶
func (m *TLUsernameUpdateUsername) XXX_Unmarshal(b []byte) error
type TLUsernameUpdateUsernameByPeer ¶
type TLUsernameUpdateUsernameByPeer struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=username.TLConstructor" json:"constructor,omitempty"` PeerType int32 `protobuf:"varint,3,opt,name=peer_type,json=peerType,proto3" json:"peer_type,omitempty"` PeerId int64 `protobuf:"varint,4,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLUsernameUpdateUsernameByPeer) CalcByteSize ¶
func (m *TLUsernameUpdateUsernameByPeer) CalcByteSize(layer int32) int
func (*TLUsernameUpdateUsernameByPeer) DebugString ¶
func (m *TLUsernameUpdateUsernameByPeer) DebugString() string
func (*TLUsernameUpdateUsernameByPeer) Decode ¶
func (m *TLUsernameUpdateUsernameByPeer) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLUsernameUpdateUsernameByPeer) Descriptor ¶
func (*TLUsernameUpdateUsernameByPeer) Descriptor() ([]byte, []int)
func (*TLUsernameUpdateUsernameByPeer) Encode ¶
func (m *TLUsernameUpdateUsernameByPeer) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLUsernameUpdateUsernameByPeer) GetConstructor ¶
func (m *TLUsernameUpdateUsernameByPeer) GetConstructor() TLConstructor
func (*TLUsernameUpdateUsernameByPeer) GetPeerId ¶
func (m *TLUsernameUpdateUsernameByPeer) GetPeerId() int64
func (*TLUsernameUpdateUsernameByPeer) GetPeerType ¶
func (m *TLUsernameUpdateUsernameByPeer) GetPeerType() int32
func (*TLUsernameUpdateUsernameByPeer) GetUsername ¶
func (m *TLUsernameUpdateUsernameByPeer) GetUsername() string
func (*TLUsernameUpdateUsernameByPeer) GoString ¶
func (this *TLUsernameUpdateUsernameByPeer) GoString() string
func (*TLUsernameUpdateUsernameByPeer) Marshal ¶
func (m *TLUsernameUpdateUsernameByPeer) Marshal() (dAtA []byte, err error)
func (*TLUsernameUpdateUsernameByPeer) MarshalTo ¶
func (m *TLUsernameUpdateUsernameByPeer) MarshalTo(dAtA []byte) (int, error)
func (*TLUsernameUpdateUsernameByPeer) MarshalToSizedBuffer ¶
func (m *TLUsernameUpdateUsernameByPeer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLUsernameUpdateUsernameByPeer) ProtoMessage ¶
func (*TLUsernameUpdateUsernameByPeer) ProtoMessage()
func (*TLUsernameUpdateUsernameByPeer) Reset ¶
func (m *TLUsernameUpdateUsernameByPeer) Reset()
func (*TLUsernameUpdateUsernameByPeer) Size ¶
func (m *TLUsernameUpdateUsernameByPeer) Size() (n int)
func (*TLUsernameUpdateUsernameByPeer) String ¶
func (m *TLUsernameUpdateUsernameByPeer) String() string
func (*TLUsernameUpdateUsernameByPeer) Unmarshal ¶
func (m *TLUsernameUpdateUsernameByPeer) Unmarshal(dAtA []byte) error
func (*TLUsernameUpdateUsernameByPeer) XXX_DiscardUnknown ¶
func (m *TLUsernameUpdateUsernameByPeer) XXX_DiscardUnknown()
func (*TLUsernameUpdateUsernameByPeer) XXX_Marshal ¶
func (m *TLUsernameUpdateUsernameByPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLUsernameUpdateUsernameByPeer) XXX_Merge ¶
func (m *TLUsernameUpdateUsernameByPeer) XXX_Merge(src proto.Message)
func (*TLUsernameUpdateUsernameByPeer) XXX_Size ¶
func (m *TLUsernameUpdateUsernameByPeer) XXX_Size() int
func (*TLUsernameUpdateUsernameByPeer) XXX_Unmarshal ¶
func (m *TLUsernameUpdateUsernameByPeer) XXX_Unmarshal(b []byte) error
type UnimplementedRPCUsernameServer ¶
type UnimplementedRPCUsernameServer struct { }
UnimplementedRPCUsernameServer can be embedded to have forward compatible implementations.
func (*UnimplementedRPCUsernameServer) UsernameCheckAccountUsername ¶
func (*UnimplementedRPCUsernameServer) UsernameCheckAccountUsername(ctx context.Context, req *TLUsernameCheckAccountUsername) (*UsernameExist, error)
func (*UnimplementedRPCUsernameServer) UsernameCheckChannelUsername ¶
func (*UnimplementedRPCUsernameServer) UsernameCheckChannelUsername(ctx context.Context, req *TLUsernameCheckChannelUsername) (*UsernameExist, error)
func (*UnimplementedRPCUsernameServer) UsernameCheckUsername ¶
func (*UnimplementedRPCUsernameServer) UsernameCheckUsername(ctx context.Context, req *TLUsernameCheckUsername) (*UsernameExist, error)
func (*UnimplementedRPCUsernameServer) UsernameDeleteUsername ¶
func (*UnimplementedRPCUsernameServer) UsernameDeleteUsername(ctx context.Context, req *TLUsernameDeleteUsername) (*mtproto.Bool, error)
func (*UnimplementedRPCUsernameServer) UsernameDeleteUsernameByPeer ¶
func (*UnimplementedRPCUsernameServer) UsernameDeleteUsernameByPeer(ctx context.Context, req *TLUsernameDeleteUsernameByPeer) (*mtproto.Bool, error)
func (*UnimplementedRPCUsernameServer) UsernameGetAccountUsername ¶
func (*UnimplementedRPCUsernameServer) UsernameGetAccountUsername(ctx context.Context, req *TLUsernameGetAccountUsername) (*UsernameData, error)
func (*UnimplementedRPCUsernameServer) UsernameGetChannelUsername ¶
func (*UnimplementedRPCUsernameServer) UsernameGetChannelUsername(ctx context.Context, req *TLUsernameGetChannelUsername) (*UsernameData, error)
func (*UnimplementedRPCUsernameServer) UsernameGetListByUsernameList ¶
func (*UnimplementedRPCUsernameServer) UsernameGetListByUsernameList(ctx context.Context, req *TLUsernameGetListByUsernameList) (*Vector_UsernameData, error)
func (*UnimplementedRPCUsernameServer) UsernameResolveUsername ¶
func (*UnimplementedRPCUsernameServer) UsernameResolveUsername(ctx context.Context, req *TLUsernameResolveUsername) (*mtproto.Peer, error)
func (*UnimplementedRPCUsernameServer) UsernameSearch ¶
func (*UnimplementedRPCUsernameServer) UsernameSearch(ctx context.Context, req *TLUsernameSearch) (*Vector_UsernameData, error)
func (*UnimplementedRPCUsernameServer) UsernameUpdateUsername ¶
func (*UnimplementedRPCUsernameServer) UsernameUpdateUsername(ctx context.Context, req *TLUsernameUpdateUsername) (*mtproto.Bool, error)
func (*UnimplementedRPCUsernameServer) UsernameUpdateUsernameByPeer ¶
func (*UnimplementedRPCUsernameServer) UsernameUpdateUsernameByPeer(ctx context.Context, req *TLUsernameUpdateUsernameByPeer) (*mtproto.Bool, error)
type UsernameData ¶
type UsernameData 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=username.TLConstructor" json:"constructor,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Peer *mtproto.Peer `protobuf:"bytes,4,opt,name=peer,proto3" json:"peer,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UsernameData <--
- TL_usernameData
func (*UsernameData) CalcByteSize ¶
func (m *UsernameData) CalcByteSize(layer int32) int
func (*UsernameData) DebugString ¶
func (m *UsernameData) DebugString() string
func (*UsernameData) Descriptor ¶
func (*UsernameData) Descriptor() ([]byte, []int)
func (*UsernameData) Encode ¶
func (m *UsernameData) Encode(x *mtproto.EncodeBuf, layer int32) []byte
func (*UsernameData) GetConstructor ¶
func (m *UsernameData) GetConstructor() TLConstructor
func (*UsernameData) GetPeer ¶
func (m *UsernameData) GetPeer() *mtproto.Peer
func (*UsernameData) GetPredicateName ¶
func (m *UsernameData) GetPredicateName() string
func (*UsernameData) GetUsername ¶
func (m *UsernameData) GetUsername() string
func (*UsernameData) GoString ¶
func (this *UsernameData) GoString() string
func (*UsernameData) Marshal ¶
func (m *UsernameData) Marshal() (dAtA []byte, err error)
func (*UsernameData) MarshalToSizedBuffer ¶
func (m *UsernameData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UsernameData) ProtoMessage ¶
func (*UsernameData) ProtoMessage()
func (*UsernameData) Reset ¶
func (m *UsernameData) Reset()
func (*UsernameData) Size ¶
func (m *UsernameData) Size() (n int)
func (*UsernameData) String ¶
func (m *UsernameData) String() string
func (*UsernameData) To_UsernameData ¶
func (m *UsernameData) To_UsernameData() *TLUsernameData
To_UsernameData
func (*UsernameData) Unmarshal ¶
func (m *UsernameData) Unmarshal(dAtA []byte) error
func (*UsernameData) XXX_DiscardUnknown ¶
func (m *UsernameData) XXX_DiscardUnknown()
func (*UsernameData) XXX_Marshal ¶
func (m *UsernameData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UsernameData) XXX_Merge ¶
func (m *UsernameData) XXX_Merge(src proto.Message)
func (*UsernameData) XXX_Size ¶
func (m *UsernameData) XXX_Size() int
func (*UsernameData) XXX_Unmarshal ¶
func (m *UsernameData) XXX_Unmarshal(b []byte) error
type UsernameExist ¶
type UsernameExist 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=username.TLConstructor" json:"constructor,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UsernameExist <--
- TL_usernameNotExisted
- TL_usernameExisted
- TL_usernameExistedNotMe
- TL_usernameExistedIsMe
func (*UsernameExist) CalcByteSize ¶
func (m *UsernameExist) CalcByteSize(layer int32) int
func (*UsernameExist) DebugString ¶
func (m *UsernameExist) DebugString() string
func (*UsernameExist) Descriptor ¶
func (*UsernameExist) Descriptor() ([]byte, []int)
func (*UsernameExist) Encode ¶
func (m *UsernameExist) Encode(x *mtproto.EncodeBuf, layer int32) []byte
func (*UsernameExist) GetConstructor ¶
func (m *UsernameExist) GetConstructor() TLConstructor
func (*UsernameExist) GetPredicateName ¶
func (m *UsernameExist) GetPredicateName() string
func (*UsernameExist) GoString ¶
func (this *UsernameExist) GoString() string
func (*UsernameExist) Marshal ¶
func (m *UsernameExist) Marshal() (dAtA []byte, err error)
func (*UsernameExist) MarshalToSizedBuffer ¶
func (m *UsernameExist) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UsernameExist) ProtoMessage ¶
func (*UsernameExist) ProtoMessage()
func (*UsernameExist) Reset ¶
func (m *UsernameExist) Reset()
func (*UsernameExist) Size ¶
func (m *UsernameExist) Size() (n int)
func (*UsernameExist) String ¶
func (m *UsernameExist) String() string
func (*UsernameExist) To_UsernameExisted ¶
func (m *UsernameExist) To_UsernameExisted() *TLUsernameExisted
To_UsernameExisted
func (*UsernameExist) To_UsernameExistedIsMe ¶
func (m *UsernameExist) To_UsernameExistedIsMe() *TLUsernameExistedIsMe
To_UsernameExistedIsMe
func (*UsernameExist) To_UsernameExistedNotMe ¶
func (m *UsernameExist) To_UsernameExistedNotMe() *TLUsernameExistedNotMe
To_UsernameExistedNotMe
func (*UsernameExist) To_UsernameNotExisted ¶
func (m *UsernameExist) To_UsernameNotExisted() *TLUsernameNotExisted
To_UsernameNotExisted
func (*UsernameExist) Unmarshal ¶
func (m *UsernameExist) Unmarshal(dAtA []byte) error
func (*UsernameExist) XXX_DiscardUnknown ¶
func (m *UsernameExist) XXX_DiscardUnknown()
func (*UsernameExist) XXX_Marshal ¶
func (m *UsernameExist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UsernameExist) XXX_Merge ¶
func (m *UsernameExist) XXX_Merge(src proto.Message)
func (*UsernameExist) XXX_Size ¶
func (m *UsernameExist) XXX_Size() int
func (*UsernameExist) XXX_Unmarshal ¶
func (m *UsernameExist) XXX_Unmarshal(b []byte) error
type Vector_UsernameData ¶
type Vector_UsernameData struct { Datas []*UsernameData `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_UsernameData) CalcByteSize ¶
func (m *Vector_UsernameData) CalcByteSize(layer int32) int
func (*Vector_UsernameData) DebugString ¶
func (m *Vector_UsernameData) DebugString() string
func (*Vector_UsernameData) Decode ¶
func (m *Vector_UsernameData) Decode(dBuf *mtproto.DecodeBuf) error
func (*Vector_UsernameData) Descriptor ¶
func (*Vector_UsernameData) Descriptor() ([]byte, []int)
func (*Vector_UsernameData) Encode ¶
func (m *Vector_UsernameData) Encode(x *mtproto.EncodeBuf, layer int32) error
---------------------------------------------------------------------------------------------------------------- Vector_UsernameData /////////////////////////////////////////////////////////////////////////////
func (*Vector_UsernameData) GetDatas ¶
func (m *Vector_UsernameData) GetDatas() []*UsernameData
func (*Vector_UsernameData) GoString ¶
func (this *Vector_UsernameData) GoString() string
func (*Vector_UsernameData) Marshal ¶
func (m *Vector_UsernameData) Marshal() (dAtA []byte, err error)
func (*Vector_UsernameData) MarshalTo ¶
func (m *Vector_UsernameData) MarshalTo(dAtA []byte) (int, error)
func (*Vector_UsernameData) MarshalToSizedBuffer ¶
func (m *Vector_UsernameData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Vector_UsernameData) ProtoMessage ¶
func (*Vector_UsernameData) ProtoMessage()
func (*Vector_UsernameData) Reset ¶
func (m *Vector_UsernameData) Reset()
func (*Vector_UsernameData) Size ¶
func (m *Vector_UsernameData) Size() (n int)
func (*Vector_UsernameData) String ¶
func (m *Vector_UsernameData) String() string
func (*Vector_UsernameData) Unmarshal ¶
func (m *Vector_UsernameData) Unmarshal(dAtA []byte) error
func (*Vector_UsernameData) XXX_DiscardUnknown ¶
func (m *Vector_UsernameData) XXX_DiscardUnknown()
func (*Vector_UsernameData) XXX_Marshal ¶
func (m *Vector_UsernameData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Vector_UsernameData) XXX_Merge ¶
func (m *Vector_UsernameData) XXX_Merge(src proto.Message)
func (*Vector_UsernameData) XXX_Size ¶
func (m *Vector_UsernameData) XXX_Size() int
func (*Vector_UsernameData) XXX_Unmarshal ¶
func (m *Vector_UsernameData) XXX_Unmarshal(b []byte) error