username

package
v0.96.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
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"
)
View Source
const (
	MinUsernameLen = 5
	MaxUsernameLen = 32
)
View Source
const (
	UsernameNotExisted   = 0
	UsernameExisted      = 1
	UsernameExistedNotMe = 2
	UsernameExistedIsMe  = 3
)

Variables

View Source
var (
	ErrInvalidLengthUsernameTl        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowUsernameTl          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupUsernameTl = fmt.Errorf("proto: unexpected end of group")
)
View Source
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",
}
View Source
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 CheckClassID(classId int32) (ok bool)

func CheckUsernameInvalid

func CheckUsernameInvalid(username string) bool

func GetClazzID

func GetClazzID(clazzName string, layer int) int32

func GetRPCContextRegisters

func GetRPCContextRegisters() map[string]RPCContextTuple

func NewTLObjectByClassID

func NewTLObjectByClassID(classId int32) mtproto.TLObject

func 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 (*TLUsernameCheckAccountUsername) Descriptor

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

func (*TLUsernameCheckAccountUsername) Encode

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 (*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 (*TLUsernameCheckChannelUsername) Descriptor

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

func (*TLUsernameCheckChannelUsername) Encode

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

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

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

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

func (m *TLUsernameData) SetUsername(v string)

// flags

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 (*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 (*TLUsernameDeleteUsernameByPeer) Descriptor

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

func (*TLUsernameDeleteUsernameByPeer) Encode

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 (*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 (*TLUsernameGetAccountUsername) Descriptor

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

func (*TLUsernameGetAccountUsername) Encode

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 (*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 (*TLUsernameGetChannelUsername) Descriptor

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

func (*TLUsernameGetChannelUsername) Encode

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 (*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 (*TLUsernameGetListByUsernameList) Descriptor

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

func (*TLUsernameGetListByUsernameList) Encode

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 (*TLUsernameGetListByUsernameList) Size

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

func (*TLUsernameGetListByUsernameList) 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 (*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) Decode

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

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

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

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

func (*TLUsernameUpdateUsernameByPeer) Encode

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 (*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) UsernameCheckChannelUsername

func (*UnimplementedRPCUsernameServer) UsernameCheckUsername

func (*UnimplementedRPCUsernameServer) UsernameDeleteUsername

func (*UnimplementedRPCUsernameServer) UsernameDeleteUsernameByPeer

func (*UnimplementedRPCUsernameServer) UsernameDeleteUsernameByPeer(ctx context.Context, req *TLUsernameDeleteUsernameByPeer) (*mtproto.Bool, error)

func (*UnimplementedRPCUsernameServer) UsernameGetAccountUsername

func (*UnimplementedRPCUsernameServer) UsernameGetChannelUsername

func (*UnimplementedRPCUsernameServer) UsernameGetListByUsernameList

func (*UnimplementedRPCUsernameServer) UsernameResolveUsername

func (*UnimplementedRPCUsernameServer) UsernameSearch

func (*UnimplementedRPCUsernameServer) UsernameUpdateUsername

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

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

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

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

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

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

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

Jump to

Keyboard shortcuts

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