authsession

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_clientSession                    = "clientSession"
	Predicate_authKeyStateData                 = "authKeyStateData"
	Predicate_authsession_getAuthorizations    = "authsession_getAuthorizations"
	Predicate_authsession_resetAuthorization   = "authsession_resetAuthorization"
	Predicate_authsession_getLayer             = "authsession_getLayer"
	Predicate_authsession_getLangPack          = "authsession_getLangPack"
	Predicate_authsession_getClient            = "authsession_getClient"
	Predicate_authsession_getLangCode          = "authsession_getLangCode"
	Predicate_authsession_getUserId            = "authsession_getUserId"
	Predicate_authsession_getPushSessionId     = "authsession_getPushSessionId"
	Predicate_authsession_getFutureSalts       = "authsession_getFutureSalts"
	Predicate_authsession_queryAuthKey         = "authsession_queryAuthKey"
	Predicate_authsession_setAuthKey           = "authsession_setAuthKey"
	Predicate_authsession_bindAuthKeyUser      = "authsession_bindAuthKeyUser"
	Predicate_authsession_unbindAuthKeyUser    = "authsession_unbindAuthKeyUser"
	Predicate_authsession_getPermAuthKeyId     = "authsession_getPermAuthKeyId"
	Predicate_authsession_bindTempAuthKey      = "authsession_bindTempAuthKey"
	Predicate_authsession_setClientSessionInfo = "authsession_setClientSessionInfo"
	Predicate_authsession_getAuthorization     = "authsession_getAuthorization"
	Predicate_authsession_getAuthStateData     = "authsession_getAuthStateData"
	Predicate_authsession_setLayer             = "authsession_setLayer"
	Predicate_authsession_setInitConnection    = "authsession_setInitConnection"
)

Variables

View Source
var (
	ErrInvalidLengthAuthsessionTl        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAuthsessionTl          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAuthsessionTl = fmt.Errorf("proto: unexpected end of group")
)
View Source
var TLConstructor_name = map[int32]string{
	0:           "CRC32_UNKNOWN",
	-1701940816: "CRC32_clientSession",
	-646863312:  "CRC32_authKeyStateData",
	820122180:   "CRC32_authsession_getAuthorizations",
	-1923126106: "CRC32_authsession_resetAuthorization",
	-1473309015: "CRC32_authsession_getLayer",
	700170598:   "CRC32_authsession_getLangPack",
	1616401854:  "CRC32_authsession_getClient",
	1486468441:  "CRC32_authsession_getLangCode",
	1464409260:  "CRC32_authsession_getUserId",
	-1279119039: "CRC32_authsession_getPushSessionId",
	-1194371051: "CRC32_authsession_getFutureSalts",
	1421293608:  "CRC32_authsession_queryAuthKey",
	1049889937:  "CRC32_authsession_setAuthKey",
	198050851:   "CRC32_authsession_bindAuthKeyUser",
	123258440:   "CRC32_authsession_unbindAuthKeyUser",
	-1871420202: "CRC32_authsession_getPermAuthKeyId",
	1620004742:  "CRC32_authsession_bindTempAuthKey",
	47841172:    "CRC32_authsession_setClientSessionInfo",
	1851660579:  "CRC32_authsession_getAuthorization",
	1331573041:  "CRC32_authsession_getAuthStateData",
	1147475077:  "CRC32_authsession_setLayer",
	2095024780:  "CRC32_authsession_setInitConnection",
}
View Source
var TLConstructor_value = map[string]int32{
	"CRC32_UNKNOWN":                          0,
	"CRC32_clientSession":                    -1701940816,
	"CRC32_authKeyStateData":                 -646863312,
	"CRC32_authsession_getAuthorizations":    820122180,
	"CRC32_authsession_resetAuthorization":   -1923126106,
	"CRC32_authsession_getLayer":             -1473309015,
	"CRC32_authsession_getLangPack":          700170598,
	"CRC32_authsession_getClient":            1616401854,
	"CRC32_authsession_getLangCode":          1486468441,
	"CRC32_authsession_getUserId":            1464409260,
	"CRC32_authsession_getPushSessionId":     -1279119039,
	"CRC32_authsession_getFutureSalts":       -1194371051,
	"CRC32_authsession_queryAuthKey":         1421293608,
	"CRC32_authsession_setAuthKey":           1049889937,
	"CRC32_authsession_bindAuthKeyUser":      198050851,
	"CRC32_authsession_unbindAuthKeyUser":    123258440,
	"CRC32_authsession_getPermAuthKeyId":     -1871420202,
	"CRC32_authsession_bindTempAuthKey":      1620004742,
	"CRC32_authsession_setClientSessionInfo": 47841172,
	"CRC32_authsession_getAuthorization":     1851660579,
	"CRC32_authsession_getAuthStateData":     1331573041,
	"CRC32_authsession_setLayer":             1147475077,
	"CRC32_authsession_setInitConnection":    2095024780,
}

Functions

func CheckClassID

func CheckClassID(classId int32) (ok bool)

func GetClazzID

func GetClazzID(clazzName string, layer int) int32

func GetRPCContextRegisters

func GetRPCContextRegisters() map[string]RPCContextTuple

func NewTLObjectByClassID

func NewTLObjectByClassID(classId int32) mtproto.TLObject

func RegisterRPCAuthsessionServer

func RegisterRPCAuthsessionServer(s *grpc.Server, srv RPCAuthsessionServer)

Types

type AuthKeyStateData

