Documentation ¶
Index ¶
- Constants
- Variables
- func CheckClassID(classId int32) (ok bool)
- func GetClazzID(clazzName string, layer int) int32
- func GetRPCContextRegisters() map[string]RPCContextTuple
- func NewTLObjectByClassID(classId int32) mtproto.TLObject
- func RegisterRPCAuthsessionServer(s *grpc.Server, srv RPCAuthsessionServer)
- type AuthKeyStateData
- func (m *AuthKeyStateData) CalcByteSize(layer int32) int
- func (m *AuthKeyStateData) DebugString() string
- func (m *AuthKeyStateData) Decode(dBuf *mtproto.DecodeBuf) error
- func (*AuthKeyStateData) Descriptor() ([]byte, []int)
- func (m *AuthKeyStateData) Encode(layer int32) []byte
- func (m *AuthKeyStateData) GetAndroidPushSessionId() int64
- func (m *AuthKeyStateData) GetAuthKeyId() int64
- func (m *AuthKeyStateData) GetClientType() int32
- func (m *AuthKeyStateData) GetConstructor() TLConstructor
- func (m *AuthKeyStateData) GetKeyState() int32
- func (m *AuthKeyStateData) GetLayer() int32
- func (m *AuthKeyStateData) GetPredicateName() string
- func (m *AuthKeyStateData) GetUserId() int64
- func (this *AuthKeyStateData) GoString() string
- func (m *AuthKeyStateData) Marshal() (dAtA []byte, err error)
- func (m *AuthKeyStateData) MarshalTo(dAtA []byte) (int, error)
- func (m *AuthKeyStateData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuthKeyStateData) ProtoMessage()
- func (m *AuthKeyStateData) Reset()
- func (m *AuthKeyStateData) Size() (n int)
- func (m *AuthKeyStateData) String() string
- func (m *AuthKeyStateData) To_AuthKeyStateData() *TLAuthKeyStateData
- func (m *AuthKeyStateData) Unmarshal(dAtA []byte) error
- func (m *AuthKeyStateData) XXX_DiscardUnknown()
- func (m *AuthKeyStateData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthKeyStateData) XXX_Merge(src proto.Message)
- func (m *AuthKeyStateData) XXX_Size() int
- func (m *AuthKeyStateData) XXX_Unmarshal(b []byte) error
- type ClientSession
- func (m *ClientSession) CalcByteSize(layer int32) int
- func (m *ClientSession) DebugString() string
- func (m *ClientSession) Decode(dBuf *mtproto.DecodeBuf) error
- func (*ClientSession) Descriptor() ([]byte, []int)
- func (m *ClientSession) Encode(layer int32) []byte
- func (m *ClientSession) GetApiId() int32
- func (m *ClientSession) GetAppVersion() string
- func (m *ClientSession) GetAuthKeyId() int64
- func (m *ClientSession) GetConstructor() TLConstructor
- func (m *ClientSession) GetDeviceModel() string
- func (m *ClientSession) GetIp() string
- func (m *ClientSession) GetLangCode() string
- func (m *ClientSession) GetLangPack() string
- func (m *ClientSession) GetLayer() int32
- func (m *ClientSession) GetParams() string
- func (m *ClientSession) GetPredicateName() string
- func (m *ClientSession) GetProxy() string
- func (m *ClientSession) GetSystemLangCode() string
- func (m *ClientSession) GetSystemVersion() string
- func (this *ClientSession) GoString() string
- func (m *ClientSession) Marshal() (dAtA []byte, err error)
- func (m *ClientSession) MarshalTo(dAtA []byte) (int, error)
- func (m *ClientSession) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClientSession) ProtoMessage()
- func (m *ClientSession) Reset()
- func (m *ClientSession) Size() (n int)
- func (m *ClientSession) String() string
- func (m *ClientSession) To_ClientSession() *TLClientSession
- func (m *ClientSession) Unmarshal(dAtA []byte) error
- func (m *ClientSession) XXX_DiscardUnknown()
- func (m *ClientSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientSession) XXX_Merge(src proto.Message)
- func (m *ClientSession) XXX_Size() int
- func (m *ClientSession) XXX_Unmarshal(b []byte) error
- type RPCAuthsessionClient
- type RPCAuthsessionServer
- type RPCContextTuple
- type TLAuthKeyStateData
- func (m *TLAuthKeyStateData) CalcByteSize(layer int32) int
- func (m *TLAuthKeyStateData) DebugString() string
- func (m *TLAuthKeyStateData) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthKeyStateData) Descriptor() ([]byte, []int)
- func (m *TLAuthKeyStateData) Encode(layer int32) []byte
- func (m *TLAuthKeyStateData) GetAndroidPushSessionId() int64
- func (m *TLAuthKeyStateData) GetAuthKeyId() int64
- func (m *TLAuthKeyStateData) GetClientType() int32
- func (m *TLAuthKeyStateData) GetData2() *AuthKeyStateData
- func (m *TLAuthKeyStateData) GetKeyState() int32
- func (m *TLAuthKeyStateData) GetLayer() int32
- func (m *TLAuthKeyStateData) GetPredicateName() string
- func (m *TLAuthKeyStateData) GetUserId() int64
- func (this *TLAuthKeyStateData) GoString() string
- func (m *TLAuthKeyStateData) Marshal() (dAtA []byte, err error)
- func (m *TLAuthKeyStateData) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthKeyStateData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthKeyStateData) ProtoMessage()
- func (m *TLAuthKeyStateData) Reset()
- func (m *TLAuthKeyStateData) SetAndroidPushSessionId(v int64)
- func (m *TLAuthKeyStateData) SetAuthKeyId(v int64)
- func (m *TLAuthKeyStateData) SetClientType(v int32)
- func (m *TLAuthKeyStateData) SetKeyState(v int32)
- func (m *TLAuthKeyStateData) SetLayer(v int32)
- func (m *TLAuthKeyStateData) SetUserId(v int64)
- func (m *TLAuthKeyStateData) Size() (n int)
- func (m *TLAuthKeyStateData) String() string
- func (m *TLAuthKeyStateData) To_AuthKeyStateData() *AuthKeyStateData
- func (m *TLAuthKeyStateData) Unmarshal(dAtA []byte) error
- func (m *TLAuthKeyStateData) XXX_DiscardUnknown()
- func (m *TLAuthKeyStateData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthKeyStateData) XXX_Merge(src proto.Message)
- func (m *TLAuthKeyStateData) XXX_Size() int
- func (m *TLAuthKeyStateData) XXX_Unmarshal(b []byte) error
- type TLAuthsessionBindAuthKeyUser
- func (m *TLAuthsessionBindAuthKeyUser) CalcByteSize(layer int32) int
- func (m *TLAuthsessionBindAuthKeyUser) DebugString() string
- func (m *TLAuthsessionBindAuthKeyUser) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionBindAuthKeyUser) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionBindAuthKeyUser) Encode(layer int32) []byte
- func (m *TLAuthsessionBindAuthKeyUser) GetAuthKeyId() int64
- func (m *TLAuthsessionBindAuthKeyUser) GetConstructor() TLConstructor
- func (m *TLAuthsessionBindAuthKeyUser) GetUserId() int64
- func (this *TLAuthsessionBindAuthKeyUser) GoString() string
- func (m *TLAuthsessionBindAuthKeyUser) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionBindAuthKeyUser) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionBindAuthKeyUser) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionBindAuthKeyUser) ProtoMessage()
- func (m *TLAuthsessionBindAuthKeyUser) Reset()
- func (m *TLAuthsessionBindAuthKeyUser) Size() (n int)
- func (m *TLAuthsessionBindAuthKeyUser) String() string
- func (m *TLAuthsessionBindAuthKeyUser) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionBindAuthKeyUser) XXX_DiscardUnknown()
- func (m *TLAuthsessionBindAuthKeyUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionBindAuthKeyUser) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionBindAuthKeyUser) XXX_Size() int
- func (m *TLAuthsessionBindAuthKeyUser) XXX_Unmarshal(b []byte) error
- type TLAuthsessionBindTempAuthKey
- func (m *TLAuthsessionBindTempAuthKey) CalcByteSize(layer int32) int
- func (m *TLAuthsessionBindTempAuthKey) DebugString() string
- func (m *TLAuthsessionBindTempAuthKey) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionBindTempAuthKey) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionBindTempAuthKey) Encode(layer int32) []byte
- func (m *TLAuthsessionBindTempAuthKey) GetConstructor() TLConstructor
- func (m *TLAuthsessionBindTempAuthKey) GetEncryptedMessage() []byte
- func (m *TLAuthsessionBindTempAuthKey) GetExpiresAt() int32
- func (m *TLAuthsessionBindTempAuthKey) GetNonce() int64
- func (m *TLAuthsessionBindTempAuthKey) GetPermAuthKeyId() int64
- func (this *TLAuthsessionBindTempAuthKey) GoString() string
- func (m *TLAuthsessionBindTempAuthKey) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionBindTempAuthKey) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionBindTempAuthKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionBindTempAuthKey) ProtoMessage()
- func (m *TLAuthsessionBindTempAuthKey) Reset()
- func (m *TLAuthsessionBindTempAuthKey) Size() (n int)
- func (m *TLAuthsessionBindTempAuthKey) String() string
- func (m *TLAuthsessionBindTempAuthKey) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionBindTempAuthKey) XXX_DiscardUnknown()
- func (m *TLAuthsessionBindTempAuthKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionBindTempAuthKey) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionBindTempAuthKey) XXX_Size() int
- func (m *TLAuthsessionBindTempAuthKey) XXX_Unmarshal(b []byte) error
- type TLAuthsessionGetAuthStateData
- func (m *TLAuthsessionGetAuthStateData) CalcByteSize(layer int32) int
- func (m *TLAuthsessionGetAuthStateData) DebugString() string
- func (m *TLAuthsessionGetAuthStateData) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionGetAuthStateData) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionGetAuthStateData) Encode(layer int32) []byte
- func (m *TLAuthsessionGetAuthStateData) GetAuthKeyId() int64
- func (m *TLAuthsessionGetAuthStateData) GetConstructor() TLConstructor
- func (this *TLAuthsessionGetAuthStateData) GoString() string
- func (m *TLAuthsessionGetAuthStateData) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionGetAuthStateData) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionGetAuthStateData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionGetAuthStateData) ProtoMessage()
- func (m *TLAuthsessionGetAuthStateData) Reset()
- func (m *TLAuthsessionGetAuthStateData) Size() (n int)
- func (m *TLAuthsessionGetAuthStateData) String() string
- func (m *TLAuthsessionGetAuthStateData) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionGetAuthStateData) XXX_DiscardUnknown()
- func (m *TLAuthsessionGetAuthStateData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionGetAuthStateData) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionGetAuthStateData) XXX_Size() int
- func (m *TLAuthsessionGetAuthStateData) XXX_Unmarshal(b []byte) error
- type TLAuthsessionGetAuthorization
- func (m *TLAuthsessionGetAuthorization) CalcByteSize(layer int32) int
- func (m *TLAuthsessionGetAuthorization) DebugString() string
- func (m *TLAuthsessionGetAuthorization) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionGetAuthorization) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionGetAuthorization) Encode(layer int32) []byte
- func (m *TLAuthsessionGetAuthorization) GetAuthKeyId() int64
- func (m *TLAuthsessionGetAuthorization) GetConstructor() TLConstructor
- func (this *TLAuthsessionGetAuthorization) GoString() string
- func (m *TLAuthsessionGetAuthorization) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionGetAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionGetAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionGetAuthorization) ProtoMessage()
- func (m *TLAuthsessionGetAuthorization) Reset()
- func (m *TLAuthsessionGetAuthorization) Size() (n int)
- func (m *TLAuthsessionGetAuthorization) String() string
- func (m *TLAuthsessionGetAuthorization) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionGetAuthorization) XXX_DiscardUnknown()
- func (m *TLAuthsessionGetAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionGetAuthorization) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionGetAuthorization) XXX_Size() int
- func (m *TLAuthsessionGetAuthorization) XXX_Unmarshal(b []byte) error
- type TLAuthsessionGetAuthorizations
- func (m *TLAuthsessionGetAuthorizations) CalcByteSize(layer int32) int
- func (m *TLAuthsessionGetAuthorizations) DebugString() string
- func (m *TLAuthsessionGetAuthorizations) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionGetAuthorizations) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionGetAuthorizations) Encode(layer int32) []byte
- func (m *TLAuthsessionGetAuthorizations) GetConstructor() TLConstructor
- func (m *TLAuthsessionGetAuthorizations) GetExcludeAuthKeyId() int64
- func (m *TLAuthsessionGetAuthorizations) GetUserId() int64
- func (this *TLAuthsessionGetAuthorizations) GoString() string
- func (m *TLAuthsessionGetAuthorizations) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionGetAuthorizations) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionGetAuthorizations) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionGetAuthorizations) ProtoMessage()
- func (m *TLAuthsessionGetAuthorizations) Reset()
- func (m *TLAuthsessionGetAuthorizations) Size() (n int)
- func (m *TLAuthsessionGetAuthorizations) String() string
- func (m *TLAuthsessionGetAuthorizations) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionGetAuthorizations) XXX_DiscardUnknown()
- func (m *TLAuthsessionGetAuthorizations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionGetAuthorizations) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionGetAuthorizations) XXX_Size() int
- func (m *TLAuthsessionGetAuthorizations) XXX_Unmarshal(b []byte) error
- type TLAuthsessionGetClient
- func (m *TLAuthsessionGetClient) CalcByteSize(layer int32) int
- func (m *TLAuthsessionGetClient) DebugString() string
- func (m *TLAuthsessionGetClient) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionGetClient) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionGetClient) Encode(layer int32) []byte
- func (m *TLAuthsessionGetClient) GetAuthKeyId() int64
- func (m *TLAuthsessionGetClient) GetConstructor() TLConstructor
- func (this *TLAuthsessionGetClient) GoString() string
- func (m *TLAuthsessionGetClient) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionGetClient) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionGetClient) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionGetClient) ProtoMessage()
- func (m *TLAuthsessionGetClient) Reset()
- func (m *TLAuthsessionGetClient) Size() (n int)
- func (m *TLAuthsessionGetClient) String() string
- func (m *TLAuthsessionGetClient) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionGetClient) XXX_DiscardUnknown()
- func (m *TLAuthsessionGetClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionGetClient) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionGetClient) XXX_Size() int
- func (m *TLAuthsessionGetClient) XXX_Unmarshal(b []byte) error
- type TLAuthsessionGetFutureSalts
- func (m *TLAuthsessionGetFutureSalts) CalcByteSize(layer int32) int
- func (m *TLAuthsessionGetFutureSalts) DebugString() string
- func (m *TLAuthsessionGetFutureSalts) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionGetFutureSalts) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionGetFutureSalts) Encode(layer int32) []byte
- func (m *TLAuthsessionGetFutureSalts) GetAuthKeyId() int64
- func (m *TLAuthsessionGetFutureSalts) GetConstructor() TLConstructor
- func (m *TLAuthsessionGetFutureSalts) GetNum() int32
- func (this *TLAuthsessionGetFutureSalts) GoString() string
- func (m *TLAuthsessionGetFutureSalts) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionGetFutureSalts) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionGetFutureSalts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionGetFutureSalts) ProtoMessage()
- func (m *TLAuthsessionGetFutureSalts) Reset()
- func (m *TLAuthsessionGetFutureSalts) Size() (n int)
- func (m *TLAuthsessionGetFutureSalts) String() string
- func (m *TLAuthsessionGetFutureSalts) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionGetFutureSalts) XXX_DiscardUnknown()
- func (m *TLAuthsessionGetFutureSalts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionGetFutureSalts) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionGetFutureSalts) XXX_Size() int
- func (m *TLAuthsessionGetFutureSalts) XXX_Unmarshal(b []byte) error
- type TLAuthsessionGetLangCode
- func (m *TLAuthsessionGetLangCode) CalcByteSize(layer int32) int
- func (m *TLAuthsessionGetLangCode) DebugString() string
- func (m *TLAuthsessionGetLangCode) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionGetLangCode) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionGetLangCode) Encode(layer int32) []byte
- func (m *TLAuthsessionGetLangCode) GetAuthKeyId() int64
- func (m *TLAuthsessionGetLangCode) GetConstructor() TLConstructor
- func (this *TLAuthsessionGetLangCode) GoString() string
- func (m *TLAuthsessionGetLangCode) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionGetLangCode) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionGetLangCode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionGetLangCode) ProtoMessage()
- func (m *TLAuthsessionGetLangCode) Reset()
- func (m *TLAuthsessionGetLangCode) Size() (n int)
- func (m *TLAuthsessionGetLangCode) String() string
- func (m *TLAuthsessionGetLangCode) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionGetLangCode) XXX_DiscardUnknown()
- func (m *TLAuthsessionGetLangCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionGetLangCode) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionGetLangCode) XXX_Size() int
- func (m *TLAuthsessionGetLangCode) XXX_Unmarshal(b []byte) error
- type TLAuthsessionGetLangPack
- func (m *TLAuthsessionGetLangPack) CalcByteSize(layer int32) int
- func (m *TLAuthsessionGetLangPack) DebugString() string
- func (m *TLAuthsessionGetLangPack) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionGetLangPack) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionGetLangPack) Encode(layer int32) []byte
- func (m *TLAuthsessionGetLangPack) GetAuthKeyId() int64
- func (m *TLAuthsessionGetLangPack) GetConstructor() TLConstructor
- func (this *TLAuthsessionGetLangPack) GoString() string
- func (m *TLAuthsessionGetLangPack) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionGetLangPack) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionGetLangPack) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionGetLangPack) ProtoMessage()
- func (m *TLAuthsessionGetLangPack) Reset()
- func (m *TLAuthsessionGetLangPack) Size() (n int)
- func (m *TLAuthsessionGetLangPack) String() string
- func (m *TLAuthsessionGetLangPack) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionGetLangPack) XXX_DiscardUnknown()
- func (m *TLAuthsessionGetLangPack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionGetLangPack) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionGetLangPack) XXX_Size() int
- func (m *TLAuthsessionGetLangPack) XXX_Unmarshal(b []byte) error
- type TLAuthsessionGetLayer
- func (m *TLAuthsessionGetLayer) CalcByteSize(layer int32) int
- func (m *TLAuthsessionGetLayer) DebugString() string
- func (m *TLAuthsessionGetLayer) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionGetLayer) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionGetLayer) Encode(layer int32) []byte
- func (m *TLAuthsessionGetLayer) GetAuthKeyId() int64
- func (m *TLAuthsessionGetLayer) GetConstructor() TLConstructor
- func (this *TLAuthsessionGetLayer) GoString() string
- func (m *TLAuthsessionGetLayer) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionGetLayer) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionGetLayer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionGetLayer) ProtoMessage()
- func (m *TLAuthsessionGetLayer) Reset()
- func (m *TLAuthsessionGetLayer) Size() (n int)
- func (m *TLAuthsessionGetLayer) String() string
- func (m *TLAuthsessionGetLayer) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionGetLayer) XXX_DiscardUnknown()
- func (m *TLAuthsessionGetLayer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionGetLayer) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionGetLayer) XXX_Size() int
- func (m *TLAuthsessionGetLayer) XXX_Unmarshal(b []byte) error
- type TLAuthsessionGetPermAuthKeyId
- func (m *TLAuthsessionGetPermAuthKeyId) CalcByteSize(layer int32) int
- func (m *TLAuthsessionGetPermAuthKeyId) DebugString() string
- func (m *TLAuthsessionGetPermAuthKeyId) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionGetPermAuthKeyId) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionGetPermAuthKeyId) Encode(layer int32) []byte
- func (m *TLAuthsessionGetPermAuthKeyId) GetAuthKeyId() int64
- func (m *TLAuthsessionGetPermAuthKeyId) GetConstructor() TLConstructor
- func (this *TLAuthsessionGetPermAuthKeyId) GoString() string
- func (m *TLAuthsessionGetPermAuthKeyId) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionGetPermAuthKeyId) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionGetPermAuthKeyId) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionGetPermAuthKeyId) ProtoMessage()
- func (m *TLAuthsessionGetPermAuthKeyId) Reset()
- func (m *TLAuthsessionGetPermAuthKeyId) Size() (n int)
- func (m *TLAuthsessionGetPermAuthKeyId) String() string
- func (m *TLAuthsessionGetPermAuthKeyId) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionGetPermAuthKeyId) XXX_DiscardUnknown()
- func (m *TLAuthsessionGetPermAuthKeyId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionGetPermAuthKeyId) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionGetPermAuthKeyId) XXX_Size() int
- func (m *TLAuthsessionGetPermAuthKeyId) XXX_Unmarshal(b []byte) error
- type TLAuthsessionGetPushSessionId
- func (m *TLAuthsessionGetPushSessionId) CalcByteSize(layer int32) int
- func (m *TLAuthsessionGetPushSessionId) DebugString() string
- func (m *TLAuthsessionGetPushSessionId) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionGetPushSessionId) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionGetPushSessionId) Encode(layer int32) []byte
- func (m *TLAuthsessionGetPushSessionId) GetAuthKeyId() int64
- func (m *TLAuthsessionGetPushSessionId) GetConstructor() TLConstructor
- func (m *TLAuthsessionGetPushSessionId) GetTokenType() int32
- func (m *TLAuthsessionGetPushSessionId) GetUserId() int64
- func (this *TLAuthsessionGetPushSessionId) GoString() string
- func (m *TLAuthsessionGetPushSessionId) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionGetPushSessionId) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionGetPushSessionId) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionGetPushSessionId) ProtoMessage()
- func (m *TLAuthsessionGetPushSessionId) Reset()
- func (m *TLAuthsessionGetPushSessionId) Size() (n int)
- func (m *TLAuthsessionGetPushSessionId) String() string
- func (m *TLAuthsessionGetPushSessionId) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionGetPushSessionId) XXX_DiscardUnknown()
- func (m *TLAuthsessionGetPushSessionId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionGetPushSessionId) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionGetPushSessionId) XXX_Size() int
- func (m *TLAuthsessionGetPushSessionId) XXX_Unmarshal(b []byte) error
- type TLAuthsessionGetUserId
- func (m *TLAuthsessionGetUserId) CalcByteSize(layer int32) int
- func (m *TLAuthsessionGetUserId) DebugString() string
- func (m *TLAuthsessionGetUserId) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionGetUserId) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionGetUserId) Encode(layer int32) []byte
- func (m *TLAuthsessionGetUserId) GetAuthKeyId() int64
- func (m *TLAuthsessionGetUserId) GetConstructor() TLConstructor
- func (this *TLAuthsessionGetUserId) GoString() string
- func (m *TLAuthsessionGetUserId) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionGetUserId) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionGetUserId) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionGetUserId) ProtoMessage()
- func (m *TLAuthsessionGetUserId) Reset()
- func (m *TLAuthsessionGetUserId) Size() (n int)
- func (m *TLAuthsessionGetUserId) String() string
- func (m *TLAuthsessionGetUserId) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionGetUserId) XXX_DiscardUnknown()
- func (m *TLAuthsessionGetUserId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionGetUserId) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionGetUserId) XXX_Size() int
- func (m *TLAuthsessionGetUserId) XXX_Unmarshal(b []byte) error
- type TLAuthsessionQueryAuthKey
- func (m *TLAuthsessionQueryAuthKey) CalcByteSize(layer int32) int
- func (m *TLAuthsessionQueryAuthKey) DebugString() string
- func (m *TLAuthsessionQueryAuthKey) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionQueryAuthKey) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionQueryAuthKey) Encode(layer int32) []byte
- func (m *TLAuthsessionQueryAuthKey) GetAuthKeyId() int64
- func (m *TLAuthsessionQueryAuthKey) GetConstructor() TLConstructor
- func (this *TLAuthsessionQueryAuthKey) GoString() string
- func (m *TLAuthsessionQueryAuthKey) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionQueryAuthKey) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionQueryAuthKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionQueryAuthKey) ProtoMessage()
- func (m *TLAuthsessionQueryAuthKey) Reset()
- func (m *TLAuthsessionQueryAuthKey) Size() (n int)
- func (m *TLAuthsessionQueryAuthKey) String() string
- func (m *TLAuthsessionQueryAuthKey) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionQueryAuthKey) XXX_DiscardUnknown()
- func (m *TLAuthsessionQueryAuthKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionQueryAuthKey) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionQueryAuthKey) XXX_Size() int
- func (m *TLAuthsessionQueryAuthKey) XXX_Unmarshal(b []byte) error
- type TLAuthsessionResetAuthorization
- func (m *TLAuthsessionResetAuthorization) CalcByteSize(layer int32) int
- func (m *TLAuthsessionResetAuthorization) DebugString() string
- func (m *TLAuthsessionResetAuthorization) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionResetAuthorization) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionResetAuthorization) Encode(layer int32) []byte
- func (m *TLAuthsessionResetAuthorization) GetAuthKeyId() int64
- func (m *TLAuthsessionResetAuthorization) GetConstructor() TLConstructor
- func (m *TLAuthsessionResetAuthorization) GetHash() int64
- func (m *TLAuthsessionResetAuthorization) GetUserId() int64
- func (this *TLAuthsessionResetAuthorization) GoString() string
- func (m *TLAuthsessionResetAuthorization) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionResetAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionResetAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionResetAuthorization) ProtoMessage()
- func (m *TLAuthsessionResetAuthorization) Reset()
- func (m *TLAuthsessionResetAuthorization) Size() (n int)
- func (m *TLAuthsessionResetAuthorization) String() string
- func (m *TLAuthsessionResetAuthorization) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionResetAuthorization) XXX_DiscardUnknown()
- func (m *TLAuthsessionResetAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionResetAuthorization) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionResetAuthorization) XXX_Size() int
- func (m *TLAuthsessionResetAuthorization) XXX_Unmarshal(b []byte) error
- type TLAuthsessionSetAuthKey
- func (m *TLAuthsessionSetAuthKey) CalcByteSize(layer int32) int
- func (m *TLAuthsessionSetAuthKey) DebugString() string
- func (m *TLAuthsessionSetAuthKey) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionSetAuthKey) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionSetAuthKey) Encode(layer int32) []byte
- func (m *TLAuthsessionSetAuthKey) GetAuthKey() *mtproto.AuthKeyInfo
- func (m *TLAuthsessionSetAuthKey) GetConstructor() TLConstructor
- func (m *TLAuthsessionSetAuthKey) GetExpiresIn() int32
- func (m *TLAuthsessionSetAuthKey) GetFutureSalt() *mtproto.FutureSalt
- func (this *TLAuthsessionSetAuthKey) GoString() string
- func (m *TLAuthsessionSetAuthKey) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionSetAuthKey) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionSetAuthKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionSetAuthKey) ProtoMessage()
- func (m *TLAuthsessionSetAuthKey) Reset()
- func (m *TLAuthsessionSetAuthKey) Size() (n int)
- func (m *TLAuthsessionSetAuthKey) String() string
- func (m *TLAuthsessionSetAuthKey) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionSetAuthKey) XXX_DiscardUnknown()
- func (m *TLAuthsessionSetAuthKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionSetAuthKey) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionSetAuthKey) XXX_Size() int
- func (m *TLAuthsessionSetAuthKey) XXX_Unmarshal(b []byte) error
- type TLAuthsessionSetClientSessionInfo
- func (m *TLAuthsessionSetClientSessionInfo) CalcByteSize(layer int32) int
- func (m *TLAuthsessionSetClientSessionInfo) DebugString() string
- func (m *TLAuthsessionSetClientSessionInfo) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionSetClientSessionInfo) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionSetClientSessionInfo) Encode(layer int32) []byte
- func (m *TLAuthsessionSetClientSessionInfo) GetConstructor() TLConstructor
- func (m *TLAuthsessionSetClientSessionInfo) GetData() *ClientSession
- func (this *TLAuthsessionSetClientSessionInfo) GoString() string
- func (m *TLAuthsessionSetClientSessionInfo) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionSetClientSessionInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionSetClientSessionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionSetClientSessionInfo) ProtoMessage()
- func (m *TLAuthsessionSetClientSessionInfo) Reset()
- func (m *TLAuthsessionSetClientSessionInfo) Size() (n int)
- func (m *TLAuthsessionSetClientSessionInfo) String() string
- func (m *TLAuthsessionSetClientSessionInfo) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionSetClientSessionInfo) XXX_DiscardUnknown()
- func (m *TLAuthsessionSetClientSessionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionSetClientSessionInfo) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionSetClientSessionInfo) XXX_Size() int
- func (m *TLAuthsessionSetClientSessionInfo) XXX_Unmarshal(b []byte) error
- type TLAuthsessionUnbindAuthKeyUser
- func (m *TLAuthsessionUnbindAuthKeyUser) CalcByteSize(layer int32) int
- func (m *TLAuthsessionUnbindAuthKeyUser) DebugString() string
- func (m *TLAuthsessionUnbindAuthKeyUser) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLAuthsessionUnbindAuthKeyUser) Descriptor() ([]byte, []int)
- func (m *TLAuthsessionUnbindAuthKeyUser) Encode(layer int32) []byte
- func (m *TLAuthsessionUnbindAuthKeyUser) GetAuthKeyId() int64
- func (m *TLAuthsessionUnbindAuthKeyUser) GetConstructor() TLConstructor
- func (m *TLAuthsessionUnbindAuthKeyUser) GetUserId() int64
- func (this *TLAuthsessionUnbindAuthKeyUser) GoString() string
- func (m *TLAuthsessionUnbindAuthKeyUser) Marshal() (dAtA []byte, err error)
- func (m *TLAuthsessionUnbindAuthKeyUser) MarshalTo(dAtA []byte) (int, error)
- func (m *TLAuthsessionUnbindAuthKeyUser) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLAuthsessionUnbindAuthKeyUser) ProtoMessage()
- func (m *TLAuthsessionUnbindAuthKeyUser) Reset()
- func (m *TLAuthsessionUnbindAuthKeyUser) Size() (n int)
- func (m *TLAuthsessionUnbindAuthKeyUser) String() string
- func (m *TLAuthsessionUnbindAuthKeyUser) Unmarshal(dAtA []byte) error
- func (m *TLAuthsessionUnbindAuthKeyUser) XXX_DiscardUnknown()
- func (m *TLAuthsessionUnbindAuthKeyUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLAuthsessionUnbindAuthKeyUser) XXX_Merge(src proto.Message)
- func (m *TLAuthsessionUnbindAuthKeyUser) XXX_Size() int
- func (m *TLAuthsessionUnbindAuthKeyUser) XXX_Unmarshal(b []byte) error
- type TLClientSession
- func (m *TLClientSession) CalcByteSize(layer int32) int
- func (m *TLClientSession) DebugString() string
- func (m *TLClientSession) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLClientSession) Descriptor() ([]byte, []int)
- func (m *TLClientSession) Encode(layer int32) []byte
- func (m *TLClientSession) GetApiId() int32
- func (m *TLClientSession) GetAppVersion() string
- func (m *TLClientSession) GetAuthKeyId() int64
- func (m *TLClientSession) GetData2() *ClientSession
- func (m *TLClientSession) GetDeviceModel() string
- func (m *TLClientSession) GetIp() string
- func (m *TLClientSession) GetLangCode() string
- func (m *TLClientSession) GetLangPack() string
- func (m *TLClientSession) GetLayer() int32
- func (m *TLClientSession) GetParams() string
- func (m *TLClientSession) GetPredicateName() string
- func (m *TLClientSession) GetProxy() string
- func (m *TLClientSession) GetSystemLangCode() string
- func (m *TLClientSession) GetSystemVersion() string
- func (this *TLClientSession) GoString() string
- func (m *TLClientSession) Marshal() (dAtA []byte, err error)
- func (m *TLClientSession) MarshalTo(dAtA []byte) (int, error)
- func (m *TLClientSession) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLClientSession) ProtoMessage()
- func (m *TLClientSession) Reset()
- func (m *TLClientSession) SetApiId(v int32)
- func (m *TLClientSession) SetAppVersion(v string)
- func (m *TLClientSession) SetAuthKeyId(v int64)
- func (m *TLClientSession) SetDeviceModel(v string)
- func (m *TLClientSession) SetIp(v string)
- func (m *TLClientSession) SetLangCode(v string)
- func (m *TLClientSession) SetLangPack(v string)
- func (m *TLClientSession) SetLayer(v int32)
- func (m *TLClientSession) SetParams(v string)
- func (m *TLClientSession) SetProxy(v string)
- func (m *TLClientSession) SetSystemLangCode(v string)
- func (m *TLClientSession) SetSystemVersion(v string)
- func (m *TLClientSession) Size() (n int)
- func (m *TLClientSession) String() string
- func (m *TLClientSession) To_ClientSession() *ClientSession
- func (m *TLClientSession) Unmarshal(dAtA []byte) error
- func (m *TLClientSession) XXX_DiscardUnknown()
- func (m *TLClientSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLClientSession) XXX_Merge(src proto.Message)
- func (m *TLClientSession) XXX_Size() int
- func (m *TLClientSession) XXX_Unmarshal(b []byte) error
- type TLConstructor
- type UnimplementedRPCAuthsessionServer
- func (*UnimplementedRPCAuthsessionServer) AuthsessionBindAuthKeyUser(ctx context.Context, req *TLAuthsessionBindAuthKeyUser) (*mtproto.Int64, error)
- func (*UnimplementedRPCAuthsessionServer) AuthsessionBindTempAuthKey(ctx context.Context, req *TLAuthsessionBindTempAuthKey) (*mtproto.Bool, error)
- func (*UnimplementedRPCAuthsessionServer) AuthsessionGetAuthStateData(ctx context.Context, req *TLAuthsessionGetAuthStateData) (*AuthKeyStateData, error)
- func (*UnimplementedRPCAuthsessionServer) AuthsessionGetAuthorization(ctx context.Context, req *TLAuthsessionGetAuthorization) (*mtproto.Authorization, error)
- func (*UnimplementedRPCAuthsessionServer) AuthsessionGetAuthorizations(ctx context.Context, req *TLAuthsessionGetAuthorizations) (*mtproto.Account_Authorizations, error)
- func (*UnimplementedRPCAuthsessionServer) AuthsessionGetClient(ctx context.Context, req *TLAuthsessionGetClient) (*mtproto.String, error)
- func (*UnimplementedRPCAuthsessionServer) AuthsessionGetFutureSalts(ctx context.Context, req *TLAuthsessionGetFutureSalts) (*mtproto.FutureSalts, error)
- func (*UnimplementedRPCAuthsessionServer) AuthsessionGetLangCode(ctx context.Context, req *TLAuthsessionGetLangCode) (*mtproto.String, error)
- func (*UnimplementedRPCAuthsessionServer) AuthsessionGetLangPack(ctx context.Context, req *TLAuthsessionGetLangPack) (*mtproto.String, error)
- func (*UnimplementedRPCAuthsessionServer) AuthsessionGetLayer(ctx context.Context, req *TLAuthsessionGetLayer) (*mtproto.Int32, error)
- func (*UnimplementedRPCAuthsessionServer) AuthsessionGetPermAuthKeyId(ctx context.Context, req *TLAuthsessionGetPermAuthKeyId) (*mtproto.Int64, error)
- func (*UnimplementedRPCAuthsessionServer) AuthsessionGetPushSessionId(ctx context.Context, req *TLAuthsessionGetPushSessionId) (*mtproto.Int64, error)
- func (*UnimplementedRPCAuthsessionServer) AuthsessionGetUserId(ctx context.Context, req *TLAuthsessionGetUserId) (*mtproto.Int64, error)
- func (*UnimplementedRPCAuthsessionServer) AuthsessionQueryAuthKey(ctx context.Context, req *TLAuthsessionQueryAuthKey) (*mtproto.AuthKeyInfo, error)
- func (*UnimplementedRPCAuthsessionServer) AuthsessionResetAuthorization(ctx context.Context, req *TLAuthsessionResetAuthorization) (*Vector_Long, error)
- func (*UnimplementedRPCAuthsessionServer) AuthsessionSetAuthKey(ctx context.Context, req *TLAuthsessionSetAuthKey) (*mtproto.Bool, error)
- func (*UnimplementedRPCAuthsessionServer) AuthsessionSetClientSessionInfo(ctx context.Context, req *TLAuthsessionSetClientSessionInfo) (*mtproto.Bool, error)
- func (*UnimplementedRPCAuthsessionServer) AuthsessionUnbindAuthKeyUser(ctx context.Context, req *TLAuthsessionUnbindAuthKeyUser) (*mtproto.Bool, error)
- type Vector_Long
- func (m *Vector_Long) CalcByteSize(layer int32) int
- func (m *Vector_Long) DebugString() string
- func (m *Vector_Long) Decode(dBuf *mtproto.DecodeBuf) error
- func (*Vector_Long) Descriptor() ([]byte, []int)
- func (m *Vector_Long) Encode(layer int32) []byte
- func (m *Vector_Long) GetDatas() []int64
- func (this *Vector_Long) GoString() string
- func (m *Vector_Long) Marshal() (dAtA []byte, err error)
- func (m *Vector_Long) MarshalTo(dAtA []byte) (int, error)
- func (m *Vector_Long) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Vector_Long) ProtoMessage()
- func (m *Vector_Long) Reset()
- func (m *Vector_Long) Size() (n int)
- func (m *Vector_Long) String() string
- func (m *Vector_Long) Unmarshal(dAtA []byte) error
- func (m *Vector_Long) XXX_DiscardUnknown()
- func (m *Vector_Long) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vector_Long) XXX_Merge(src proto.Message)
- func (m *Vector_Long) XXX_Size() int
- func (m *Vector_Long) XXX_Unmarshal(b []byte) error
Constants ¶
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" )
Variables ¶
var ( ErrInvalidLengthAuthsessionTl = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAuthsessionTl = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAuthsessionTl = fmt.Errorf("proto: unexpected end of group") )
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",
}
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,
}
Functions ¶
func CheckClassID ¶
func GetClazzID ¶
func GetRPCContextRegisters ¶
func GetRPCContextRegisters() map[string]RPCContextTuple
func NewTLObjectByClassID ¶
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 auth_key_id:long user_id:long key_state:int layer:int client_type:int android_push_session_id:long = AuthKeyStateData;
AuthKeyStateData <--
- TL_authKeyStateData
func (*AuthKeyStateData) CalcByteSize ¶
func (m *AuthKeyStateData) CalcByteSize(layer int32) int
func (*AuthKeyStateData) DebugString ¶
func (m *AuthKeyStateData) DebugString() string
func (*AuthKeyStateData) Descriptor ¶
func (*AuthKeyStateData) Descriptor() ([]byte, []int)
func (*AuthKeyStateData) Encode ¶
func (m *AuthKeyStateData) Encode(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) 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 authKeyStateData auth_key_id:long user_id:long key_state:int layer:int client_type:int android_push_session_id:long = 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 auth_key_id:long ip:string layer:int api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:string params:string = ClientSession;
ClientSession <--
- TL_clientSession
func (*ClientSession) CalcByteSize ¶
func (m *ClientSession) CalcByteSize(layer int32) int
func (*ClientSession) DebugString ¶
func (m *ClientSession) DebugString() string
func (*ClientSession) Descriptor ¶
func (*ClientSession) Descriptor() ([]byte, []int)
func (*ClientSession) Encode ¶
func (m *ClientSession) Encode(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) 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 clientSession auth_key_id:long ip:string layer:int api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:string params:string = 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 { // authsession.getAuthorizations user_id:long exclude_auth_keyId:long = account.Authorizations; AuthsessionGetAuthorizations(ctx context.Context, in *TLAuthsessionGetAuthorizations, opts ...grpc.CallOption) (*mtproto.Account_Authorizations, error) // authsession.resetAuthorization user_id:long auth_key_id:long hash:long = Vector<long>; AuthsessionResetAuthorization(ctx context.Context, in *TLAuthsessionResetAuthorization, opts ...grpc.CallOption) (*Vector_Long, error) // authsession.getLayer auth_key_id:long = Int32; AuthsessionGetLayer(ctx context.Context, in *TLAuthsessionGetLayer, opts ...grpc.CallOption) (*mtproto.Int32, error) // authsession.getLangPack auth_key_id:long = String; AuthsessionGetLangPack(ctx context.Context, in *TLAuthsessionGetLangPack, opts ...grpc.CallOption) (*mtproto.String, error) // authsession.getClient auth_key_id:long = String; AuthsessionGetClient(ctx context.Context, in *TLAuthsessionGetClient, opts ...grpc.CallOption) (*mtproto.String, error) // authsession.getLangCode auth_key_id:long = String; AuthsessionGetLangCode(ctx context.Context, in *TLAuthsessionGetLangCode, opts ...grpc.CallOption) (*mtproto.String, error) // authsession.getUserId auth_key_id:long = Int64; AuthsessionGetUserId(ctx context.Context, in *TLAuthsessionGetUserId, opts ...grpc.CallOption) (*mtproto.Int64, error) // authsession.getPushSessionId user_id:long auth_key_id:long token_type:int = Int64; AuthsessionGetPushSessionId(ctx context.Context, in *TLAuthsessionGetPushSessionId, opts ...grpc.CallOption) (*mtproto.Int64, error) // authsession.getFutureSalts auth_key_id:long num:int = FutureSalts; AuthsessionGetFutureSalts(ctx context.Context, in *TLAuthsessionGetFutureSalts, opts ...grpc.CallOption) (*mtproto.FutureSalts, error) // authsession.queryAuthKey auth_key_id:long = AuthKeyInfo; AuthsessionQueryAuthKey(ctx context.Context, in *TLAuthsessionQueryAuthKey, opts ...grpc.CallOption) (*mtproto.AuthKeyInfo, error) // authsession.setAuthKey auth_key:AuthKeyInfo future_salt:FutureSalt expires_in:int = Bool; AuthsessionSetAuthKey(ctx context.Context, in *TLAuthsessionSetAuthKey, opts ...grpc.CallOption) (*mtproto.Bool, error) // authsession.bindAuthKeyUser auth_key_id:long user_id:long = Int64; AuthsessionBindAuthKeyUser(ctx context.Context, in *TLAuthsessionBindAuthKeyUser, opts ...grpc.CallOption) (*mtproto.Int64, error) // authsession.unbindAuthKeyUser auth_key_id:long user_id:long = Bool; AuthsessionUnbindAuthKeyUser(ctx context.Context, in *TLAuthsessionUnbindAuthKeyUser, opts ...grpc.CallOption) (*mtproto.Bool, error) // authsession.getPermAuthKeyId auth_key_id:long= Int64; AuthsessionGetPermAuthKeyId(ctx context.Context, in *TLAuthsessionGetPermAuthKeyId, opts ...grpc.CallOption) (*mtproto.Int64, error) // authsession.bindTempAuthKey perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; AuthsessionBindTempAuthKey(ctx context.Context, in *TLAuthsessionBindTempAuthKey, opts ...grpc.CallOption) (*mtproto.Bool, error) // authsession.setClientSessionInfo data:ClientSession = Bool; AuthsessionSetClientSessionInfo(ctx context.Context, in *TLAuthsessionSetClientSessionInfo, opts ...grpc.CallOption) (*mtproto.Bool, error) // authsession.getAuthorization auth_key_id:long = Authorization; AuthsessionGetAuthorization(ctx context.Context, in *TLAuthsessionGetAuthorization, opts ...grpc.CallOption) (*mtproto.Authorization, error) // authsession.getAuthStateData auth_key_id:long = AuthKeyStateData; AuthsessionGetAuthStateData(ctx context.Context, in *TLAuthsessionGetAuthStateData, opts ...grpc.CallOption) (*AuthKeyStateData, 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 { // authsession.getAuthorizations user_id:long exclude_auth_keyId:long = account.Authorizations; AuthsessionGetAuthorizations(context.Context, *TLAuthsessionGetAuthorizations) (*mtproto.Account_Authorizations, error) // authsession.resetAuthorization user_id:long auth_key_id:long hash:long = Vector<long>; AuthsessionResetAuthorization(context.Context, *TLAuthsessionResetAuthorization) (*Vector_Long, error) // authsession.getLayer auth_key_id:long = Int32; AuthsessionGetLayer(context.Context, *TLAuthsessionGetLayer) (*mtproto.Int32, error) // authsession.getLangPack auth_key_id:long = String; AuthsessionGetLangPack(context.Context, *TLAuthsessionGetLangPack) (*mtproto.String, error) // authsession.getClient auth_key_id:long = String; AuthsessionGetClient(context.Context, *TLAuthsessionGetClient) (*mtproto.String, error) // authsession.getLangCode auth_key_id:long = String; AuthsessionGetLangCode(context.Context, *TLAuthsessionGetLangCode) (*mtproto.String, error) // authsession.getUserId auth_key_id:long = Int64; AuthsessionGetUserId(context.Context, *TLAuthsessionGetUserId) (*mtproto.Int64, error) // authsession.getPushSessionId user_id:long auth_key_id:long token_type:int = Int64; AuthsessionGetPushSessionId(context.Context, *TLAuthsessionGetPushSessionId) (*mtproto.Int64, error) // authsession.getFutureSalts auth_key_id:long num:int = FutureSalts; AuthsessionGetFutureSalts(context.Context, *TLAuthsessionGetFutureSalts) (*mtproto.FutureSalts, error) // authsession.queryAuthKey auth_key_id:long = AuthKeyInfo; AuthsessionQueryAuthKey(context.Context, *TLAuthsessionQueryAuthKey) (*mtproto.AuthKeyInfo, error) // authsession.setAuthKey auth_key:AuthKeyInfo future_salt:FutureSalt expires_in:int = Bool; AuthsessionSetAuthKey(context.Context, *TLAuthsessionSetAuthKey) (*mtproto.Bool, error) // authsession.bindAuthKeyUser auth_key_id:long user_id:long = Int64; AuthsessionBindAuthKeyUser(context.Context, *TLAuthsessionBindAuthKeyUser) (*mtproto.Int64, error) // authsession.unbindAuthKeyUser auth_key_id:long user_id:long = Bool; AuthsessionUnbindAuthKeyUser(context.Context, *TLAuthsessionUnbindAuthKeyUser) (*mtproto.Bool, error) // authsession.getPermAuthKeyId auth_key_id:long= Int64; AuthsessionGetPermAuthKeyId(context.Context, *TLAuthsessionGetPermAuthKeyId) (*mtproto.Int64, error) // authsession.bindTempAuthKey perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; AuthsessionBindTempAuthKey(context.Context, *TLAuthsessionBindTempAuthKey) (*mtproto.Bool, error) // authsession.setClientSessionInfo data:ClientSession = Bool; AuthsessionSetClientSessionInfo(context.Context, *TLAuthsessionSetClientSessionInfo) (*mtproto.Bool, error) // authsession.getAuthorization auth_key_id:long = Authorization; AuthsessionGetAuthorization(context.Context, *TLAuthsessionGetAuthorization) (*mtproto.Authorization, error) // authsession.getAuthStateData auth_key_id:long = AuthKeyStateData; AuthsessionGetAuthStateData(context.Context, *TLAuthsessionGetAuthStateData) (*AuthKeyStateData, 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:"-"` }
authKeyStateData auth_key_id:long user_id:long key_state:int layer:int client_type:int android_push_session_id:long = AuthKeyStateData;
func MakeTLAuthKeyStateData ¶
func MakeTLAuthKeyStateData(data2 *AuthKeyStateData) *TLAuthKeyStateData
MakeTLAuthKeyStateData authKeyStateData auth_key_id:long user_id:long key_state:int layer:int client_type:int android_push_session_id:long = AuthKeyStateData;
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(layer int32) []byte
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:"-"` }
-------------------------------------------------------------------------------------------- authsession.bindAuthKeyUser auth_key_id:long user_id:long = Int64;
func (*TLAuthsessionBindAuthKeyUser) CalcByteSize ¶
func (m *TLAuthsessionBindAuthKeyUser) CalcByteSize(layer int32) int
func (*TLAuthsessionBindAuthKeyUser) DebugString ¶
func (m *TLAuthsessionBindAuthKeyUser) DebugString() string
func (*TLAuthsessionBindAuthKeyUser) Decode ¶
func (m *TLAuthsessionBindAuthKeyUser) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLAuthsessionBindAuthKeyUser) Descriptor ¶
func (*TLAuthsessionBindAuthKeyUser) Descriptor() ([]byte, []int)
func (*TLAuthsessionBindAuthKeyUser) Encode ¶
func (m *TLAuthsessionBindAuthKeyUser) Encode(layer int32) []byte
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 (m *TLAuthsessionBindAuthKeyUser) String() 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:"-"` }
-------------------------------------------------------------------------------------------- authsession.bindTempAuthKey perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool;
func (*TLAuthsessionBindTempAuthKey) CalcByteSize ¶
func (m *TLAuthsessionBindTempAuthKey) CalcByteSize(layer int32) int
func (*TLAuthsessionBindTempAuthKey) DebugString ¶
func (m *TLAuthsessionBindTempAuthKey) DebugString() string
func (*TLAuthsessionBindTempAuthKey) Decode ¶
func (m *TLAuthsessionBindTempAuthKey) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLAuthsessionBindTempAuthKey) Descriptor ¶
func (*TLAuthsessionBindTempAuthKey) Descriptor() ([]byte, []int)
func (*TLAuthsessionBindTempAuthKey) Encode ¶
func (m *TLAuthsessionBindTempAuthKey) Encode(layer int32) []byte
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 (m *TLAuthsessionBindTempAuthKey) String() 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:"-"` }
-------------------------------------------------------------------------------------------- authsession.getAuthStateData auth_key_id:long = AuthKeyStateData;
func (*TLAuthsessionGetAuthStateData) CalcByteSize ¶
func (m *TLAuthsessionGetAuthStateData) CalcByteSize(layer int32) int
func (*TLAuthsessionGetAuthStateData) DebugString ¶
func (m *TLAuthsessionGetAuthStateData) DebugString() string
func (*TLAuthsessionGetAuthStateData) Decode ¶
func (m *TLAuthsessionGetAuthStateData) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLAuthsessionGetAuthStateData) Descriptor ¶
func (*TLAuthsessionGetAuthStateData) Descriptor() ([]byte, []int)
func (*TLAuthsessionGetAuthStateData) Encode ¶
func (m *TLAuthsessionGetAuthStateData) Encode(layer int32) []byte
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 (m *TLAuthsessionGetAuthStateData) String() 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:"-"` }
-------------------------------------------------------------------------------------------- authsession.getAuthorization auth_key_id:long = Authorization;
func (*TLAuthsessionGetAuthorization) CalcByteSize ¶
func (m *TLAuthsessionGetAuthorization) CalcByteSize(layer int32) int
func (*TLAuthsessionGetAuthorization) DebugString ¶
func (m *TLAuthsessionGetAuthorization) DebugString() string
func (*TLAuthsessionGetAuthorization) Decode ¶
func (m *TLAuthsessionGetAuthorization) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLAuthsessionGetAuthorization) Descriptor ¶
func (*TLAuthsessionGetAuthorization) Descriptor() ([]byte, []int)
func (*TLAuthsessionGetAuthorization) Encode ¶
func (m *TLAuthsessionGetAuthorization) Encode(layer int32) []byte
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 (m *TLAuthsessionGetAuthorization) String() 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:"-"` }
-------------------------------------------------------------------------------------------- authsession.getAuthorizations user_id:long exclude_auth_keyId:long = account.Authorizations;
func (*TLAuthsessionGetAuthorizations) CalcByteSize ¶
func (m *TLAuthsessionGetAuthorizations) CalcByteSize(layer int32) int
func (*TLAuthsessionGetAuthorizations) DebugString ¶
func (m *TLAuthsessionGetAuthorizations) DebugString() string
func (*TLAuthsessionGetAuthorizations) Decode ¶
func (m *TLAuthsessionGetAuthorizations) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLAuthsessionGetAuthorizations) Descriptor ¶
func (*TLAuthsessionGetAuthorizations) Descriptor() ([]byte, []int)
func (*TLAuthsessionGetAuthorizations) Encode ¶
func (m *TLAuthsessionGetAuthorizations) Encode(layer int32) []byte
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 (m *TLAuthsessionGetAuthorizations) String() 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:"-"` }
-------------------------------------------------------------------------------------------- authsession.getClient auth_key_id:long = String;
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(layer int32) []byte
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:"-"` }
-------------------------------------------------------------------------------------------- authsession.getFutureSalts auth_key_id:long num:int = FutureSalts;
func (*TLAuthsessionGetFutureSalts) CalcByteSize ¶
func (m *TLAuthsessionGetFutureSalts) CalcByteSize(layer int32) int
func (*TLAuthsessionGetFutureSalts) DebugString ¶
func (m *TLAuthsessionGetFutureSalts) DebugString() string
func (*TLAuthsessionGetFutureSalts) Decode ¶
func (m *TLAuthsessionGetFutureSalts) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLAuthsessionGetFutureSalts) Descriptor ¶
func (*TLAuthsessionGetFutureSalts) Descriptor() ([]byte, []int)
func (*TLAuthsessionGetFutureSalts) Encode ¶
func (m *TLAuthsessionGetFutureSalts) Encode(layer int32) []byte
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:"-"` }
-------------------------------------------------------------------------------------------- authsession.getLangCode auth_key_id:long = String;
func (*TLAuthsessionGetLangCode) CalcByteSize ¶
func (m *TLAuthsessionGetLangCode) CalcByteSize(layer int32) int
func (*TLAuthsessionGetLangCode) DebugString ¶
func (m *TLAuthsessionGetLangCode) DebugString() string
func (*TLAuthsessionGetLangCode) Decode ¶
func (m *TLAuthsessionGetLangCode) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLAuthsessionGetLangCode) Descriptor ¶
func (*TLAuthsessionGetLangCode) Descriptor() ([]byte, []int)
func (*TLAuthsessionGetLangCode) Encode ¶
func (m *TLAuthsessionGetLangCode) Encode(layer int32) []byte
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:"-"` }
-------------------------------------------------------------------------------------------- authsession.getLangPack auth_key_id:long = String;
func (*TLAuthsessionGetLangPack) CalcByteSize ¶
func (m *TLAuthsessionGetLangPack) CalcByteSize(layer int32) int
func (*TLAuthsessionGetLangPack) DebugString ¶
func (m *TLAuthsessionGetLangPack) DebugString() string
func (*TLAuthsessionGetLangPack) Decode ¶
func (m *TLAuthsessionGetLangPack) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLAuthsessionGetLangPack) Descriptor ¶
func (*TLAuthsessionGetLangPack) Descriptor() ([]byte, []int)
func (*TLAuthsessionGetLangPack) Encode ¶
func (m *TLAuthsessionGetLangPack) Encode(layer int32) []byte
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:"-"` }
-------------------------------------------------------------------------------------------- authsession.getLayer auth_key_id:long = Int32;
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(layer int32) []byte
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:"-"` }
-------------------------------------------------------------------------------------------- authsession.getPermAuthKeyId auth_key_id:long= Int64;
func (*TLAuthsessionGetPermAuthKeyId) CalcByteSize ¶
func (m *TLAuthsessionGetPermAuthKeyId) CalcByteSize(layer int32) int
func (*TLAuthsessionGetPermAuthKeyId) DebugString ¶
func (m *TLAuthsessionGetPermAuthKeyId) DebugString() string
func (*TLAuthsessionGetPermAuthKeyId) Decode ¶
func (m *TLAuthsessionGetPermAuthKeyId) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLAuthsessionGetPermAuthKeyId) Descriptor ¶
func (*TLAuthsessionGetPermAuthKeyId) Descriptor() ([]byte, []int)
func (*TLAuthsessionGetPermAuthKeyId) Encode ¶
func (m *TLAuthsessionGetPermAuthKeyId) Encode(layer int32) []byte
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 (m *TLAuthsessionGetPermAuthKeyId) String() 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:"-"` }
-------------------------------------------------------------------------------------------- authsession.getPushSessionId user_id:long auth_key_id:long token_type:int = Int64;
func (*TLAuthsessionGetPushSessionId) CalcByteSize ¶
func (m *TLAuthsessionGetPushSessionId) CalcByteSize(layer int32) int
func (*TLAuthsessionGetPushSessionId) DebugString ¶
func (m *TLAuthsessionGetPushSessionId) DebugString() string
func (*TLAuthsessionGetPushSessionId) Decode ¶
func (m *TLAuthsessionGetPushSessionId) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLAuthsessionGetPushSessionId) Descriptor ¶
func (*TLAuthsessionGetPushSessionId) Descriptor() ([]byte, []int)
func (*TLAuthsessionGetPushSessionId) Encode ¶
func (m *TLAuthsessionGetPushSessionId) Encode(layer int32) []byte
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 (m *TLAuthsessionGetPushSessionId) String() 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:"-"` }
-------------------------------------------------------------------------------------------- authsession.getUserId auth_key_id:long = Int64;
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(layer int32) []byte
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:"-"` }
-------------------------------------------------------------------------------------------- authsession.queryAuthKey auth_key_id:long = AuthKeyInfo;
func (*TLAuthsessionQueryAuthKey) CalcByteSize ¶
func (m *TLAuthsessionQueryAuthKey) CalcByteSize(layer int32) int
func (*TLAuthsessionQueryAuthKey) DebugString ¶
func (m *TLAuthsessionQueryAuthKey) DebugString() string
func (*TLAuthsessionQueryAuthKey) Decode ¶
func (m *TLAuthsessionQueryAuthKey) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLAuthsessionQueryAuthKey) Descriptor ¶
func (*TLAuthsessionQueryAuthKey) Descriptor() ([]byte, []int)
func (*TLAuthsessionQueryAuthKey) Encode ¶
func (m *TLAuthsessionQueryAuthKey) Encode(layer int32) []byte
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:"-"` }
-------------------------------------------------------------------------------------------- authsession.resetAuthorization user_id:long auth_key_id:long hash:long = Vector<long>;
func (*TLAuthsessionResetAuthorization) CalcByteSize ¶
func (m *TLAuthsessionResetAuthorization) CalcByteSize(layer int32) int
func (*TLAuthsessionResetAuthorization) DebugString ¶
func (m *TLAuthsessionResetAuthorization) DebugString() string
func (*TLAuthsessionResetAuthorization) Decode ¶
func (m *TLAuthsessionResetAuthorization) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLAuthsessionResetAuthorization) Descriptor ¶
func (*TLAuthsessionResetAuthorization) Descriptor() ([]byte, []int)
func (*TLAuthsessionResetAuthorization) Encode ¶
func (m *TLAuthsessionResetAuthorization) Encode(layer int32) []byte
func (*TLAuthsessionResetAuthorization) GetAuthKeyId ¶
func (m *TLAuthsessionResetAuthorization) GetAuthKeyId() int64
func (*TLAuthsessionResetAuthorization) GetConstructor ¶
func (m *TLAuthsessionResetAuthorization) GetConstructor() TLConstructor
func (*TLAuthsessionResetAuthorization) GetHash ¶
func (m *TLAuthsessionResetAuthorization) GetHash() int64
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 (m *TLAuthsessionResetAuthorization) Reset()
func (*TLAuthsessionResetAuthorization) Size ¶
func (m *TLAuthsessionResetAuthorization) Size() (n int)
func (*TLAuthsessionResetAuthorization) String ¶
func (m *TLAuthsessionResetAuthorization) String() 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:"-"` }
-------------------------------------------------------------------------------------------- authsession.setAuthKey auth_key:AuthKeyInfo future_salt:FutureSalt expires_in:int = Bool;
func (*TLAuthsessionSetAuthKey) CalcByteSize ¶
func (m *TLAuthsessionSetAuthKey) CalcByteSize(layer int32) int
func (*TLAuthsessionSetAuthKey) DebugString ¶
func (m *TLAuthsessionSetAuthKey) DebugString() string
func (*TLAuthsessionSetAuthKey) Decode ¶
func (m *TLAuthsessionSetAuthKey) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLAuthsessionSetAuthKey) Descriptor ¶
func (*TLAuthsessionSetAuthKey) Descriptor() ([]byte, []int)
func (*TLAuthsessionSetAuthKey) Encode ¶
func (m *TLAuthsessionSetAuthKey) Encode(layer int32) []byte
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:"-"` }
-------------------------------------------------------------------------------------------- authsession.setClientSessionInfo data:ClientSession = Bool;
func (*TLAuthsessionSetClientSessionInfo) CalcByteSize ¶
func (m *TLAuthsessionSetClientSessionInfo) CalcByteSize(layer int32) int
func (*TLAuthsessionSetClientSessionInfo) DebugString ¶
func (m *TLAuthsessionSetClientSessionInfo) DebugString() string
func (*TLAuthsessionSetClientSessionInfo) Decode ¶
func (m *TLAuthsessionSetClientSessionInfo) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLAuthsessionSetClientSessionInfo) Descriptor ¶
func (*TLAuthsessionSetClientSessionInfo) Descriptor() ([]byte, []int)
func (*TLAuthsessionSetClientSessionInfo) Encode ¶
func (m *TLAuthsessionSetClientSessionInfo) Encode(layer int32) []byte
func (*TLAuthsessionSetClientSessionInfo) GetConstructor ¶
func (m *TLAuthsessionSetClientSessionInfo) GetConstructor() TLConstructor
func (*TLAuthsessionSetClientSessionInfo) GetData ¶
func (m *TLAuthsessionSetClientSessionInfo) GetData() *ClientSession
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 (m *TLAuthsessionSetClientSessionInfo) Reset()
func (*TLAuthsessionSetClientSessionInfo) Size ¶
func (m *TLAuthsessionSetClientSessionInfo) Size() (n int)
func (*TLAuthsessionSetClientSessionInfo) String ¶
func (m *TLAuthsessionSetClientSessionInfo) String() 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 (m *TLAuthsessionSetClientSessionInfo) XXX_Merge(src proto.Message)
func (*TLAuthsessionSetClientSessionInfo) XXX_Size ¶
func (m *TLAuthsessionSetClientSessionInfo) XXX_Size() int
func (*TLAuthsessionSetClientSessionInfo) XXX_Unmarshal ¶
func (m *TLAuthsessionSetClientSessionInfo) 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:"-"` }
-------------------------------------------------------------------------------------------- authsession.unbindAuthKeyUser auth_key_id:long user_id:long = Bool;
func (*TLAuthsessionUnbindAuthKeyUser) CalcByteSize ¶
func (m *TLAuthsessionUnbindAuthKeyUser) CalcByteSize(layer int32) int
func (*TLAuthsessionUnbindAuthKeyUser) DebugString ¶
func (m *TLAuthsessionUnbindAuthKeyUser) DebugString() string
func (*TLAuthsessionUnbindAuthKeyUser) Decode ¶
func (m *TLAuthsessionUnbindAuthKeyUser) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLAuthsessionUnbindAuthKeyUser) Descriptor ¶
func (*TLAuthsessionUnbindAuthKeyUser) Descriptor() ([]byte, []int)
func (*TLAuthsessionUnbindAuthKeyUser) Encode ¶
func (m *TLAuthsessionUnbindAuthKeyUser) Encode(layer int32) []byte
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 (m *TLAuthsessionUnbindAuthKeyUser) String() 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:"-"` }
clientSession auth_key_id:long ip:string layer:int api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:string params:string = ClientSession;
func MakeTLClientSession ¶
func MakeTLClientSession(data2 *ClientSession) *TLClientSession
MakeTLClientSession clientSession auth_key_id:long ip:string layer:int api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:string params:string = ClientSession;
func (*TLClientSession) CalcByteSize ¶
func (m *TLClientSession) CalcByteSize(layer int32) int
func (*TLClientSession) DebugString ¶
func (m *TLClientSession) DebugString() string
func (*TLClientSession) Descriptor ¶
func (*TLClientSession) Descriptor() ([]byte, []int)
func (*TLClientSession) Encode ¶
func (m *TLClientSession) Encode(layer int32) []byte
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) 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 )
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) AuthsessionBindAuthKeyUser(ctx context.Context, req *TLAuthsessionBindAuthKeyUser) (*mtproto.Int64, error)
func (*UnimplementedRPCAuthsessionServer) AuthsessionBindTempAuthKey ¶
func (*UnimplementedRPCAuthsessionServer) AuthsessionBindTempAuthKey(ctx context.Context, req *TLAuthsessionBindTempAuthKey) (*mtproto.Bool, error)
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetAuthStateData ¶
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetAuthStateData(ctx context.Context, req *TLAuthsessionGetAuthStateData) (*AuthKeyStateData, error)
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetAuthorization ¶
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetAuthorization(ctx context.Context, req *TLAuthsessionGetAuthorization) (*mtproto.Authorization, error)
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetAuthorizations ¶
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetAuthorizations(ctx context.Context, req *TLAuthsessionGetAuthorizations) (*mtproto.Account_Authorizations, error)
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetClient ¶
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetClient(ctx context.Context, req *TLAuthsessionGetClient) (*mtproto.String, error)
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetFutureSalts ¶
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetFutureSalts(ctx context.Context, req *TLAuthsessionGetFutureSalts) (*mtproto.FutureSalts, error)
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetLangCode ¶
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetLangCode(ctx context.Context, req *TLAuthsessionGetLangCode) (*mtproto.String, error)
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetLangPack ¶
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetLangPack(ctx context.Context, req *TLAuthsessionGetLangPack) (*mtproto.String, error)
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetLayer ¶
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetLayer(ctx context.Context, req *TLAuthsessionGetLayer) (*mtproto.Int32, error)
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetPermAuthKeyId ¶
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetPermAuthKeyId(ctx context.Context, req *TLAuthsessionGetPermAuthKeyId) (*mtproto.Int64, error)
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetPushSessionId ¶
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetPushSessionId(ctx context.Context, req *TLAuthsessionGetPushSessionId) (*mtproto.Int64, error)
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetUserId ¶
func (*UnimplementedRPCAuthsessionServer) AuthsessionGetUserId(ctx context.Context, req *TLAuthsessionGetUserId) (*mtproto.Int64, error)
func (*UnimplementedRPCAuthsessionServer) AuthsessionQueryAuthKey ¶
func (*UnimplementedRPCAuthsessionServer) AuthsessionQueryAuthKey(ctx context.Context, req *TLAuthsessionQueryAuthKey) (*mtproto.AuthKeyInfo, error)
func (*UnimplementedRPCAuthsessionServer) AuthsessionResetAuthorization ¶
func (*UnimplementedRPCAuthsessionServer) AuthsessionResetAuthorization(ctx context.Context, req *TLAuthsessionResetAuthorization) (*Vector_Long, error)
func (*UnimplementedRPCAuthsessionServer) AuthsessionSetAuthKey ¶
func (*UnimplementedRPCAuthsessionServer) AuthsessionSetAuthKey(ctx context.Context, req *TLAuthsessionSetAuthKey) (*mtproto.Bool, error)
func (*UnimplementedRPCAuthsessionServer) AuthsessionSetClientSessionInfo ¶
func (*UnimplementedRPCAuthsessionServer) AuthsessionSetClientSessionInfo(ctx context.Context, req *TLAuthsessionSetClientSessionInfo) (*mtproto.Bool, error)
func (*UnimplementedRPCAuthsessionServer) AuthsessionUnbindAuthKeyUser ¶
func (*UnimplementedRPCAuthsessionServer) AuthsessionUnbindAuthKeyUser(ctx context.Context, req *TLAuthsessionUnbindAuthKeyUser) (*mtproto.Bool, error)
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) Descriptor ¶
func (*Vector_Long) Descriptor() ([]byte, []int)
func (*Vector_Long) Encode ¶
func (m *Vector_Long) Encode(layer int32) []byte
---------------------------------------------------------------------------------------------------------------- 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) 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