type AuthKeyStateData 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=authsession.TLConstructor" json:"constructor,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,3,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	UserId               int64         `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	KeyState             int32         `protobuf:"varint,5,opt,name=key_state,json=keyState,proto3" json:"key_state,omitempty"`
	Layer                int32         `protobuf:"varint,6,opt,name=layer,proto3" json:"layer,omitempty"`
	ClientType           int32         `protobuf:"varint,7,opt,name=client_type,json=clientType,proto3" json:"client_type,omitempty"`
	AndroidPushSessionId int64         `` /* 126-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

AuthKeyStateData <--

  • TL_authKeyStateData

func (*AuthKeyStateData) CalcByteSize

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

func (*AuthKeyStateData) DebugString

func (m *AuthKeyStateData) DebugString() string

func (*AuthKeyStateData) Decode

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

func (*AuthKeyStateData) Descriptor

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

func (*AuthKeyStateData) Encode

func (m *AuthKeyStateData) Encode(x *mtproto.EncodeBuf, layer int32) []byte

func (*AuthKeyStateData) GetAndroidPushSessionId

func (m *AuthKeyStateData) GetAndroidPushSessionId() int64

func (*AuthKeyStateData) GetAuthKeyId

func (m *AuthKeyStateData) GetAuthKeyId() int64

func (*AuthKeyStateData) GetClientType

func (m *AuthKeyStateData) GetClientType() int32

func (*AuthKeyStateData) GetConstructor

func (m *AuthKeyStateData) GetConstructor() TLConstructor

func (*AuthKeyStateData) GetKeyState

func (m *AuthKeyStateData) GetKeyState() int32

func (*AuthKeyStateData) GetLayer

func (m *AuthKeyStateData) GetLayer() int32

func (*AuthKeyStateData) GetPredicateName

func (m *AuthKeyStateData) GetPredicateName() string

func (*AuthKeyStateData) GetUserId

func (m *AuthKeyStateData) GetUserId() int64

func (*AuthKeyStateData) GoString

func (this *AuthKeyStateData) GoString() string

func (*AuthKeyStateData) Marshal

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

func (*AuthKeyStateData) MarshalTo

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

func (*AuthKeyStateData) MarshalToSizedBuffer

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

func (*AuthKeyStateData) ProtoMessage

func (*AuthKeyStateData) ProtoMessage()

func (*AuthKeyStateData) Reset

func (m *AuthKeyStateData) Reset()

func (*AuthKeyStateData) Size

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

func (*AuthKeyStateData) String

func (m *AuthKeyStateData) String() string

func (*AuthKeyStateData) To_AuthKeyStateData

func (m *AuthKeyStateData) To_AuthKeyStateData() *TLAuthKeyStateData

To_AuthKeyStateData

func (*AuthKeyStateData) Unmarshal

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

func (*AuthKeyStateData) XXX_DiscardUnknown

func (m *AuthKeyStateData) XXX_DiscardUnknown()

func (*AuthKeyStateData) XXX_Marshal

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

func (*AuthKeyStateData) XXX_Merge

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

func (*AuthKeyStateData) XXX_Size

func (m *AuthKeyStateData) XXX_Size() int

func (*AuthKeyStateData) XXX_Unmarshal

func (m *AuthKeyStateData) XXX_Unmarshal(b []byte) error

type ClientSession

type ClientSession 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=authsession.TLConstructor" json:"constructor,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,3,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	Ip                   string        `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
	Layer                int32         `protobuf:"varint,5,opt,name=layer,proto3" json:"layer,omitempty"`
	ApiId                int32         `protobuf:"varint,6,opt,name=api_id,json=apiId,proto3" json:"api_id,omitempty"`
	DeviceModel          string        `protobuf:"bytes,7,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"`
	SystemVersion        string        `protobuf:"bytes,8,opt,name=system_version,json=systemVersion,proto3" json:"system_version,omitempty"`
	AppVersion           string        `protobuf:"bytes,9,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"`
	SystemLangCode       string        `protobuf:"bytes,10,opt,name=system_lang_code,json=systemLangCode,proto3" json:"system_lang_code,omitempty"`
	LangPack             string        `protobuf:"bytes,11,opt,name=lang_pack,json=langPack,proto3" json:"lang_pack,omitempty"`
	LangCode             string        `protobuf:"bytes,12,opt,name=lang_code,json=langCode,proto3" json:"lang_code,omitempty"`
	Proxy                string        `protobuf:"bytes,13,opt,name=proxy,proto3" json:"proxy,omitempty"`
	Params               string        `protobuf:"bytes,14,opt,name=params,proto3" json:"params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

ClientSession <--

  • TL_clientSession

func (*ClientSession) CalcByteSize

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

func (*ClientSession) DebugString

func (m *ClientSession) DebugString() string

func (*ClientSession) Decode

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

func (*ClientSession) Descriptor

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

func (*ClientSession) Encode

func (m *ClientSession) Encode(x *mtproto.EncodeBuf, layer int32) []byte

func (*ClientSession) GetApiId

func (m *ClientSession) GetApiId() int32

func (*ClientSession) GetAppVersion

func (m *ClientSession) GetAppVersion() string

func (*ClientSession) GetAuthKeyId

func (m *ClientSession) GetAuthKeyId() int64

func (*ClientSession) GetConstructor

func (m *ClientSession) GetConstructor() TLConstructor

func (*ClientSession) GetDeviceModel

func (m *ClientSession) GetDeviceModel() string

func (*ClientSession) GetIp

func (m *ClientSession) GetIp() string

func (*ClientSession) GetLangCode

func (m *ClientSession) GetLangCode() string

func (*ClientSession) GetLangPack

func (m *ClientSession) GetLangPack() string

func (*ClientSession) GetLayer

func (m *ClientSession) GetLayer() int32

func (*ClientSession) GetParams

func (m *ClientSession) GetParams() string

func (*ClientSession) GetPredicateName

func (m *ClientSession) GetPredicateName() string

func (*ClientSession) GetProxy

func (m *ClientSession) GetProxy() string

func (*ClientSession) GetSystemLangCode

func (m *ClientSession) GetSystemLangCode() string

func (*ClientSession) GetSystemVersion

func (m *ClientSession) GetSystemVersion() string

func (*ClientSession) GoString

func (this *ClientSession) GoString() string

func (*ClientSession) Marshal

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

func (*ClientSession) MarshalTo

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

func (*ClientSession) MarshalToSizedBuffer

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

func (*ClientSession) ProtoMessage

func (*ClientSession) ProtoMessage()

func (*ClientSession) Reset

func (m *ClientSession) Reset()

func (*ClientSession) Size

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

func (*ClientSession) String

func (m *ClientSession) String() string

func (*ClientSession) To_ClientSession

func (m *ClientSession) To_ClientSession() *TLClientSession

To_ClientSession

func (*ClientSession) Unmarshal

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

func (*ClientSession) XXX_DiscardUnknown

func (m *ClientSession) XXX_DiscardUnknown()

func (*ClientSession) XXX_Marshal

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

func (*ClientSession) XXX_Merge

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

func (*ClientSession) XXX_Size

func (m *ClientSession) XXX_Size() int

func (*ClientSession) XXX_Unmarshal

func (m *ClientSession) XXX_Unmarshal(b []byte) error

type RPCAuthsessionClient

type RPCAuthsessionClient interface {
	AuthsessionGetAuthorizations(ctx context.Context, in *TLAuthsessionGetAuthorizations, opts ...grpc.CallOption) (*mtproto.Account_Authorizations, error)
	AuthsessionResetAuthorization(ctx context.Context, in *TLAuthsessionResetAuthorization, opts ...grpc.CallOption) (*Vector_Long, error)
	AuthsessionGetLayer(ctx context.Context, in *TLAuthsessionGetLayer, opts ...grpc.CallOption) (*mtproto.Int32, error)
	AuthsessionGetLangPack(ctx context.Context, in *TLAuthsessionGetLangPack, opts ...grpc.CallOption) (*mtproto.String, error)
	AuthsessionGetClient(ctx context.Context, in *TLAuthsessionGetClient, opts ...grpc.CallOption) (*mtproto.String, error)
	AuthsessionGetLangCode(ctx context.Context, in *TLAuthsessionGetLangCode, opts ...grpc.CallOption) (*mtproto.String, error)
	AuthsessionGetUserId(ctx context.Context, in *TLAuthsessionGetUserId, opts ...grpc.CallOption) (*mtproto.Int64, error)
	AuthsessionGetPushSessionId(ctx context.Context, in *TLAuthsessionGetPushSessionId, opts ...grpc.CallOption) (*mtproto.Int64, error)
	AuthsessionGetFutureSalts(ctx context.Context, in *TLAuthsessionGetFutureSalts, opts ...grpc.CallOption) (*mtproto.FutureSalts, error)
	AuthsessionQueryAuthKey(ctx context.Context, in *TLAuthsessionQueryAuthKey, opts ...grpc.CallOption) (*mtproto.AuthKeyInfo, error)
	AuthsessionSetAuthKey(ctx context.Context, in *TLAuthsessionSetAuthKey, opts ...grpc.CallOption) (*mtproto.Bool, error)
	AuthsessionBindAuthKeyUser(ctx context.Context, in *TLAuthsessionBindAuthKeyUser, opts ...grpc.CallOption) (*mtproto.Int64, error)
	AuthsessionUnbindAuthKeyUser(ctx context.Context, in *TLAuthsessionUnbindAuthKeyUser, opts ...grpc.CallOption) (*mtproto.Bool, error)
	AuthsessionGetPermAuthKeyId(ctx context.Context, in *TLAuthsessionGetPermAuthKeyId, opts ...grpc.CallOption) (*mtproto.Int64, error)
	AuthsessionBindTempAuthKey(ctx context.Context, in *TLAuthsessionBindTempAuthKey, opts ...grpc.CallOption) (*mtproto.Bool, error)
	AuthsessionSetClientSessionInfo(ctx context.Context, in *TLAuthsessionSetClientSessionInfo, opts ...grpc.CallOption) (*mtproto.Bool, error)
	AuthsessionGetAuthorization(ctx context.Context, in *TLAuthsessionGetAuthorization, opts ...grpc.CallOption) (*mtproto.Authorization, error)
	AuthsessionGetAuthStateData(ctx context.Context, in *TLAuthsessionGetAuthStateData, opts ...grpc.CallOption) (*AuthKeyStateData, error)
	AuthsessionSetLayer(ctx context.Context, in *TLAuthsessionSetLayer, opts ...grpc.CallOption) (*mtproto.Bool, error)
	AuthsessionSetInitConnection(ctx context.Context, in *TLAuthsessionSetInitConnection, opts ...grpc.CallOption) (*mtproto.Bool, error)
}

RPCAuthsessionClient is the client API for RPCAuthsession service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRPCAuthsessionClient

func NewRPCAuthsessionClient(cc *grpc.ClientConn) RPCAuthsessionClient

type RPCAuthsessionServer

type RPCAuthsessionServer interface {
	AuthsessionGetAuthorizations(context.Context, *TLAuthsessionGetAuthorizations) (*mtproto.Account_Authorizations, error)
	AuthsessionResetAuthorization(context.Context, *TLAuthsessionResetAuthorization) (*Vector_Long, error)
	AuthsessionGetLayer(context.Context, *TLAuthsessionGetLayer) (*mtproto.Int32, error)
	AuthsessionGetLangPack(context.Context, *TLAuthsessionGetLangPack) (*mtproto.String, error)
	AuthsessionGetClient(context.Context, *TLAuthsessionGetClient) (*mtproto.String, error)
	AuthsessionGetLangCode(context.Context, *TLAuthsessionGetLangCode) (*mtproto.String, error)
	AuthsessionGetUserId(context.Context, *TLAuthsessionGetUserId) (*mtproto.Int64, error)
	AuthsessionGetPushSessionId(context.Context, *TLAuthsessionGetPushSessionId) (*mtproto.Int64, error)
	AuthsessionGetFutureSalts(context.Context, *TLAuthsessionGetFutureSalts) (*mtproto.FutureSalts, error)
	AuthsessionQueryAuthKey(context.Context, *TLAuthsessionQueryAuthKey) (*mtproto.AuthKeyInfo, error)
	AuthsessionSetAuthKey(context.Context, *TLAuthsessionSetAuthKey) (*mtproto.Bool, error)
	AuthsessionBindAuthKeyUser(context.Context, *TLAuthsessionBindAuthKeyUser) (*mtproto.Int64, error)
	AuthsessionUnbindAuthKeyUser(context.Context, *TLAuthsessionUnbindAuthKeyUser) (*mtproto.Bool, error)
	AuthsessionGetPermAuthKeyId(context.Context, *TLAuthsessionGetPermAuthKeyId) (*mtproto.Int64, error)
	AuthsessionBindTempAuthKey(context.Context, *TLAuthsessionBindTempAuthKey) (*mtproto.Bool, error)
	AuthsessionSetClientSessionInfo(context.Context, *TLAuthsessionSetClientSessionInfo) (*mtproto.Bool, error)
	AuthsessionGetAuthorization(context.Context, *TLAuthsessionGetAuthorization) (*mtproto.Authorization, error)
	AuthsessionGetAuthStateData(context.Context, *TLAuthsessionGetAuthStateData) (*AuthKeyStateData, error)
	AuthsessionSetLayer(context.Context, *TLAuthsessionSetLayer) (*mtproto.Bool, error)
	AuthsessionSetInitConnection(context.Context, *TLAuthsessionSetInitConnection) (*mtproto.Bool, error)
}

RPCAuthsessionServer is the server API for RPCAuthsession service.

type RPCContextTuple

type RPCContextTuple struct {
	Method       string
	NewReplyFunc newRPCReplyFunc
}

func FindRPCContextTuple

func FindRPCContextTuple(t interface{}) *RPCContextTuple

type TLAuthKeyStateData

type TLAuthKeyStateData struct {
	Data2                *AuthKeyStateData `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func MakeTLAuthKeyStateData

func MakeTLAuthKeyStateData(data2 *AuthKeyStateData) *TLAuthKeyStateData

MakeTLAuthKeyStateData

func (*TLAuthKeyStateData) CalcByteSize

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

func (*TLAuthKeyStateData) DebugString

func (m *TLAuthKeyStateData) DebugString() string

func (*TLAuthKeyStateData) Decode

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

func (*TLAuthKeyStateData) Descriptor

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

func (*TLAuthKeyStateData) Encode

func (m *TLAuthKeyStateData) Encode(x *mtproto.EncodeBuf, layer int32) error

func (*TLAuthKeyStateData) GetAndroidPushSessionId

func (m *TLAuthKeyStateData) GetAndroidPushSessionId() int64

func (*TLAuthKeyStateData) GetAuthKeyId

func (m *TLAuthKeyStateData) GetAuthKeyId() int64

func (*TLAuthKeyStateData) GetClientType

func (m *TLAuthKeyStateData) GetClientType() int32

func (*TLAuthKeyStateData) GetData2

func (m *TLAuthKeyStateData) GetData2() *AuthKeyStateData

func (*TLAuthKeyStateData) GetKeyState

func (m *TLAuthKeyStateData) GetKeyState() int32

func (*TLAuthKeyStateData) GetLayer

func (m *TLAuthKeyStateData) GetLayer() int32

func (*TLAuthKeyStateData) GetPredicateName

func (m *TLAuthKeyStateData) GetPredicateName() string

func (*TLAuthKeyStateData) GetUserId

func (m *TLAuthKeyStateData) GetUserId() int64

func (*TLAuthKeyStateData) GoString

func (this *TLAuthKeyStateData) GoString() string

func (*TLAuthKeyStateData) Marshal

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

func (*TLAuthKeyStateData) MarshalTo

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

func (*TLAuthKeyStateData) MarshalToSizedBuffer

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

func (*TLAuthKeyStateData) ProtoMessage

func (*TLAuthKeyStateData) ProtoMessage()

func (*TLAuthKeyStateData) Reset

func (m *TLAuthKeyStateData) Reset()

func (*TLAuthKeyStateData) SetAndroidPushSessionId

func (m *TLAuthKeyStateData) SetAndroidPushSessionId(v int64)

func (*TLAuthKeyStateData) SetAuthKeyId

func (m *TLAuthKeyStateData) SetAuthKeyId(v int64)

func (*TLAuthKeyStateData) SetClientType

func (m *TLAuthKeyStateData) SetClientType(v int32)

func (*TLAuthKeyStateData) SetKeyState

func (m *TLAuthKeyStateData) SetKeyState(v int32)

func (*TLAuthKeyStateData) SetLayer

func (m *TLAuthKeyStateData) SetLayer(v int32)

func (*TLAuthKeyStateData) SetUserId

func (m *TLAuthKeyStateData) SetUserId(v int64)

func (*TLAuthKeyStateData) Size

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

func (*TLAuthKeyStateData) String

func (m *TLAuthKeyStateData) String() string

func (*TLAuthKeyStateData) To_AuthKeyStateData

func (m *TLAuthKeyStateData) To_AuthKeyStateData() *AuthKeyStateData

func (*TLAuthKeyStateData) Unmarshal

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

func (*TLAuthKeyStateData) XXX_DiscardUnknown

func (m *TLAuthKeyStateData) XXX_DiscardUnknown()

func (*TLAuthKeyStateData) XXX_Marshal

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

func (*TLAuthKeyStateData) XXX_Merge

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

func (*TLAuthKeyStateData) XXX_Size

func (m *TLAuthKeyStateData) XXX_Size() int

func (*TLAuthKeyStateData) XXX_Unmarshal

func (m *TLAuthKeyStateData) XXX_Unmarshal(b []byte) error

type TLAuthsessionBindAuthKeyUser

type TLAuthsessionBindAuthKeyUser struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,3,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	UserId               int64         `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionBindAuthKeyUser) CalcByteSize

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

func (*TLAuthsessionBindAuthKeyUser) DebugString

func (m *TLAuthsessionBindAuthKeyUser) DebugString() string

func (*TLAuthsessionBindAuthKeyUser) Decode

func (*TLAuthsessionBindAuthKeyUser) Descriptor

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

func (*TLAuthsessionBindAuthKeyUser) Encode

func (*TLAuthsessionBindAuthKeyUser) GetAuthKeyId

func (m *TLAuthsessionBindAuthKeyUser) GetAuthKeyId() int64

func (*TLAuthsessionBindAuthKeyUser) GetConstructor

func (m *TLAuthsessionBindAuthKeyUser) GetConstructor() TLConstructor

func (*TLAuthsessionBindAuthKeyUser) GetUserId

func (m *TLAuthsessionBindAuthKeyUser) GetUserId() int64

func (*TLAuthsessionBindAuthKeyUser) GoString

func (this *TLAuthsessionBindAuthKeyUser) GoString() string

func (*TLAuthsessionBindAuthKeyUser) Marshal

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

func (*TLAuthsessionBindAuthKeyUser) MarshalTo

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

func (*TLAuthsessionBindAuthKeyUser) MarshalToSizedBuffer

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

func (*TLAuthsessionBindAuthKeyUser) ProtoMessage

func (*TLAuthsessionBindAuthKeyUser) ProtoMessage()

func (*TLAuthsessionBindAuthKeyUser) Reset

func (m *TLAuthsessionBindAuthKeyUser) Reset()

func (*TLAuthsessionBindAuthKeyUser) Size

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

func (*TLAuthsessionBindAuthKeyUser) String

func (*TLAuthsessionBindAuthKeyUser) Unmarshal

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

func (*TLAuthsessionBindAuthKeyUser) XXX_DiscardUnknown

func (m *TLAuthsessionBindAuthKeyUser) XXX_DiscardUnknown()

func (*TLAuthsessionBindAuthKeyUser) XXX_Marshal

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

func (*TLAuthsessionBindAuthKeyUser) XXX_Merge

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

func (*TLAuthsessionBindAuthKeyUser) XXX_Size

func (m *TLAuthsessionBindAuthKeyUser) XXX_Size() int

func (*TLAuthsessionBindAuthKeyUser) XXX_Unmarshal

func (m *TLAuthsessionBindAuthKeyUser) XXX_Unmarshal(b []byte) error

type TLAuthsessionBindTempAuthKey

type TLAuthsessionBindTempAuthKey struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	PermAuthKeyId        int64         `protobuf:"varint,3,opt,name=perm_auth_key_id,json=permAuthKeyId,proto3" json:"perm_auth_key_id,omitempty"`
	Nonce                int64         `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ExpiresAt            int32         `protobuf:"varint,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	EncryptedMessage     []byte        `protobuf:"bytes,6,opt,name=encrypted_message,json=encryptedMessage,proto3" json:"encrypted_message,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionBindTempAuthKey) CalcByteSize

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

func (*TLAuthsessionBindTempAuthKey) DebugString

func (m *TLAuthsessionBindTempAuthKey) DebugString() string

func (*TLAuthsessionBindTempAuthKey) Decode

func (*TLAuthsessionBindTempAuthKey) Descriptor

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

func (*TLAuthsessionBindTempAuthKey) Encode

func (*TLAuthsessionBindTempAuthKey) GetConstructor

func (m *TLAuthsessionBindTempAuthKey) GetConstructor() TLConstructor

func (*TLAuthsessionBindTempAuthKey) GetEncryptedMessage

func (m *TLAuthsessionBindTempAuthKey) GetEncryptedMessage() []byte

func (*TLAuthsessionBindTempAuthKey) GetExpiresAt

func (m *TLAuthsessionBindTempAuthKey) GetExpiresAt() int32

func (*TLAuthsessionBindTempAuthKey) GetNonce

func (m *TLAuthsessionBindTempAuthKey) GetNonce() int64

func (*TLAuthsessionBindTempAuthKey) GetPermAuthKeyId

func (m *TLAuthsessionBindTempAuthKey) GetPermAuthKeyId() int64

func (*TLAuthsessionBindTempAuthKey) GoString

func (this *TLAuthsessionBindTempAuthKey) GoString() string

func (*TLAuthsessionBindTempAuthKey) Marshal

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

func (*TLAuthsessionBindTempAuthKey) MarshalTo

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

func (*TLAuthsessionBindTempAuthKey) MarshalToSizedBuffer

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

func (*TLAuthsessionBindTempAuthKey) ProtoMessage

func (*TLAuthsessionBindTempAuthKey) ProtoMessage()

func (*TLAuthsessionBindTempAuthKey) Reset

func (m *TLAuthsessionBindTempAuthKey) Reset()

func (*TLAuthsessionBindTempAuthKey) Size

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

func (*TLAuthsessionBindTempAuthKey) String

func (*TLAuthsessionBindTempAuthKey) Unmarshal

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

func (*TLAuthsessionBindTempAuthKey) XXX_DiscardUnknown

func (m *TLAuthsessionBindTempAuthKey) XXX_DiscardUnknown()

func (*TLAuthsessionBindTempAuthKey) XXX_Marshal

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

func (*TLAuthsessionBindTempAuthKey) XXX_Merge

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

func (*TLAuthsessionBindTempAuthKey) XXX_Size

func (m *TLAuthsessionBindTempAuthKey) XXX_Size() int

func (*TLAuthsessionBindTempAuthKey) XXX_Unmarshal

func (m *TLAuthsessionBindTempAuthKey) XXX_Unmarshal(b []byte) error

type TLAuthsessionGetAuthStateData

type TLAuthsessionGetAuthStateData struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,3,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionGetAuthStateData) CalcByteSize

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

func (*TLAuthsessionGetAuthStateData) DebugString

func (m *TLAuthsessionGetAuthStateData) DebugString() string

func (*TLAuthsessionGetAuthStateData) Decode

func (*TLAuthsessionGetAuthStateData) Descriptor

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

func (*TLAuthsessionGetAuthStateData) Encode

func (*TLAuthsessionGetAuthStateData) GetAuthKeyId

func (m *TLAuthsessionGetAuthStateData) GetAuthKeyId() int64

func (*TLAuthsessionGetAuthStateData) GetConstructor

func (m *TLAuthsessionGetAuthStateData) GetConstructor() TLConstructor

func (*TLAuthsessionGetAuthStateData) GoString

func (this *TLAuthsessionGetAuthStateData) GoString() string

func (*TLAuthsessionGetAuthStateData) Marshal

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

func (*TLAuthsessionGetAuthStateData) MarshalTo

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

func (*TLAuthsessionGetAuthStateData) MarshalToSizedBuffer

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

func (*TLAuthsessionGetAuthStateData) ProtoMessage

func (*TLAuthsessionGetAuthStateData) ProtoMessage()

func (*TLAuthsessionGetAuthStateData) Reset

func (m *TLAuthsessionGetAuthStateData) Reset()

func (*TLAuthsessionGetAuthStateData) Size

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

func (*TLAuthsessionGetAuthStateData) String

func (*TLAuthsessionGetAuthStateData) Unmarshal

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

func (*TLAuthsessionGetAuthStateData) XXX_DiscardUnknown

func (m *TLAuthsessionGetAuthStateData) XXX_DiscardUnknown()

func (*TLAuthsessionGetAuthStateData) XXX_Marshal

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

func (*TLAuthsessionGetAuthStateData) XXX_Merge

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

func (*TLAuthsessionGetAuthStateData) XXX_Size

func (m *TLAuthsessionGetAuthStateData) XXX_Size() int

func (*TLAuthsessionGetAuthStateData) XXX_Unmarshal

func (m *TLAuthsessionGetAuthStateData) XXX_Unmarshal(b []byte) error

type TLAuthsessionGetAuthorization

type TLAuthsessionGetAuthorization struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,3,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionGetAuthorization) CalcByteSize

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

func (*TLAuthsessionGetAuthorization) DebugString

func (m *TLAuthsessionGetAuthorization) DebugString() string

func (*TLAuthsessionGetAuthorization) Decode

func (*TLAuthsessionGetAuthorization) Descriptor

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

func (*TLAuthsessionGetAuthorization) Encode

func (*TLAuthsessionGetAuthorization) GetAuthKeyId

func (m *TLAuthsessionGetAuthorization) GetAuthKeyId() int64

func (*TLAuthsessionGetAuthorization) GetConstructor

func (m *TLAuthsessionGetAuthorization) GetConstructor() TLConstructor

func (*TLAuthsessionGetAuthorization) GoString

func (this *TLAuthsessionGetAuthorization) GoString() string

func (*TLAuthsessionGetAuthorization) Marshal

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

func (*TLAuthsessionGetAuthorization) MarshalTo

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

func (*TLAuthsessionGetAuthorization) MarshalToSizedBuffer

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

func (*TLAuthsessionGetAuthorization) ProtoMessage

func (*TLAuthsessionGetAuthorization) ProtoMessage()

func (*TLAuthsessionGetAuthorization) Reset

func (m *TLAuthsessionGetAuthorization) Reset()

func (*TLAuthsessionGetAuthorization) Size

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

func (*TLAuthsessionGetAuthorization) String

func (*TLAuthsessionGetAuthorization) Unmarshal

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

func (*TLAuthsessionGetAuthorization) XXX_DiscardUnknown

func (m *TLAuthsessionGetAuthorization) XXX_DiscardUnknown()

func (*TLAuthsessionGetAuthorization) XXX_Marshal

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

func (*TLAuthsessionGetAuthorization) XXX_Merge

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

func (*TLAuthsessionGetAuthorization) XXX_Size

func (m *TLAuthsessionGetAuthorization) XXX_Size() int

func (*TLAuthsessionGetAuthorization) XXX_Unmarshal

func (m *TLAuthsessionGetAuthorization) XXX_Unmarshal(b []byte) error

type TLAuthsessionGetAuthorizations

type TLAuthsessionGetAuthorizations struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	UserId               int64         `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	ExcludeAuthKeyId     int64         `protobuf:"varint,4,opt,name=exclude_auth_keyId,json=excludeAuthKeyId,proto3" json:"exclude_auth_keyId,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionGetAuthorizations) CalcByteSize

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

func (*TLAuthsessionGetAuthorizations) DebugString

func (m *TLAuthsessionGetAuthorizations) DebugString() string

func (*TLAuthsessionGetAuthorizations) Decode

func (*TLAuthsessionGetAuthorizations) Descriptor

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

func (*TLAuthsessionGetAuthorizations) Encode

func (*TLAuthsessionGetAuthorizations) GetConstructor

func (m *TLAuthsessionGetAuthorizations) GetConstructor() TLConstructor

func (*TLAuthsessionGetAuthorizations) GetExcludeAuthKeyId

func (m *TLAuthsessionGetAuthorizations) GetExcludeAuthKeyId() int64

func (*TLAuthsessionGetAuthorizations) GetUserId

func (m *TLAuthsessionGetAuthorizations) GetUserId() int64

func (*TLAuthsessionGetAuthorizations) GoString

func (this *TLAuthsessionGetAuthorizations) GoString() string

func (*TLAuthsessionGetAuthorizations) Marshal

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

func (*TLAuthsessionGetAuthorizations) MarshalTo

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

func (*TLAuthsessionGetAuthorizations) MarshalToSizedBuffer

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

func (*TLAuthsessionGetAuthorizations) ProtoMessage

func (*TLAuthsessionGetAuthorizations) ProtoMessage()

func (*TLAuthsessionGetAuthorizations) Reset

func (m *TLAuthsessionGetAuthorizations) Reset()

func (*TLAuthsessionGetAuthorizations) Size

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

func (*TLAuthsessionGetAuthorizations) String

func (*TLAuthsessionGetAuthorizations) Unmarshal

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

func (*TLAuthsessionGetAuthorizations) XXX_DiscardUnknown

func (m *TLAuthsessionGetAuthorizations) XXX_DiscardUnknown()

func (*TLAuthsessionGetAuthorizations) XXX_Marshal

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

func (*TLAuthsessionGetAuthorizations) XXX_Merge

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

func (*TLAuthsessionGetAuthorizations) XXX_Size

func (m *TLAuthsessionGetAuthorizations) XXX_Size() int

func (*TLAuthsessionGetAuthorizations) XXX_Unmarshal

func (m *TLAuthsessionGetAuthorizations) XXX_Unmarshal(b []byte) error

type TLAuthsessionGetClient

type TLAuthsessionGetClient struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,3,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionGetClient) CalcByteSize

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

func (*TLAuthsessionGetClient) DebugString

func (m *TLAuthsessionGetClient) DebugString() string

func (*TLAuthsessionGetClient) Decode

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

func (*TLAuthsessionGetClient) Descriptor

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

func (*TLAuthsessionGetClient) Encode

func (m *TLAuthsessionGetClient) Encode(x *mtproto.EncodeBuf, layer int32) error

func (*TLAuthsessionGetClient) GetAuthKeyId

func (m *TLAuthsessionGetClient) GetAuthKeyId() int64

func (*TLAuthsessionGetClient) GetConstructor

func (m *TLAuthsessionGetClient) GetConstructor() TLConstructor

func (*TLAuthsessionGetClient) GoString

func (this *TLAuthsessionGetClient) GoString() string

func (*TLAuthsessionGetClient) Marshal

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

func (*TLAuthsessionGetClient) MarshalTo

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

func (*TLAuthsessionGetClient) MarshalToSizedBuffer

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

func (*TLAuthsessionGetClient) ProtoMessage

func (*TLAuthsessionGetClient) ProtoMessage()

func (*TLAuthsessionGetClient) Reset

func (m *TLAuthsessionGetClient) Reset()

func (*TLAuthsessionGetClient) Size

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

func (*TLAuthsessionGetClient) String

func (m *TLAuthsessionGetClient) String() string

func (*TLAuthsessionGetClient) Unmarshal

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

func (*TLAuthsessionGetClient) XXX_DiscardUnknown

func (m *TLAuthsessionGetClient) XXX_DiscardUnknown()

func (*TLAuthsessionGetClient) XXX_Marshal

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

func (*TLAuthsessionGetClient) XXX_Merge

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

func (*TLAuthsessionGetClient) XXX_Size

func (m *TLAuthsessionGetClient) XXX_Size() int

func (*TLAuthsessionGetClient) XXX_Unmarshal

func (m *TLAuthsessionGetClient) XXX_Unmarshal(b []byte) error

type TLAuthsessionGetFutureSalts

type TLAuthsessionGetFutureSalts struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,3,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	Num                  int32         `protobuf:"varint,4,opt,name=num,proto3" json:"num,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionGetFutureSalts) CalcByteSize

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

func (*TLAuthsessionGetFutureSalts) DebugString

func (m *TLAuthsessionGetFutureSalts) DebugString() string

func (*TLAuthsessionGetFutureSalts) Decode

func (*TLAuthsessionGetFutureSalts) Descriptor

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

func (*TLAuthsessionGetFutureSalts) Encode

func (*TLAuthsessionGetFutureSalts) GetAuthKeyId

func (m *TLAuthsessionGetFutureSalts) GetAuthKeyId() int64

func (*TLAuthsessionGetFutureSalts) GetConstructor

func (m *TLAuthsessionGetFutureSalts) GetConstructor() TLConstructor

func (*TLAuthsessionGetFutureSalts) GetNum

func (m *TLAuthsessionGetFutureSalts) GetNum() int32

func (*TLAuthsessionGetFutureSalts) GoString

func (this *TLAuthsessionGetFutureSalts) GoString() string

func (*TLAuthsessionGetFutureSalts) Marshal

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

func (*TLAuthsessionGetFutureSalts) MarshalTo

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

func (*TLAuthsessionGetFutureSalts) MarshalToSizedBuffer

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

func (*TLAuthsessionGetFutureSalts) ProtoMessage

func (*TLAuthsessionGetFutureSalts) ProtoMessage()

func (*TLAuthsessionGetFutureSalts) Reset

func (m *TLAuthsessionGetFutureSalts) Reset()

func (*TLAuthsessionGetFutureSalts) Size

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

func (*TLAuthsessionGetFutureSalts) String

func (m *TLAuthsessionGetFutureSalts) String() string

func (*TLAuthsessionGetFutureSalts) Unmarshal

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

func (*TLAuthsessionGetFutureSalts) XXX_DiscardUnknown

func (m *TLAuthsessionGetFutureSalts) XXX_DiscardUnknown()

func (*TLAuthsessionGetFutureSalts) XXX_Marshal

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

func (*TLAuthsessionGetFutureSalts) XXX_Merge

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

func (*TLAuthsessionGetFutureSalts) XXX_Size

func (m *TLAuthsessionGetFutureSalts) XXX_Size() int

func (*TLAuthsessionGetFutureSalts) XXX_Unmarshal

func (m *TLAuthsessionGetFutureSalts) XXX_Unmarshal(b []byte) error

type TLAuthsessionGetLangCode

type TLAuthsessionGetLangCode struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,3,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionGetLangCode) CalcByteSize

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

func (*TLAuthsessionGetLangCode) DebugString

func (m *TLAuthsessionGetLangCode) DebugString() string

func (*TLAuthsessionGetLangCode) Decode

func (*TLAuthsessionGetLangCode) Descriptor

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

func (*TLAuthsessionGetLangCode) Encode

func (m *TLAuthsessionGetLangCode) Encode(x *mtproto.EncodeBuf, layer int32) error

func (*TLAuthsessionGetLangCode) GetAuthKeyId

func (m *TLAuthsessionGetLangCode) GetAuthKeyId() int64

func (*TLAuthsessionGetLangCode) GetConstructor

func (m *TLAuthsessionGetLangCode) GetConstructor() TLConstructor

func (*TLAuthsessionGetLangCode) GoString

func (this *TLAuthsessionGetLangCode) GoString() string

func (*TLAuthsessionGetLangCode) Marshal

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

func (*TLAuthsessionGetLangCode) MarshalTo

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

func (*TLAuthsessionGetLangCode) MarshalToSizedBuffer

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

func (*TLAuthsessionGetLangCode) ProtoMessage

func (*TLAuthsessionGetLangCode) ProtoMessage()

func (*TLAuthsessionGetLangCode) Reset

func (m *TLAuthsessionGetLangCode) Reset()

func (*TLAuthsessionGetLangCode) Size

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

func (*TLAuthsessionGetLangCode) String

func (m *TLAuthsessionGetLangCode) String() string

func (*TLAuthsessionGetLangCode) Unmarshal

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

func (*TLAuthsessionGetLangCode) XXX_DiscardUnknown

func (m *TLAuthsessionGetLangCode) XXX_DiscardUnknown()

func (*TLAuthsessionGetLangCode) XXX_Marshal

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

func (*TLAuthsessionGetLangCode) XXX_Merge

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

func (*TLAuthsessionGetLangCode) XXX_Size

func (m *TLAuthsessionGetLangCode) XXX_Size() int

func (*TLAuthsessionGetLangCode) XXX_Unmarshal

func (m *TLAuthsessionGetLangCode) XXX_Unmarshal(b []byte) error

type TLAuthsessionGetLangPack

type TLAuthsessionGetLangPack struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,3,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionGetLangPack) CalcByteSize

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

func (*TLAuthsessionGetLangPack) DebugString

func (m *TLAuthsessionGetLangPack) DebugString() string

func (*TLAuthsessionGetLangPack) Decode

func (*TLAuthsessionGetLangPack) Descriptor

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

func (*TLAuthsessionGetLangPack) Encode

func (m *TLAuthsessionGetLangPack) Encode(x *mtproto.EncodeBuf, layer int32) error

func (*TLAuthsessionGetLangPack) GetAuthKeyId

func (m *TLAuthsessionGetLangPack) GetAuthKeyId() int64

func (*TLAuthsessionGetLangPack) GetConstructor

func (m *TLAuthsessionGetLangPack) GetConstructor() TLConstructor

func (*TLAuthsessionGetLangPack) GoString

func (this *TLAuthsessionGetLangPack) GoString() string

func (*TLAuthsessionGetLangPack) Marshal

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

func (*TLAuthsessionGetLangPack) MarshalTo

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

func (*TLAuthsessionGetLangPack) MarshalToSizedBuffer

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

func (*TLAuthsessionGetLangPack) ProtoMessage

func (*TLAuthsessionGetLangPack) ProtoMessage()

func (*TLAuthsessionGetLangPack) Reset

func (m *TLAuthsessionGetLangPack) Reset()

func (*TLAuthsessionGetLangPack) Size

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

func (*TLAuthsessionGetLangPack) String

func (m *TLAuthsessionGetLangPack) String() string

func (*TLAuthsessionGetLangPack) Unmarshal

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

func (*TLAuthsessionGetLangPack) XXX_DiscardUnknown

func (m *TLAuthsessionGetLangPack) XXX_DiscardUnknown()

func (*TLAuthsessionGetLangPack) XXX_Marshal

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

func (*TLAuthsessionGetLangPack) XXX_Merge

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

func (*TLAuthsessionGetLangPack) XXX_Size

func (m *TLAuthsessionGetLangPack) XXX_Size() int

func (*TLAuthsessionGetLangPack) XXX_Unmarshal

func (m *TLAuthsessionGetLangPack) XXX_Unmarshal(b []byte) error

type TLAuthsessionGetLayer

type TLAuthsessionGetLayer struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,3,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionGetLayer) CalcByteSize

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

func (*TLAuthsessionGetLayer) DebugString

func (m *TLAuthsessionGetLayer) DebugString() string

func (*TLAuthsessionGetLayer) Decode

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

func (*TLAuthsessionGetLayer) Descriptor

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

func (*TLAuthsessionGetLayer) Encode

func (m *TLAuthsessionGetLayer) Encode(x *mtproto.EncodeBuf, layer int32) error

func (*TLAuthsessionGetLayer) GetAuthKeyId

func (m *TLAuthsessionGetLayer) GetAuthKeyId() int64

func (*TLAuthsessionGetLayer) GetConstructor

func (m *TLAuthsessionGetLayer) GetConstructor() TLConstructor

func (*TLAuthsessionGetLayer) GoString

func (this *TLAuthsessionGetLayer) GoString() string

func (*TLAuthsessionGetLayer) Marshal

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

func (*TLAuthsessionGetLayer) MarshalTo

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

func (*TLAuthsessionGetLayer) MarshalToSizedBuffer

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

func (*TLAuthsessionGetLayer) ProtoMessage

func (*TLAuthsessionGetLayer) ProtoMessage()

func (*TLAuthsessionGetLayer) Reset

func (m *TLAuthsessionGetLayer) Reset()

func (*TLAuthsessionGetLayer) Size

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

func (*TLAuthsessionGetLayer) String

func (m *TLAuthsessionGetLayer) String() string

func (*TLAuthsessionGetLayer) Unmarshal

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

func (*TLAuthsessionGetLayer) XXX_DiscardUnknown

func (m *TLAuthsessionGetLayer) XXX_DiscardUnknown()

func (*TLAuthsessionGetLayer) XXX_Marshal

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

func (*TLAuthsessionGetLayer) XXX_Merge

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

func (*TLAuthsessionGetLayer) XXX_Size

func (m *TLAuthsessionGetLayer) XXX_Size() int

func (*TLAuthsessionGetLayer) XXX_Unmarshal

func (m *TLAuthsessionGetLayer) XXX_Unmarshal(b []byte) error

type TLAuthsessionGetPermAuthKeyId

type TLAuthsessionGetPermAuthKeyId struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,3,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionGetPermAuthKeyId) CalcByteSize

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

func (*TLAuthsessionGetPermAuthKeyId) DebugString

func (m *TLAuthsessionGetPermAuthKeyId) DebugString() string

func (*TLAuthsessionGetPermAuthKeyId) Decode

func (*TLAuthsessionGetPermAuthKeyId) Descriptor

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

func (*TLAuthsessionGetPermAuthKeyId) Encode

func (*TLAuthsessionGetPermAuthKeyId) GetAuthKeyId

func (m *TLAuthsessionGetPermAuthKeyId) GetAuthKeyId() int64

func (*TLAuthsessionGetPermAuthKeyId) GetConstructor

func (m *TLAuthsessionGetPermAuthKeyId) GetConstructor() TLConstructor

func (*TLAuthsessionGetPermAuthKeyId) GoString

func (this *TLAuthsessionGetPermAuthKeyId) GoString() string

func (*TLAuthsessionGetPermAuthKeyId) Marshal

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

func (*TLAuthsessionGetPermAuthKeyId) MarshalTo

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

func (*TLAuthsessionGetPermAuthKeyId) MarshalToSizedBuffer

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

func (*TLAuthsessionGetPermAuthKeyId) ProtoMessage

func (*TLAuthsessionGetPermAuthKeyId) ProtoMessage()

func (*TLAuthsessionGetPermAuthKeyId) Reset

func (m *TLAuthsessionGetPermAuthKeyId) Reset()

func (*TLAuthsessionGetPermAuthKeyId) Size

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

func (*TLAuthsessionGetPermAuthKeyId) String

func (*TLAuthsessionGetPermAuthKeyId) Unmarshal

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

func (*TLAuthsessionGetPermAuthKeyId) XXX_DiscardUnknown

func (m *TLAuthsessionGetPermAuthKeyId) XXX_DiscardUnknown()

func (*TLAuthsessionGetPermAuthKeyId) XXX_Marshal

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

func (*TLAuthsessionGetPermAuthKeyId) XXX_Merge

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

func (*TLAuthsessionGetPermAuthKeyId) XXX_Size

func (m *TLAuthsessionGetPermAuthKeyId) XXX_Size() int

func (*TLAuthsessionGetPermAuthKeyId) XXX_Unmarshal

func (m *TLAuthsessionGetPermAuthKeyId) XXX_Unmarshal(b []byte) error

type TLAuthsessionGetPushSessionId

type TLAuthsessionGetPushSessionId struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	UserId               int64         `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,4,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	TokenType            int32         `protobuf:"varint,5,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionGetPushSessionId) CalcByteSize

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

func (*TLAuthsessionGetPushSessionId) DebugString

func (m *TLAuthsessionGetPushSessionId) DebugString() string

func (*TLAuthsessionGetPushSessionId) Decode

func (*TLAuthsessionGetPushSessionId) Descriptor

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

func (*TLAuthsessionGetPushSessionId) Encode

func (*TLAuthsessionGetPushSessionId) GetAuthKeyId

func (m *TLAuthsessionGetPushSessionId) GetAuthKeyId() int64

func (*TLAuthsessionGetPushSessionId) GetConstructor

func (m *TLAuthsessionGetPushSessionId) GetConstructor() TLConstructor

func (*TLAuthsessionGetPushSessionId) GetTokenType

func (m *TLAuthsessionGetPushSessionId) GetTokenType() int32

func (*TLAuthsessionGetPushSessionId) GetUserId

func (m *TLAuthsessionGetPushSessionId) GetUserId() int64

func (*TLAuthsessionGetPushSessionId) GoString

func (this *TLAuthsessionGetPushSessionId) GoString() string

func (*TLAuthsessionGetPushSessionId) Marshal

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

func (*TLAuthsessionGetPushSessionId) MarshalTo

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

func (*TLAuthsessionGetPushSessionId) MarshalToSizedBuffer

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

func (*TLAuthsessionGetPushSessionId) ProtoMessage

func (*TLAuthsessionGetPushSessionId) ProtoMessage()

func (*TLAuthsessionGetPushSessionId) Reset

func (m *TLAuthsessionGetPushSessionId) Reset()

func (*TLAuthsessionGetPushSessionId) Size

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

func (*TLAuthsessionGetPushSessionId) String

func (*TLAuthsessionGetPushSessionId) Unmarshal

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

func (*TLAuthsessionGetPushSessionId) XXX_DiscardUnknown

func (m *TLAuthsessionGetPushSessionId) XXX_DiscardUnknown()

func (*TLAuthsessionGetPushSessionId) XXX_Marshal

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

func (*TLAuthsessionGetPushSessionId) XXX_Merge

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

func (*TLAuthsessionGetPushSessionId) XXX_Size

func (m *TLAuthsessionGetPushSessionId) XXX_Size() int

func (*TLAuthsessionGetPushSessionId) XXX_Unmarshal

func (m *TLAuthsessionGetPushSessionId) XXX_Unmarshal(b []byte) error

type TLAuthsessionGetUserId

type TLAuthsessionGetUserId struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,3,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionGetUserId) CalcByteSize

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

func (*TLAuthsessionGetUserId) DebugString

func (m *TLAuthsessionGetUserId) DebugString() string

func (*TLAuthsessionGetUserId) Decode

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

func (*TLAuthsessionGetUserId) Descriptor

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

func (*TLAuthsessionGetUserId) Encode

func (m *TLAuthsessionGetUserId) Encode(x *mtproto.EncodeBuf, layer int32) error

func (*TLAuthsessionGetUserId) GetAuthKeyId

func (m *TLAuthsessionGetUserId) GetAuthKeyId() int64

func (*TLAuthsessionGetUserId) GetConstructor

func (m *TLAuthsessionGetUserId) GetConstructor() TLConstructor

func (*TLAuthsessionGetUserId) GoString

func (this *TLAuthsessionGetUserId) GoString() string

func (*TLAuthsessionGetUserId) Marshal

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

func (*TLAuthsessionGetUserId) MarshalTo

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

func (*TLAuthsessionGetUserId) MarshalToSizedBuffer

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

func (*TLAuthsessionGetUserId) ProtoMessage

func (*TLAuthsessionGetUserId) ProtoMessage()

func (*TLAuthsessionGetUserId) Reset

func (m *TLAuthsessionGetUserId) Reset()

func (*TLAuthsessionGetUserId) Size

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

func (*TLAuthsessionGetUserId) String

func (m *TLAuthsessionGetUserId) String() string

func (*TLAuthsessionGetUserId) Unmarshal

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

func (*TLAuthsessionGetUserId) XXX_DiscardUnknown

func (m *TLAuthsessionGetUserId) XXX_DiscardUnknown()

func (*TLAuthsessionGetUserId) XXX_Marshal

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

func (*TLAuthsessionGetUserId) XXX_Merge

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

func (*TLAuthsessionGetUserId) XXX_Size

func (m *TLAuthsessionGetUserId) XXX_Size() int

func (*TLAuthsessionGetUserId) XXX_Unmarshal

func (m *TLAuthsessionGetUserId) XXX_Unmarshal(b []byte) error

type TLAuthsessionQueryAuthKey

type TLAuthsessionQueryAuthKey struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,3,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionQueryAuthKey) CalcByteSize

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

func (*TLAuthsessionQueryAuthKey) DebugString

func (m *TLAuthsessionQueryAuthKey) DebugString() string

func (*TLAuthsessionQueryAuthKey) Decode

func (*TLAuthsessionQueryAuthKey) Descriptor

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

func (*TLAuthsessionQueryAuthKey) Encode

func (m *TLAuthsessionQueryAuthKey) Encode(x *mtproto.EncodeBuf, layer int32) error

func (*TLAuthsessionQueryAuthKey) GetAuthKeyId

func (m *TLAuthsessionQueryAuthKey) GetAuthKeyId() int64

func (*TLAuthsessionQueryAuthKey) GetConstructor

func (m *TLAuthsessionQueryAuthKey) GetConstructor() TLConstructor

func (*TLAuthsessionQueryAuthKey) GoString

func (this *TLAuthsessionQueryAuthKey) GoString() string

func (*TLAuthsessionQueryAuthKey) Marshal

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

func (*TLAuthsessionQueryAuthKey) MarshalTo

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

func (*TLAuthsessionQueryAuthKey) MarshalToSizedBuffer

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

func (*TLAuthsessionQueryAuthKey) ProtoMessage

func (*TLAuthsessionQueryAuthKey) ProtoMessage()

func (*TLAuthsessionQueryAuthKey) Reset

func (m *TLAuthsessionQueryAuthKey) Reset()

func (*TLAuthsessionQueryAuthKey) Size

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

func (*TLAuthsessionQueryAuthKey) String

func (m *TLAuthsessionQueryAuthKey) String() string

func (*TLAuthsessionQueryAuthKey) Unmarshal

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

func (*TLAuthsessionQueryAuthKey) XXX_DiscardUnknown

func (m *TLAuthsessionQueryAuthKey) XXX_DiscardUnknown()

func (*TLAuthsessionQueryAuthKey) XXX_Marshal

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

func (*TLAuthsessionQueryAuthKey) XXX_Merge

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

func (*TLAuthsessionQueryAuthKey) XXX_Size

func (m *TLAuthsessionQueryAuthKey) XXX_Size() int

func (*TLAuthsessionQueryAuthKey) XXX_Unmarshal

func (m *TLAuthsessionQueryAuthKey) XXX_Unmarshal(b []byte) error

type TLAuthsessionResetAuthorization

type TLAuthsessionResetAuthorization struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	UserId               int64         `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,4,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	Hash                 int64         `protobuf:"varint,5,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionResetAuthorization) CalcByteSize

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

func (*TLAuthsessionResetAuthorization) DebugString

func (m *TLAuthsessionResetAuthorization) DebugString() string

func (*TLAuthsessionResetAuthorization) Decode

func (*TLAuthsessionResetAuthorization) Descriptor

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

func (*TLAuthsessionResetAuthorization) Encode

func (*TLAuthsessionResetAuthorization) GetAuthKeyId

func (m *TLAuthsessionResetAuthorization) GetAuthKeyId() int64

func (*TLAuthsessionResetAuthorization) GetConstructor

func (m *TLAuthsessionResetAuthorization) GetConstructor() TLConstructor

func (*TLAuthsessionResetAuthorization) GetHash

func (*TLAuthsessionResetAuthorization) GetUserId

func (m *TLAuthsessionResetAuthorization) GetUserId() int64

func (*TLAuthsessionResetAuthorization) GoString

func (this *TLAuthsessionResetAuthorization) GoString() string

func (*TLAuthsessionResetAuthorization) Marshal

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

func (*TLAuthsessionResetAuthorization) MarshalTo

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

func (*TLAuthsessionResetAuthorization) MarshalToSizedBuffer

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

func (*TLAuthsessionResetAuthorization) ProtoMessage

func (*TLAuthsessionResetAuthorization) ProtoMessage()

func (*TLAuthsessionResetAuthorization) Reset

func (*TLAuthsessionResetAuthorization) Size

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

func (*TLAuthsessionResetAuthorization) String

func (*TLAuthsessionResetAuthorization) Unmarshal

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

func (*TLAuthsessionResetAuthorization) XXX_DiscardUnknown

func (m *TLAuthsessionResetAuthorization) XXX_DiscardUnknown()

func (*TLAuthsessionResetAuthorization) XXX_Marshal

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

func (*TLAuthsessionResetAuthorization) XXX_Merge

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

func (*TLAuthsessionResetAuthorization) XXX_Size

func (m *TLAuthsessionResetAuthorization) XXX_Size() int

func (*TLAuthsessionResetAuthorization) XXX_Unmarshal

func (m *TLAuthsessionResetAuthorization) XXX_Unmarshal(b []byte) error

type TLAuthsessionSetAuthKey

type TLAuthsessionSetAuthKey struct {
	Constructor          TLConstructor        `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	AuthKey              *mtproto.AuthKeyInfo `protobuf:"bytes,3,opt,name=auth_key,json=authKey,proto3" json:"auth_key,omitempty"`
	FutureSalt           *mtproto.FutureSalt  `protobuf:"bytes,4,opt,name=future_salt,json=futureSalt,proto3" json:"future_salt,omitempty"`
	ExpiresIn            int32                `protobuf:"varint,5,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

func (*TLAuthsessionSetAuthKey) CalcByteSize

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

func (*TLAuthsessionSetAuthKey) DebugString

func (m *TLAuthsessionSetAuthKey) DebugString() string

func (*TLAuthsessionSetAuthKey) Decode

func (*TLAuthsessionSetAuthKey) Descriptor

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

func (*TLAuthsessionSetAuthKey) Encode

func (m *TLAuthsessionSetAuthKey) Encode(x *mtproto.EncodeBuf, layer int32) error

func (*TLAuthsessionSetAuthKey) GetAuthKey

func (m *TLAuthsessionSetAuthKey) GetAuthKey() *mtproto.AuthKeyInfo

func (*TLAuthsessionSetAuthKey) GetConstructor

func (m *TLAuthsessionSetAuthKey) GetConstructor() TLConstructor

func (*TLAuthsessionSetAuthKey) GetExpiresIn

func (m *TLAuthsessionSetAuthKey) GetExpiresIn() int32

func (*TLAuthsessionSetAuthKey) GetFutureSalt

func (m *TLAuthsessionSetAuthKey) GetFutureSalt() *mtproto.FutureSalt

func (*TLAuthsessionSetAuthKey) GoString

func (this *TLAuthsessionSetAuthKey) GoString() string

func (*TLAuthsessionSetAuthKey) Marshal

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

func (*TLAuthsessionSetAuthKey) MarshalTo

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

func (*TLAuthsessionSetAuthKey) MarshalToSizedBuffer

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

func (*TLAuthsessionSetAuthKey) ProtoMessage

func (*TLAuthsessionSetAuthKey) ProtoMessage()

func (*TLAuthsessionSetAuthKey) Reset

func (m *TLAuthsessionSetAuthKey) Reset()

func (*TLAuthsessionSetAuthKey) Size

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

func (*TLAuthsessionSetAuthKey) String

func (m *TLAuthsessionSetAuthKey) String() string

func (*TLAuthsessionSetAuthKey) Unmarshal

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

func (*TLAuthsessionSetAuthKey) XXX_DiscardUnknown

func (m *TLAuthsessionSetAuthKey) XXX_DiscardUnknown()

func (*TLAuthsessionSetAuthKey) XXX_Marshal

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

func (*TLAuthsessionSetAuthKey) XXX_Merge

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

func (*TLAuthsessionSetAuthKey) XXX_Size

func (m *TLAuthsessionSetAuthKey) XXX_Size() int

func (*TLAuthsessionSetAuthKey) XXX_Unmarshal

func (m *TLAuthsessionSetAuthKey) XXX_Unmarshal(b []byte) error

type TLAuthsessionSetClientSessionInfo

type TLAuthsessionSetClientSessionInfo struct {
	Constructor          TLConstructor  `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	Data                 *ClientSession `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

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

func (*TLAuthsessionSetClientSessionInfo) CalcByteSize

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

func (*TLAuthsessionSetClientSessionInfo) DebugString

func (m *TLAuthsessionSetClientSessionInfo) DebugString() string

func (*TLAuthsessionSetClientSessionInfo) Decode

func (*TLAuthsessionSetClientSessionInfo) Descriptor

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

func (*TLAuthsessionSetClientSessionInfo) Encode

func (*TLAuthsessionSetClientSessionInfo) GetConstructor

func (*TLAuthsessionSetClientSessionInfo) GetData

func (*TLAuthsessionSetClientSessionInfo) GoString

func (this *TLAuthsessionSetClientSessionInfo) GoString() string

func (*TLAuthsessionSetClientSessionInfo) Marshal

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

func (*TLAuthsessionSetClientSessionInfo) MarshalTo

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

func (*TLAuthsessionSetClientSessionInfo) MarshalToSizedBuffer

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

func (*TLAuthsessionSetClientSessionInfo) ProtoMessage

func (*TLAuthsessionSetClientSessionInfo) ProtoMessage()

func (*TLAuthsessionSetClientSessionInfo) Reset

func (*TLAuthsessionSetClientSessionInfo) Size

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

func (*TLAuthsessionSetClientSessionInfo) String

func (*TLAuthsessionSetClientSessionInfo) Unmarshal

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

func (*TLAuthsessionSetClientSessionInfo) XXX_DiscardUnknown

func (m *TLAuthsessionSetClientSessionInfo) XXX_DiscardUnknown()

func (*TLAuthsessionSetClientSessionInfo) XXX_Marshal

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

func (*TLAuthsessionSetClientSessionInfo) XXX_Merge

func (*TLAuthsessionSetClientSessionInfo) XXX_Size

func (m *TLAuthsessionSetClientSessionInfo) XXX_Size() int

func (*TLAuthsessionSetClientSessionInfo) XXX_Unmarshal

func (m *TLAuthsessionSetClientSessionInfo) XXX_Unmarshal(b []byte) error

type TLAuthsessionSetInitConnection added in v0.96.0

type TLAuthsessionSetInitConnection struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,3,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	Ip                   string        `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
	ApiId                int32         `protobuf:"varint,5,opt,name=api_id,json=apiId,proto3" json:"api_id,omitempty"`
	DeviceModel          string        `protobuf:"bytes,6,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"`
	SystemVersion        string        `protobuf:"bytes,7,opt,name=system_version,json=systemVersion,proto3" json:"system_version,omitempty"`
	AppVersion           string        `protobuf:"bytes,8,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"`
	SystemLangCode       string        `protobuf:"bytes,9,opt,name=system_lang_code,json=systemLangCode,proto3" json:"system_lang_code,omitempty"`
	LangPack             string        `protobuf:"bytes,10,opt,name=lang_pack,json=langPack,proto3" json:"lang_pack,omitempty"`
	LangCode             string        `protobuf:"bytes,11,opt,name=lang_code,json=langCode,proto3" json:"lang_code,omitempty"`
	Proxy                string        `protobuf:"bytes,12,opt,name=proxy,proto3" json:"proxy,omitempty"`
	Params               string        `protobuf:"bytes,13,opt,name=params,proto3" json:"params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionSetInitConnection) CalcByteSize added in v0.96.0

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

func (*TLAuthsessionSetInitConnection) DebugString added in v0.96.0

func (m *TLAuthsessionSetInitConnection) DebugString() string

func (*TLAuthsessionSetInitConnection) Decode added in v0.96.0

func (*TLAuthsessionSetInitConnection) Descriptor added in v0.96.0

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

func (*TLAuthsessionSetInitConnection) Encode added in v0.96.0

func (*TLAuthsessionSetInitConnection) GetApiId added in v0.96.0

func (m *TLAuthsessionSetInitConnection) GetApiId() int32

func (*TLAuthsessionSetInitConnection) GetAppVersion added in v0.96.0

func (m *TLAuthsessionSetInitConnection) GetAppVersion() string

func (*TLAuthsessionSetInitConnection) GetAuthKeyId added in v0.96.0

func (m *TLAuthsessionSetInitConnection) GetAuthKeyId() int64

func (*TLAuthsessionSetInitConnection) GetConstructor added in v0.96.0

func (m *TLAuthsessionSetInitConnection) GetConstructor() TLConstructor

func (*TLAuthsessionSetInitConnection) GetDeviceModel added in v0.96.0

func (m *TLAuthsessionSetInitConnection) GetDeviceModel() string

func (*TLAuthsessionSetInitConnection) GetIp added in v0.96.0

func (*TLAuthsessionSetInitConnection) GetLangCode added in v0.96.0

func (m *TLAuthsessionSetInitConnection) GetLangCode() string

func (*TLAuthsessionSetInitConnection) GetLangPack added in v0.96.0

func (m *TLAuthsessionSetInitConnection) GetLangPack() string

func (*TLAuthsessionSetInitConnection) GetParams added in v0.96.0

func (m *TLAuthsessionSetInitConnection) GetParams() string

func (*TLAuthsessionSetInitConnection) GetProxy added in v0.96.0

func (m *TLAuthsessionSetInitConnection) GetProxy() string

func (*TLAuthsessionSetInitConnection) GetSystemLangCode added in v0.96.0

func (m *TLAuthsessionSetInitConnection) GetSystemLangCode() string

func (*TLAuthsessionSetInitConnection) GetSystemVersion added in v0.96.0

func (m *TLAuthsessionSetInitConnection) GetSystemVersion() string

func (*TLAuthsessionSetInitConnection) GoString added in v0.96.0

func (this *TLAuthsessionSetInitConnection) GoString() string

func (*TLAuthsessionSetInitConnection) Marshal added in v0.96.0

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

func (*TLAuthsessionSetInitConnection) MarshalTo added in v0.96.0

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

func (*TLAuthsessionSetInitConnection) MarshalToSizedBuffer added in v0.96.0

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

func (*TLAuthsessionSetInitConnection) ProtoMessage added in v0.96.0

func (*TLAuthsessionSetInitConnection) ProtoMessage()

func (*TLAuthsessionSetInitConnection) Reset added in v0.96.0

func (m *TLAuthsessionSetInitConnection) Reset()

func (*TLAuthsessionSetInitConnection) Size added in v0.96.0

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

func (*TLAuthsessionSetInitConnection) String added in v0.96.0

func (*TLAuthsessionSetInitConnection) Unmarshal added in v0.96.0

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

func (*TLAuthsessionSetInitConnection) XXX_DiscardUnknown added in v0.96.0

func (m *TLAuthsessionSetInitConnection) XXX_DiscardUnknown()

func (*TLAuthsessionSetInitConnection) XXX_Marshal added in v0.96.0

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

func (*TLAuthsessionSetInitConnection) XXX_Merge added in v0.96.0

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

func (*TLAuthsessionSetInitConnection) XXX_Size added in v0.96.0

func (m *TLAuthsessionSetInitConnection) XXX_Size() int

func (*TLAuthsessionSetInitConnection) XXX_Unmarshal added in v0.96.0

func (m *TLAuthsessionSetInitConnection) XXX_Unmarshal(b []byte) error

type TLAuthsessionSetLayer added in v0.96.0

type TLAuthsessionSetLayer struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,3,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	Ip                   string        `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
	Layer                int32         `protobuf:"varint,5,opt,name=layer,proto3" json:"layer,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionSetLayer) CalcByteSize added in v0.96.0

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

func (*TLAuthsessionSetLayer) DebugString added in v0.96.0

func (m *TLAuthsessionSetLayer) DebugString() string

func (*TLAuthsessionSetLayer) Decode added in v0.96.0

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

func (*TLAuthsessionSetLayer) Descriptor added in v0.96.0

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

func (*TLAuthsessionSetLayer) Encode added in v0.96.0

func (m *TLAuthsessionSetLayer) Encode(x *mtproto.EncodeBuf, layer int32) error

func (*TLAuthsessionSetLayer) GetAuthKeyId added in v0.96.0

func (m *TLAuthsessionSetLayer) GetAuthKeyId() int64

func (*TLAuthsessionSetLayer) GetConstructor added in v0.96.0

func (m *TLAuthsessionSetLayer) GetConstructor() TLConstructor

func (*TLAuthsessionSetLayer) GetIp added in v0.96.0

func (m *TLAuthsessionSetLayer) GetIp() string

func (*TLAuthsessionSetLayer) GetLayer added in v0.96.0

func (m *TLAuthsessionSetLayer) GetLayer() int32

func (*TLAuthsessionSetLayer) GoString added in v0.96.0

func (this *TLAuthsessionSetLayer) GoString() string

func (*TLAuthsessionSetLayer) Marshal added in v0.96.0

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

func (*TLAuthsessionSetLayer) MarshalTo added in v0.96.0

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

func (*TLAuthsessionSetLayer) MarshalToSizedBuffer added in v0.96.0

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

func (*TLAuthsessionSetLayer) ProtoMessage added in v0.96.0

func (*TLAuthsessionSetLayer) ProtoMessage()

func (*TLAuthsessionSetLayer) Reset added in v0.96.0

func (m *TLAuthsessionSetLayer) Reset()

func (*TLAuthsessionSetLayer) Size added in v0.96.0

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

func (*TLAuthsessionSetLayer) String added in v0.96.0

func (m *TLAuthsessionSetLayer) String() string

func (*TLAuthsessionSetLayer) Unmarshal added in v0.96.0

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

func (*TLAuthsessionSetLayer) XXX_DiscardUnknown added in v0.96.0

func (m *TLAuthsessionSetLayer) XXX_DiscardUnknown()

func (*TLAuthsessionSetLayer) XXX_Marshal added in v0.96.0

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

func (*TLAuthsessionSetLayer) XXX_Merge added in v0.96.0

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

func (*TLAuthsessionSetLayer) XXX_Size added in v0.96.0

func (m *TLAuthsessionSetLayer) XXX_Size() int

func (*TLAuthsessionSetLayer) XXX_Unmarshal added in v0.96.0

func (m *TLAuthsessionSetLayer) XXX_Unmarshal(b []byte) error

type TLAuthsessionUnbindAuthKeyUser

type TLAuthsessionUnbindAuthKeyUser struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=authsession.TLConstructor" json:"constructor,omitempty"`
	AuthKeyId            int64         `protobuf:"varint,3,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"`
	UserId               int64         `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLAuthsessionUnbindAuthKeyUser) CalcByteSize

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

func (*TLAuthsessionUnbindAuthKeyUser) DebugString

func (m *TLAuthsessionUnbindAuthKeyUser) DebugString() string

func (*TLAuthsessionUnbindAuthKeyUser) Decode

func (*TLAuthsessionUnbindAuthKeyUser) Descriptor

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

func (*TLAuthsessionUnbindAuthKeyUser) Encode

func (*TLAuthsessionUnbindAuthKeyUser) GetAuthKeyId

func (m *TLAuthsessionUnbindAuthKeyUser) GetAuthKeyId() int64

func (*TLAuthsessionUnbindAuthKeyUser) GetConstructor

func (m *TLAuthsessionUnbindAuthKeyUser) GetConstructor() TLConstructor

func (*TLAuthsessionUnbindAuthKeyUser) GetUserId

func (m *TLAuthsessionUnbindAuthKeyUser) GetUserId() int64

func (*TLAuthsessionUnbindAuthKeyUser) GoString

func (this *TLAuthsessionUnbindAuthKeyUser) GoString() string

func (*TLAuthsessionUnbindAuthKeyUser) Marshal

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

func (*TLAuthsessionUnbindAuthKeyUser) MarshalTo

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

func (*TLAuthsessionUnbindAuthKeyUser) MarshalToSizedBuffer

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

func (*TLAuthsessionUnbindAuthKeyUser) ProtoMessage

func (*TLAuthsessionUnbindAuthKeyUser) ProtoMessage()

func (*TLAuthsessionUnbindAuthKeyUser) Reset

func (m *TLAuthsessionUnbindAuthKeyUser) Reset()

func (*TLAuthsessionUnbindAuthKeyUser) Size

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

func (*TLAuthsessionUnbindAuthKeyUser) String

func (*TLAuthsessionUnbindAuthKeyUser) Unmarshal

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

func (*TLAuthsessionUnbindAuthKeyUser) XXX_DiscardUnknown

func (m *TLAuthsessionUnbindAuthKeyUser) XXX_DiscardUnknown()

func (*TLAuthsessionUnbindAuthKeyUser) XXX_Marshal

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

func (*TLAuthsessionUnbindAuthKeyUser) XXX_Merge

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

func (*TLAuthsessionUnbindAuthKeyUser) XXX_Size

func (m *TLAuthsessionUnbindAuthKeyUser) XXX_Size() int

func (*TLAuthsessionUnbindAuthKeyUser) XXX_Unmarshal

func (m *TLAuthsessionUnbindAuthKeyUser) XXX_Unmarshal(b []byte) error

type TLClientSession

type TLClientSession struct {
	Data2                *ClientSession `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func MakeTLClientSession

func MakeTLClientSession(data2 *ClientSession) *TLClientSession

MakeTLClientSession

func (*TLClientSession) CalcByteSize

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

func (*TLClientSession) DebugString

func (m *TLClientSession) DebugString() string

func (*TLClientSession) Decode

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

func (*TLClientSession) Descriptor

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

func (*TLClientSession) Encode

func (m *TLClientSession) Encode(x *mtproto.EncodeBuf, layer int32) error

func (*TLClientSession) GetApiId

func (m *TLClientSession) GetApiId() int32

func (*TLClientSession) GetAppVersion

func (m *TLClientSession) GetAppVersion() string

func (*TLClientSession) GetAuthKeyId

func (m *TLClientSession) GetAuthKeyId() int64

func (*TLClientSession) GetData2

func (m *TLClientSession) GetData2() *ClientSession

func (*TLClientSession) GetDeviceModel

func (m *TLClientSession) GetDeviceModel() string

func (*TLClientSession) GetIp

func (m *TLClientSession) GetIp() string

func (*TLClientSession) GetLangCode

func (m *TLClientSession) GetLangCode() string

func (*TLClientSession) GetLangPack

func (m *TLClientSession) GetLangPack() string

func (*TLClientSession) GetLayer

func (m *TLClientSession) GetLayer() int32

func (*TLClientSession) GetParams

func (m *TLClientSession) GetParams() string

func (*TLClientSession) GetPredicateName

func (m *TLClientSession) GetPredicateName() string

func (*TLClientSession) GetProxy

func (m *TLClientSession) GetProxy() string

func (*TLClientSession) GetSystemLangCode

func (m *TLClientSession) GetSystemLangCode() string

func (*TLClientSession) GetSystemVersion

func (m *TLClientSession) GetSystemVersion() string

func (*TLClientSession) GoString

func (this *TLClientSession) GoString() string

func (*TLClientSession) Marshal

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

func (*TLClientSession) MarshalTo

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

func (*TLClientSession) MarshalToSizedBuffer

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

func (*TLClientSession) ProtoMessage

func (*TLClientSession) ProtoMessage()

func (*TLClientSession) Reset

func (m *TLClientSession) Reset()

func (*TLClientSession) SetApiId

func (m *TLClientSession) SetApiId(v int32)

func (*TLClientSession) SetAppVersion

func (m *TLClientSession) SetAppVersion(v string)

func (*TLClientSession) SetAuthKeyId

func (m *TLClientSession) SetAuthKeyId(v int64)

func (*TLClientSession) SetDeviceModel

func (m *TLClientSession) SetDeviceModel(v string)

func (*TLClientSession) SetIp

func (m *TLClientSession) SetIp(v string)

func (*TLClientSession) SetLangCode

func (m *TLClientSession) SetLangCode(v string)

func (*TLClientSession) SetLangPack

func (m *TLClientSession) SetLangPack(v string)

func (*TLClientSession) SetLayer

func (m *TLClientSession) SetLayer(v int32)

func (*TLClientSession) SetParams

func (m *TLClientSession) SetParams(v string)

func (*TLClientSession) SetProxy

func (m *TLClientSession) SetProxy(v string)

func (*TLClientSession) SetSystemLangCode

func (m *TLClientSession) SetSystemLangCode(v string)

func (*TLClientSession) SetSystemVersion

func (m *TLClientSession) SetSystemVersion(v string)

func (*TLClientSession) Size

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

func (*TLClientSession) String

func (m *TLClientSession) String() string

func (*TLClientSession) To_ClientSession

func (m *TLClientSession) To_ClientSession() *ClientSession

func (*TLClientSession) Unmarshal

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

func (*TLClientSession) XXX_DiscardUnknown

func (m *TLClientSession) XXX_DiscardUnknown()

func (*TLClientSession) XXX_Marshal

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

func (*TLClientSession) XXX_Merge

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

func (*TLClientSession) XXX_Size

func (m *TLClientSession) XXX_Size() int

func (*TLClientSession) XXX_Unmarshal

func (m *TLClientSession) XXX_Unmarshal(b []byte) error

type TLConstructor

type TLConstructor int32
const (
	CRC32_UNKNOWN                          TLConstructor = 0
	CRC32_clientSession                    TLConstructor = -1701940816
	CRC32_authKeyStateData                 TLConstructor = -646863312
	CRC32_authsession_getAuthorizations    TLConstructor = 820122180
	CRC32_authsession_resetAuthorization   TLConstructor = -1923126106
	CRC32_authsession_getLayer             TLConstructor = -1473309015
	CRC32_authsession_getLangPack          TLConstructor = 700170598
	CRC32_authsession_getClient            TLConstructor = 1616401854
	CRC32_authsession_getLangCode          TLConstructor = 1486468441
	CRC32_authsession_getUserId            TLConstructor = 1464409260
	CRC32_authsession_getPushSessionId     TLConstructor = -1279119039
	CRC32_authsession_getFutureSalts       TLConstructor = -1194371051
	CRC32_authsession_queryAuthKey         TLConstructor = 1421293608
	CRC32_authsession_setAuthKey           TLConstructor = 1049889937
	CRC32_authsession_bindAuthKeyUser      TLConstructor = 198050851
	CRC32_authsession_unbindAuthKeyUser    TLConstructor = 123258440
	CRC32_authsession_getPermAuthKeyId     TLConstructor = -1871420202
	CRC32_authsession_bindTempAuthKey      TLConstructor = 1620004742
	CRC32_authsession_setClientSessionInfo TLConstructor = 47841172
	CRC32_authsession_getAuthorization     TLConstructor = 1851660579
	CRC32_authsession_getAuthStateData     TLConstructor = 1331573041
	CRC32_authsession_setLayer             TLConstructor = 1147475077
	CRC32_authsession_setInitConnection    TLConstructor = 2095024780
)

func (TLConstructor) EnumDescriptor

func (TLConstructor) EnumDescriptor() ([]byte, []int)

func (TLConstructor) String

func (x TLConstructor) String() string

type UnimplementedRPCAuthsessionServer

type UnimplementedRPCAuthsessionServer struct {
}

UnimplementedRPCAuthsessionServer can be embedded to have forward compatible implementations.

func (*UnimplementedRPCAuthsessionServer) AuthsessionBindAuthKeyUser

func (*UnimplementedRPCAuthsessionServer) AuthsessionBindTempAuthKey

func (*UnimplementedRPCAuthsessionServer) AuthsessionGetAuthStateData

func (*UnimplementedRPCAuthsessionServer) AuthsessionGetAuthorization

func (*UnimplementedRPCAuthsessionServer) AuthsessionGetAuthorizations

func (*UnimplementedRPCAuthsessionServer) AuthsessionGetClient

func (*UnimplementedRPCAuthsessionServer) AuthsessionGetFutureSalts

func (*UnimplementedRPCAuthsessionServer) AuthsessionGetLangCode

func (*UnimplementedRPCAuthsessionServer) AuthsessionGetLangPack

func (*UnimplementedRPCAuthsessionServer) AuthsessionGetLayer

func (*UnimplementedRPCAuthsessionServer) AuthsessionGetPermAuthKeyId

func (*UnimplementedRPCAuthsessionServer) AuthsessionGetPushSessionId

func (*UnimplementedRPCAuthsessionServer) AuthsessionGetUserId

func (*UnimplementedRPCAuthsessionServer) AuthsessionQueryAuthKey

func (*UnimplementedRPCAuthsessionServer) AuthsessionResetAuthorization

func (*UnimplementedRPCAuthsessionServer) AuthsessionSetAuthKey

func (*UnimplementedRPCAuthsessionServer) AuthsessionSetClientSessionInfo

func (*UnimplementedRPCAuthsessionServer) AuthsessionSetInitConnection added in v0.96.0

func (*UnimplementedRPCAuthsessionServer) AuthsessionSetLayer added in v0.96.0

func (*UnimplementedRPCAuthsessionServer) AuthsessionUnbindAuthKeyUser

type Vector_Long

type Vector_Long struct {
	Datas                []int64  `protobuf:"varint,1,rep,packed,name=datas,proto3" json:"datas,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

-------------------------------------------------------------------------------------------- Vector api result type

func (*Vector_Long) CalcByteSize

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

func (*Vector_Long) DebugString

func (m *Vector_Long) DebugString() string

func (*Vector_Long) Decode

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

func (*Vector_Long) Descriptor

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

func (*Vector_Long) Encode

func (m *Vector_Long) Encode(x *mtproto.EncodeBuf, layer int32) error

---------------------------------------------------------------------------------------------------------------- Vector_Long /////////////////////////////////////////////////////////////////////////////

func (*Vector_Long) GetDatas

func (m *Vector_Long) GetDatas() []int64

func (*Vector_Long) GoString

func (this *Vector_Long) GoString() string

func (*Vector_Long) Marshal

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

func (*Vector_Long) MarshalTo

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

func (*Vector_Long) MarshalToSizedBuffer

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

func (*Vector_Long) ProtoMessage

func (*Vector_Long) ProtoMessage()

func (*Vector_Long) Reset

func (m *Vector_Long) Reset()

func (*Vector_Long) Size

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

func (*Vector_Long) String

func (m *Vector_Long) String() string

func (*Vector_Long) Unmarshal

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

func (*Vector_Long) XXX_DiscardUnknown

func (m *Vector_Long) XXX_DiscardUnknown()

func (*Vector_Long) XXX_Marshal

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

func (*Vector_Long) XXX_Merge

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

func (*Vector_Long) XXX_Size

func (m *Vector_Long) XXX_Size() int

func (*Vector_Long) XXX_Unmarshal

func (m *Vector_Long) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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