status

package
v0.96.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Predicate_sessionEntry                      = "sessionEntry"
	Predicate_userSessionEntryList              = "userSessionEntryList"
	Predicate_status_setSessionOnline           = "status_setSessionOnline"
	Predicate_status_setSessionOffline          = "status_setSessionOffline"
	Predicate_status_getUserOnlineSessions      = "status_getUserOnlineSessions"
	Predicate_status_getUsersOnlineSessionsList = "status_getUsersOnlineSessionsList"
	Predicate_status_getChannelOnlineUsers      = "status_getChannelOnlineUsers"
	Predicate_status_setUserChannelsOnline      = "status_setUserChannelsOnline"
	Predicate_status_setUserChannelsOffline     = "status_setUserChannelsOffline"
	Predicate_status_setChannelUserOffline      = "status_setChannelUserOffline"
	Predicate_status_setChannelUsersOnline      = "status_setChannelUsersOnline"
	Predicate_status_setChannelOffline          = "status_setChannelOffline"
)

Variables

View Source
var (
	ErrInvalidLengthStatusTl        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowStatusTl          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupStatusTl = fmt.Errorf("proto: unexpected end of group")
)
View Source
var TLConstructor_name = map[int32]string{
	0:           "CRC32_UNKNOWN",
	392473649:   "CRC32_sessionEntry",
	-269700200:  "CRC32_userSessionEntryList",
	1381075919:  "CRC32_status_setSessionOnline",
	631663196:   "CRC32_status_setSessionOffline",
	-406788659:  "CRC32_status_getUserOnlineSessions",
	-2009385532: "CRC32_status_getUsersOnlineSessionsList",
	1166257237:  "CRC32_status_getChannelOnlineUsers",
	-851901363:  "CRC32_status_setUserChannelsOnline",
	1822646698:  "CRC32_status_setUserChannelsOffline",
	-997471364:  "CRC32_status_setChannelUserOffline",
	-1499734793: "CRC32_status_setChannelUsersOnline",
	1266112245:  "CRC32_status_setChannelOffline",
}
View Source
var TLConstructor_value = map[string]int32{
	"CRC32_UNKNOWN":                           0,
	"CRC32_sessionEntry":                      392473649,
	"CRC32_userSessionEntryList":              -269700200,
	"CRC32_status_setSessionOnline":           1381075919,
	"CRC32_status_setSessionOffline":          631663196,
	"CRC32_status_getUserOnlineSessions":      -406788659,
	"CRC32_status_getUsersOnlineSessionsList": -2009385532,
	"CRC32_status_getChannelOnlineUsers":      1166257237,
	"CRC32_status_setUserChannelsOnline":      -851901363,
	"CRC32_status_setUserChannelsOffline":     1822646698,
	"CRC32_status_setChannelUserOffline":      -997471364,
	"CRC32_status_setChannelUsersOnline":      -1499734793,
	"CRC32_status_setChannelOffline":          1266112245,
}

Functions

func CheckClassID

func CheckClassID(classId int32) (ok bool)

func GetClazzID

func GetClazzID(clazzName string, layer int) int32

func GetRPCContextRegisters

func GetRPCContextRegisters() map[string]RPCContextTuple

func NewTLObjectByClassID

func NewTLObjectByClassID(classId int32) mtproto.TLObject

func RegisterRPCStatusServer

func RegisterRPCStatusServer(s *grpc.Server, srv RPCStatusServer)

Types

type RPCContextTuple

type RPCContextTuple struct {
	Method       string
	NewReplyFunc newRPCReplyFunc
}

func FindRPCContextTuple

func FindRPCContextTuple(t interface{}) *RPCContextTuple

type RPCStatusClient

type RPCStatusClient interface {
	StatusSetSessionOnline(ctx context.Context, in *TLStatusSetSessionOnline, opts ...grpc.CallOption) (*mtproto.Bool, error)
	StatusSetSessionOffline(ctx context.Context, in *TLStatusSetSessionOffline, opts ...grpc.CallOption) (*mtproto.Bool, error)
	StatusGetUserOnlineSessions(ctx context.Context, in *TLStatusGetUserOnlineSessions, opts ...grpc.CallOption) (*UserSessionEntryList, error)
	StatusGetUsersOnlineSessionsList(ctx context.Context, in *TLStatusGetUsersOnlineSessionsList, opts ...grpc.CallOption) (*Vector_UserSessionEntryList, error)
	StatusGetChannelOnlineUsers(ctx context.Context, in *TLStatusGetChannelOnlineUsers, opts ...grpc.CallOption) (*Vector_Long, error)
	StatusSetUserChannelsOnline(ctx context.Context, in *TLStatusSetUserChannelsOnline, opts ...grpc.CallOption) (*mtproto.Bool, error)
	StatusSetUserChannelsOffline(ctx context.Context, in *TLStatusSetUserChannelsOffline, opts ...grpc.CallOption) (*mtproto.Bool, error)
	StatusSetChannelUserOffline(ctx context.Context, in *TLStatusSetChannelUserOffline, opts ...grpc.CallOption) (*mtproto.Bool, error)
	StatusSetChannelUsersOnline(ctx context.Context, in *TLStatusSetChannelUsersOnline, opts ...grpc.CallOption) (*mtproto.Bool, error)
	StatusSetChannelOffline(ctx context.Context, in *TLStatusSetChannelOffline, opts ...grpc.CallOption) (*mtproto.Bool, error)
}

RPCStatusClient is the client API for RPCStatus service.

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

func NewRPCStatusClient

func NewRPCStatusClient(cc *grpc.ClientConn) RPCStatusClient

type RPCStatusServer

type RPCStatusServer interface {
	StatusSetSessionOnline(context.Context, *TLStatusSetSessionOnline) (*mtproto.Bool, error)
	StatusSetSessionOffline(context.Context, *TLStatusSetSessionOffline) (*mtproto.Bool, error)
	StatusGetUserOnlineSessions(context.Context, *TLStatusGetUserOnlineSessions) (*UserSessionEntryList, error)
	StatusGetUsersOnlineSessionsList(context.Context, *TLStatusGetUsersOnlineSessionsList) (*Vector_UserSessionEntryList, error)
	StatusGetChannelOnlineUsers(context.Context, *TLStatusGetChannelOnlineUsers) (*Vector_Long, error)
	StatusSetUserChannelsOnline(context.Context, *TLStatusSetUserChannelsOnline) (*mtproto.Bool, error)
	StatusSetUserChannelsOffline(context.Context, *TLStatusSetUserChannelsOffline) (*mtproto.Bool, error)
	StatusSetChannelUserOffline(context.Context, *TLStatusSetChannelUserOffline) (*mtproto.Bool, error)
	StatusSetChannelUsersOnline(context.Context, *TLStatusSetChannelUsersOnline) (*mtproto.Bool, error)
	StatusSetChannelOffline(context.Context, *TLStatusSetChannelOffline) (*mtproto.Bool, error)
}

RPCStatusServer is the server API for RPCStatus service.

type SessionEntry

type SessionEntry 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=status.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"`
	Gateway              string        `protobuf:"bytes,5,opt,name=gateway,proto3" json:"gateway,omitempty"`
	Expired              int64         `protobuf:"varint,6,opt,name=expired,proto3" json:"expired,omitempty"`
	Layer                int32         `protobuf:"varint,7,opt,name=layer,proto3" json:"layer,omitempty"`
	PermAuthKeyId        int64         `protobuf:"varint,8,opt,name=perm_auth_key_id,json=permAuthKeyId,proto3" json:"perm_auth_key_id,omitempty"`
	Client               string        `protobuf:"bytes,9,opt,name=client,proto3" json:"client,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

SessionEntry <--

  • TL_sessionEntry

func (*SessionEntry) CalcByteSize

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

func (*SessionEntry) DebugString

func (m *SessionEntry) DebugString() string

func (*SessionEntry) Decode

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

func (*SessionEntry) Descriptor

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

func (*SessionEntry) Encode

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

func (*SessionEntry) GetAuthKeyId

func (m *SessionEntry) GetAuthKeyId() int64

func (*SessionEntry) GetClient added in v0.87.2

func (m *SessionEntry) GetClient() string

func (*SessionEntry) GetConstructor

func (m *SessionEntry) GetConstructor() TLConstructor

func (*SessionEntry) GetExpired

func (m *SessionEntry) GetExpired() int64

func (*SessionEntry) GetGateway

func (m *SessionEntry) GetGateway() string

func (*SessionEntry) GetLayer

func (m *SessionEntry) GetLayer() int32

func (*SessionEntry) GetPermAuthKeyId added in v0.87.2

func (m *SessionEntry) GetPermAuthKeyId() int64

func (*SessionEntry) GetPredicateName

func (m *SessionEntry) GetPredicateName() string

func (*SessionEntry) GetUserId

func (m *SessionEntry) GetUserId() int64

func (*SessionEntry) GoString

func (this *SessionEntry) GoString() string

func (*SessionEntry) Marshal

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

func (*SessionEntry) MarshalTo

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

func (*SessionEntry) MarshalToSizedBuffer

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

func (*SessionEntry) ProtoMessage

func (*SessionEntry) ProtoMessage()

func (*SessionEntry) Reset

func (m *SessionEntry) Reset()

func (*SessionEntry) Size

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

func (*SessionEntry) String

func (m *SessionEntry) String() string

func (*SessionEntry) To_SessionEntry

func (m *SessionEntry) To_SessionEntry() *TLSessionEntry

To_SessionEntry

func (*SessionEntry) Unmarshal

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

func (*SessionEntry) XXX_DiscardUnknown

func (m *SessionEntry) XXX_DiscardUnknown()

func (*SessionEntry) XXX_Marshal

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

func (*SessionEntry) XXX_Merge

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

func (*SessionEntry) XXX_Size

func (m *SessionEntry) XXX_Size() int

func (*SessionEntry) XXX_Unmarshal

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

type TLConstructor

type TLConstructor int32
const (
	CRC32_UNKNOWN                           TLConstructor = 0
	CRC32_sessionEntry                      TLConstructor = 392473649
	CRC32_userSessionEntryList              TLConstructor = -269700200
	CRC32_status_setSessionOnline           TLConstructor = 1381075919
	CRC32_status_setSessionOffline          TLConstructor = 631663196
	CRC32_status_getUserOnlineSessions      TLConstructor = -406788659
	CRC32_status_getUsersOnlineSessionsList TLConstructor = -2009385532
	CRC32_status_getChannelOnlineUsers      TLConstructor = 1166257237
	CRC32_status_setUserChannelsOnline      TLConstructor = -851901363
	CRC32_status_setUserChannelsOffline     TLConstructor = 1822646698
	CRC32_status_setChannelUserOffline      TLConstructor = -997471364
	CRC32_status_setChannelUsersOnline      TLConstructor = -1499734793
	CRC32_status_setChannelOffline          TLConstructor = 1266112245
)

func (TLConstructor) EnumDescriptor

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

func (TLConstructor) String

func (x TLConstructor) String() string

type TLSessionEntry

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

func MakeTLSessionEntry

func MakeTLSessionEntry(data2 *SessionEntry) *TLSessionEntry

MakeTLSessionEntry

func (*TLSessionEntry) CalcByteSize

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

func (*TLSessionEntry) DebugString

func (m *TLSessionEntry) DebugString() string

func (*TLSessionEntry) Decode

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

func (*TLSessionEntry) Descriptor

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

func (*TLSessionEntry) Encode

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

func (*TLSessionEntry) GetAuthKeyId

func (m *TLSessionEntry) GetAuthKeyId() int64

func (*TLSessionEntry) GetClient added in v0.87.2

func (m *TLSessionEntry) GetClient() string

func (*TLSessionEntry) GetData2

func (m *TLSessionEntry) GetData2() *SessionEntry

func (*TLSessionEntry) GetExpired

func (m *TLSessionEntry) GetExpired() int64

func (*TLSessionEntry) GetGateway

func (m *TLSessionEntry) GetGateway() string

func (*TLSessionEntry) GetLayer

func (m *TLSessionEntry) GetLayer() int32

func (*TLSessionEntry) GetPermAuthKeyId added in v0.87.2

func (m *TLSessionEntry) GetPermAuthKeyId() int64

func (*TLSessionEntry) GetPredicateName

func (m *TLSessionEntry) GetPredicateName() string

func (*TLSessionEntry) GetUserId

func (m *TLSessionEntry) GetUserId() int64

func (*TLSessionEntry) GoString

func (this *TLSessionEntry) GoString() string

func (*TLSessionEntry) Marshal

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

func (*TLSessionEntry) MarshalTo

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

func (*TLSessionEntry) MarshalToSizedBuffer

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

func (*TLSessionEntry) ProtoMessage

func (*TLSessionEntry) ProtoMessage()

func (*TLSessionEntry) Reset

func (m *TLSessionEntry) Reset()

func (*TLSessionEntry) SetAuthKeyId

func (m *TLSessionEntry) SetAuthKeyId(v int64)

func (*TLSessionEntry) SetClient added in v0.87.2

func (m *TLSessionEntry) SetClient(v string)

func (*TLSessionEntry) SetExpired

func (m *TLSessionEntry) SetExpired(v int64)

func (*TLSessionEntry) SetGateway

func (m *TLSessionEntry) SetGateway(v string)

func (*TLSessionEntry) SetLayer

func (m *TLSessionEntry) SetLayer(v int32)

func (*TLSessionEntry) SetPermAuthKeyId added in v0.87.2

func (m *TLSessionEntry) SetPermAuthKeyId(v int64)

func (*TLSessionEntry) SetUserId

func (m *TLSessionEntry) SetUserId(v int64)

func (*TLSessionEntry) Size

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

func (*TLSessionEntry) String

func (m *TLSessionEntry) String() string

func (*TLSessionEntry) To_SessionEntry

func (m *TLSessionEntry) To_SessionEntry() *SessionEntry

func (*TLSessionEntry) Unmarshal

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

func (*TLSessionEntry) XXX_DiscardUnknown

func (m *TLSessionEntry) XXX_DiscardUnknown()

func (*TLSessionEntry) XXX_Marshal

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

func (*TLSessionEntry) XXX_Merge

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

func (*TLSessionEntry) XXX_Size

func (m *TLSessionEntry) XXX_Size() int

func (*TLSessionEntry) XXX_Unmarshal

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

type TLStatusGetChannelOnlineUsers added in v0.90.3

type TLStatusGetChannelOnlineUsers struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=status.TLConstructor" json:"constructor,omitempty"`
	ChannelId            int64         `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLStatusGetChannelOnlineUsers) CalcByteSize added in v0.90.3

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

func (*TLStatusGetChannelOnlineUsers) DebugString added in v0.90.3

func (m *TLStatusGetChannelOnlineUsers) DebugString() string

func (*TLStatusGetChannelOnlineUsers) Decode added in v0.90.3

func (*TLStatusGetChannelOnlineUsers) Descriptor added in v0.90.3

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

func (*TLStatusGetChannelOnlineUsers) Encode added in v0.90.3

func (*TLStatusGetChannelOnlineUsers) GetChannelId added in v0.90.3

func (m *TLStatusGetChannelOnlineUsers) GetChannelId() int64

func (*TLStatusGetChannelOnlineUsers) GetConstructor added in v0.90.3

func (m *TLStatusGetChannelOnlineUsers) GetConstructor() TLConstructor

func (*TLStatusGetChannelOnlineUsers) GoString added in v0.90.3

func (this *TLStatusGetChannelOnlineUsers) GoString() string

func (*TLStatusGetChannelOnlineUsers) Marshal added in v0.90.3

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

func (*TLStatusGetChannelOnlineUsers) MarshalTo added in v0.90.3

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

func (*TLStatusGetChannelOnlineUsers) MarshalToSizedBuffer added in v0.90.3

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

func (*TLStatusGetChannelOnlineUsers) ProtoMessage added in v0.90.3

func (*TLStatusGetChannelOnlineUsers) ProtoMessage()

func (*TLStatusGetChannelOnlineUsers) Reset added in v0.90.3

func (m *TLStatusGetChannelOnlineUsers) Reset()

func (*TLStatusGetChannelOnlineUsers) Size added in v0.90.3

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

func (*TLStatusGetChannelOnlineUsers) String added in v0.90.3

func (*TLStatusGetChannelOnlineUsers) Unmarshal added in v0.90.3

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

func (*TLStatusGetChannelOnlineUsers) XXX_DiscardUnknown added in v0.90.3

func (m *TLStatusGetChannelOnlineUsers) XXX_DiscardUnknown()

func (*TLStatusGetChannelOnlineUsers) XXX_Marshal added in v0.90.3

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

func (*TLStatusGetChannelOnlineUsers) XXX_Merge added in v0.90.3

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

func (*TLStatusGetChannelOnlineUsers) XXX_Size added in v0.90.3

func (m *TLStatusGetChannelOnlineUsers) XXX_Size() int

func (*TLStatusGetChannelOnlineUsers) XXX_Unmarshal added in v0.90.3

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

type TLStatusGetUserOnlineSessions

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

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

func (*TLStatusGetUserOnlineSessions) CalcByteSize

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

func (*TLStatusGetUserOnlineSessions) DebugString

func (m *TLStatusGetUserOnlineSessions) DebugString() string

func (*TLStatusGetUserOnlineSessions) Decode

func (*TLStatusGetUserOnlineSessions) Descriptor

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

func (*TLStatusGetUserOnlineSessions) Encode

func (*TLStatusGetUserOnlineSessions) GetConstructor

func (m *TLStatusGetUserOnlineSessions) GetConstructor() TLConstructor

func (*TLStatusGetUserOnlineSessions) GetUserId

func (m *TLStatusGetUserOnlineSessions) GetUserId() int64

func (*TLStatusGetUserOnlineSessions) GoString

func (this *TLStatusGetUserOnlineSessions) GoString() string

func (*TLStatusGetUserOnlineSessions) Marshal

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

func (*TLStatusGetUserOnlineSessions) MarshalTo

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

func (*TLStatusGetUserOnlineSessions) MarshalToSizedBuffer

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

func (*TLStatusGetUserOnlineSessions) ProtoMessage

func (*TLStatusGetUserOnlineSessions) ProtoMessage()

func (*TLStatusGetUserOnlineSessions) Reset

func (m *TLStatusGetUserOnlineSessions) Reset()

func (*TLStatusGetUserOnlineSessions) Size

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

func (*TLStatusGetUserOnlineSessions) String

func (*TLStatusGetUserOnlineSessions) Unmarshal

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

func (*TLStatusGetUserOnlineSessions) XXX_DiscardUnknown

func (m *TLStatusGetUserOnlineSessions) XXX_DiscardUnknown()

func (*TLStatusGetUserOnlineSessions) XXX_Marshal

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

func (*TLStatusGetUserOnlineSessions) XXX_Merge

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

func (*TLStatusGetUserOnlineSessions) XXX_Size

func (m *TLStatusGetUserOnlineSessions) XXX_Size() int

func (*TLStatusGetUserOnlineSessions) XXX_Unmarshal

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

type TLStatusGetUsersOnlineSessionsList

type TLStatusGetUsersOnlineSessionsList struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=status.TLConstructor" json:"constructor,omitempty"`
	Users                []int64       `protobuf:"varint,3,rep,packed,name=users,proto3" json:"users,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLStatusGetUsersOnlineSessionsList) CalcByteSize

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

func (*TLStatusGetUsersOnlineSessionsList) DebugString

func (m *TLStatusGetUsersOnlineSessionsList) DebugString() string

func (*TLStatusGetUsersOnlineSessionsList) Decode

func (*TLStatusGetUsersOnlineSessionsList) Descriptor

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

func (*TLStatusGetUsersOnlineSessionsList) Encode

func (*TLStatusGetUsersOnlineSessionsList) GetConstructor

func (*TLStatusGetUsersOnlineSessionsList) GetUsers

func (m *TLStatusGetUsersOnlineSessionsList) GetUsers() []int64

func (*TLStatusGetUsersOnlineSessionsList) GoString

func (this *TLStatusGetUsersOnlineSessionsList) GoString() string

func (*TLStatusGetUsersOnlineSessionsList) Marshal

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

func (*TLStatusGetUsersOnlineSessionsList) MarshalTo

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

func (*TLStatusGetUsersOnlineSessionsList) MarshalToSizedBuffer

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

func (*TLStatusGetUsersOnlineSessionsList) ProtoMessage

func (*TLStatusGetUsersOnlineSessionsList) ProtoMessage()

func (*TLStatusGetUsersOnlineSessionsList) Reset

func (*TLStatusGetUsersOnlineSessionsList) Size

func (*TLStatusGetUsersOnlineSessionsList) String

func (*TLStatusGetUsersOnlineSessionsList) Unmarshal

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

func (*TLStatusGetUsersOnlineSessionsList) XXX_DiscardUnknown

func (m *TLStatusGetUsersOnlineSessionsList) XXX_DiscardUnknown()

func (*TLStatusGetUsersOnlineSessionsList) XXX_Marshal

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

func (*TLStatusGetUsersOnlineSessionsList) XXX_Merge

func (*TLStatusGetUsersOnlineSessionsList) XXX_Size

func (*TLStatusGetUsersOnlineSessionsList) XXX_Unmarshal

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

type TLStatusSetChannelOffline added in v0.90.4

type TLStatusSetChannelOffline struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=status.TLConstructor" json:"constructor,omitempty"`
	ChannelId            int64         `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLStatusSetChannelOffline) CalcByteSize added in v0.90.4

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

func (*TLStatusSetChannelOffline) DebugString added in v0.90.4

func (m *TLStatusSetChannelOffline) DebugString() string

func (*TLStatusSetChannelOffline) Decode added in v0.90.4

func (*TLStatusSetChannelOffline) Descriptor added in v0.90.4

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

func (*TLStatusSetChannelOffline) Encode added in v0.90.4

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

func (*TLStatusSetChannelOffline) GetChannelId added in v0.90.4

func (m *TLStatusSetChannelOffline) GetChannelId() int64

func (*TLStatusSetChannelOffline) GetConstructor added in v0.90.4

func (m *TLStatusSetChannelOffline) GetConstructor() TLConstructor

func (*TLStatusSetChannelOffline) GoString added in v0.90.4

func (this *TLStatusSetChannelOffline) GoString() string

func (*TLStatusSetChannelOffline) Marshal added in v0.90.4

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

func (*TLStatusSetChannelOffline) MarshalTo added in v0.90.4

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

func (*TLStatusSetChannelOffline) MarshalToSizedBuffer added in v0.90.4

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

func (*TLStatusSetChannelOffline) ProtoMessage added in v0.90.4

func (*TLStatusSetChannelOffline) ProtoMessage()

func (*TLStatusSetChannelOffline) Reset added in v0.90.4

func (m *TLStatusSetChannelOffline) Reset()

func (*TLStatusSetChannelOffline) Size added in v0.90.4

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

func (*TLStatusSetChannelOffline) String added in v0.90.4

func (m *TLStatusSetChannelOffline) String() string

func (*TLStatusSetChannelOffline) Unmarshal added in v0.90.4

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

func (*TLStatusSetChannelOffline) XXX_DiscardUnknown added in v0.90.4

func (m *TLStatusSetChannelOffline) XXX_DiscardUnknown()

func (*TLStatusSetChannelOffline) XXX_Marshal added in v0.90.4

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

func (*TLStatusSetChannelOffline) XXX_Merge added in v0.90.4

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

func (*TLStatusSetChannelOffline) XXX_Size added in v0.90.4

func (m *TLStatusSetChannelOffline) XXX_Size() int

func (*TLStatusSetChannelOffline) XXX_Unmarshal added in v0.90.4

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

type TLStatusSetChannelUserOffline added in v0.90.3

type TLStatusSetChannelUserOffline struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=status.TLConstructor" json:"constructor,omitempty"`
	ChannelId            int64         `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	UserId               int64         `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLStatusSetChannelUserOffline) CalcByteSize added in v0.90.3

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

func (*TLStatusSetChannelUserOffline) DebugString added in v0.90.3

func (m *TLStatusSetChannelUserOffline) DebugString() string

func (*TLStatusSetChannelUserOffline) Decode added in v0.90.3

func (*TLStatusSetChannelUserOffline) Descriptor added in v0.90.3

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

func (*TLStatusSetChannelUserOffline) Encode added in v0.90.3

func (*TLStatusSetChannelUserOffline) GetChannelId added in v0.90.3

func (m *TLStatusSetChannelUserOffline) GetChannelId() int64

func (*TLStatusSetChannelUserOffline) GetConstructor added in v0.90.3

func (m *TLStatusSetChannelUserOffline) GetConstructor() TLConstructor

func (*TLStatusSetChannelUserOffline) GetUserId added in v0.90.3

func (m *TLStatusSetChannelUserOffline) GetUserId() int64

func (*TLStatusSetChannelUserOffline) GoString added in v0.90.3

func (this *TLStatusSetChannelUserOffline) GoString() string

func (*TLStatusSetChannelUserOffline) Marshal added in v0.90.3

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

func (*TLStatusSetChannelUserOffline) MarshalTo added in v0.90.3

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

func (*TLStatusSetChannelUserOffline) MarshalToSizedBuffer added in v0.90.3

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

func (*TLStatusSetChannelUserOffline) ProtoMessage added in v0.90.3

func (*TLStatusSetChannelUserOffline) ProtoMessage()

func (*TLStatusSetChannelUserOffline) Reset added in v0.90.3

func (m *TLStatusSetChannelUserOffline) Reset()

func (*TLStatusSetChannelUserOffline) Size added in v0.90.3

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

func (*TLStatusSetChannelUserOffline) String added in v0.90.3

func (*TLStatusSetChannelUserOffline) Unmarshal added in v0.90.3

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

func (*TLStatusSetChannelUserOffline) XXX_DiscardUnknown added in v0.90.3

func (m *TLStatusSetChannelUserOffline) XXX_DiscardUnknown()

func (*TLStatusSetChannelUserOffline) XXX_Marshal added in v0.90.3

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

func (*TLStatusSetChannelUserOffline) XXX_Merge added in v0.90.3

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

func (*TLStatusSetChannelUserOffline) XXX_Size added in v0.90.3

func (m *TLStatusSetChannelUserOffline) XXX_Size() int

func (*TLStatusSetChannelUserOffline) XXX_Unmarshal added in v0.90.3

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

type TLStatusSetChannelUsersOnline added in v0.90.4

type TLStatusSetChannelUsersOnline struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=status.TLConstructor" json:"constructor,omitempty"`
	ChannelId            int64         `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Id                   []int64       `protobuf:"varint,4,rep,packed,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLStatusSetChannelUsersOnline) CalcByteSize added in v0.90.4

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

func (*TLStatusSetChannelUsersOnline) DebugString added in v0.90.4

func (m *TLStatusSetChannelUsersOnline) DebugString() string

func (*TLStatusSetChannelUsersOnline) Decode added in v0.90.4

func (*TLStatusSetChannelUsersOnline) Descriptor added in v0.90.4

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

func (*TLStatusSetChannelUsersOnline) Encode added in v0.90.4

func (*TLStatusSetChannelUsersOnline) GetChannelId added in v0.90.4

func (m *TLStatusSetChannelUsersOnline) GetChannelId() int64

func (*TLStatusSetChannelUsersOnline) GetConstructor added in v0.90.4

func (m *TLStatusSetChannelUsersOnline) GetConstructor() TLConstructor

func (*TLStatusSetChannelUsersOnline) GetId added in v0.90.4

func (m *TLStatusSetChannelUsersOnline) GetId() []int64

func (*TLStatusSetChannelUsersOnline) GoString added in v0.90.4

func (this *TLStatusSetChannelUsersOnline) GoString() string

func (*TLStatusSetChannelUsersOnline) Marshal added in v0.90.4

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

func (*TLStatusSetChannelUsersOnline) MarshalTo added in v0.90.4

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

func (*TLStatusSetChannelUsersOnline) MarshalToSizedBuffer added in v0.90.4

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

func (*TLStatusSetChannelUsersOnline) ProtoMessage added in v0.90.4

func (*TLStatusSetChannelUsersOnline) ProtoMessage()

func (*TLStatusSetChannelUsersOnline) Reset added in v0.90.4

func (m *TLStatusSetChannelUsersOnline) Reset()

func (*TLStatusSetChannelUsersOnline) Size added in v0.90.4

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

func (*TLStatusSetChannelUsersOnline) String added in v0.90.4

func (*TLStatusSetChannelUsersOnline) Unmarshal added in v0.90.4

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

func (*TLStatusSetChannelUsersOnline) XXX_DiscardUnknown added in v0.90.4

func (m *TLStatusSetChannelUsersOnline) XXX_DiscardUnknown()

func (*TLStatusSetChannelUsersOnline) XXX_Marshal added in v0.90.4

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

func (*TLStatusSetChannelUsersOnline) XXX_Merge added in v0.90.4

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

func (*TLStatusSetChannelUsersOnline) XXX_Size added in v0.90.4

func (m *TLStatusSetChannelUsersOnline) XXX_Size() int

func (*TLStatusSetChannelUsersOnline) XXX_Unmarshal added in v0.90.4

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

type TLStatusSetSessionOffline

type TLStatusSetSessionOffline struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=status.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"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLStatusSetSessionOffline) CalcByteSize

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

func (*TLStatusSetSessionOffline) DebugString

func (m *TLStatusSetSessionOffline) DebugString() string

func (*TLStatusSetSessionOffline) Decode

func (*TLStatusSetSessionOffline) Descriptor

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

func (*TLStatusSetSessionOffline) Encode

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

func (*TLStatusSetSessionOffline) GetAuthKeyId

func (m *TLStatusSetSessionOffline) GetAuthKeyId() int64

func (*TLStatusSetSessionOffline) GetConstructor

func (m *TLStatusSetSessionOffline) GetConstructor() TLConstructor

func (*TLStatusSetSessionOffline) GetUserId

func (m *TLStatusSetSessionOffline) GetUserId() int64

func (*TLStatusSetSessionOffline) GoString

func (this *TLStatusSetSessionOffline) GoString() string

func (*TLStatusSetSessionOffline) Marshal

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

func (*TLStatusSetSessionOffline) MarshalTo

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

func (*TLStatusSetSessionOffline) MarshalToSizedBuffer

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

func (*TLStatusSetSessionOffline) ProtoMessage

func (*TLStatusSetSessionOffline) ProtoMessage()

func (*TLStatusSetSessionOffline) Reset

func (m *TLStatusSetSessionOffline) Reset()

func (*TLStatusSetSessionOffline) Size

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

func (*TLStatusSetSessionOffline) String

func (m *TLStatusSetSessionOffline) String() string

func (*TLStatusSetSessionOffline) Unmarshal

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

func (*TLStatusSetSessionOffline) XXX_DiscardUnknown

func (m *TLStatusSetSessionOffline) XXX_DiscardUnknown()

func (*TLStatusSetSessionOffline) XXX_Marshal

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

func (*TLStatusSetSessionOffline) XXX_Merge

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

func (*TLStatusSetSessionOffline) XXX_Size

func (m *TLStatusSetSessionOffline) XXX_Size() int

func (*TLStatusSetSessionOffline) XXX_Unmarshal

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

type TLStatusSetSessionOnline

type TLStatusSetSessionOnline struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=status.TLConstructor" json:"constructor,omitempty"`
	UserId               int64         `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Session              *SessionEntry `protobuf:"bytes,4,opt,name=session,proto3" json:"session,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLStatusSetSessionOnline) CalcByteSize

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

func (*TLStatusSetSessionOnline) DebugString

func (m *TLStatusSetSessionOnline) DebugString() string

func (*TLStatusSetSessionOnline) Decode

func (*TLStatusSetSessionOnline) Descriptor

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

func (*TLStatusSetSessionOnline) Encode

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

func (*TLStatusSetSessionOnline) GetConstructor

func (m *TLStatusSetSessionOnline) GetConstructor() TLConstructor

func (*TLStatusSetSessionOnline) GetSession added in v0.87.2

func (m *TLStatusSetSessionOnline) GetSession() *SessionEntry

func (*TLStatusSetSessionOnline) GetUserId

func (m *TLStatusSetSessionOnline) GetUserId() int64

func (*TLStatusSetSessionOnline) GoString

func (this *TLStatusSetSessionOnline) GoString() string

func (*TLStatusSetSessionOnline) Marshal

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

func (*TLStatusSetSessionOnline) MarshalTo

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

func (*TLStatusSetSessionOnline) MarshalToSizedBuffer

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

func (*TLStatusSetSessionOnline) ProtoMessage

func (*TLStatusSetSessionOnline) ProtoMessage()

func (*TLStatusSetSessionOnline) Reset

func (m *TLStatusSetSessionOnline) Reset()

func (*TLStatusSetSessionOnline) Size

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

func (*TLStatusSetSessionOnline) String

func (m *TLStatusSetSessionOnline) String() string

func (*TLStatusSetSessionOnline) Unmarshal

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

func (*TLStatusSetSessionOnline) XXX_DiscardUnknown

func (m *TLStatusSetSessionOnline) XXX_DiscardUnknown()

func (*TLStatusSetSessionOnline) XXX_Marshal

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

func (*TLStatusSetSessionOnline) XXX_Merge

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

func (*TLStatusSetSessionOnline) XXX_Size

func (m *TLStatusSetSessionOnline) XXX_Size() int

func (*TLStatusSetSessionOnline) XXX_Unmarshal

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

type TLStatusSetUserChannelsOffline added in v0.90.3

type TLStatusSetUserChannelsOffline struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=status.TLConstructor" json:"constructor,omitempty"`
	UserId               int64         `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Channels             []int64       `protobuf:"varint,4,rep,packed,name=channels,proto3" json:"channels,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLStatusSetUserChannelsOffline) CalcByteSize added in v0.90.3

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

func (*TLStatusSetUserChannelsOffline) DebugString added in v0.90.3

func (m *TLStatusSetUserChannelsOffline) DebugString() string

func (*TLStatusSetUserChannelsOffline) Decode added in v0.90.3

func (*TLStatusSetUserChannelsOffline) Descriptor added in v0.90.3

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

func (*TLStatusSetUserChannelsOffline) Encode added in v0.90.3

func (*TLStatusSetUserChannelsOffline) GetChannels added in v0.90.3

func (m *TLStatusSetUserChannelsOffline) GetChannels() []int64

func (*TLStatusSetUserChannelsOffline) GetConstructor added in v0.90.3

func (m *TLStatusSetUserChannelsOffline) GetConstructor() TLConstructor

func (*TLStatusSetUserChannelsOffline) GetUserId added in v0.90.3

func (m *TLStatusSetUserChannelsOffline) GetUserId() int64

func (*TLStatusSetUserChannelsOffline) GoString added in v0.90.3

func (this *TLStatusSetUserChannelsOffline) GoString() string

func (*TLStatusSetUserChannelsOffline) Marshal added in v0.90.3

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

func (*TLStatusSetUserChannelsOffline) MarshalTo added in v0.90.3

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

func (*TLStatusSetUserChannelsOffline) MarshalToSizedBuffer added in v0.90.3

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

func (*TLStatusSetUserChannelsOffline) ProtoMessage added in v0.90.3

func (*TLStatusSetUserChannelsOffline) ProtoMessage()

func (*TLStatusSetUserChannelsOffline) Reset added in v0.90.3

func (m *TLStatusSetUserChannelsOffline) Reset()

func (*TLStatusSetUserChannelsOffline) Size added in v0.90.3

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

func (*TLStatusSetUserChannelsOffline) String added in v0.90.3

func (*TLStatusSetUserChannelsOffline) Unmarshal added in v0.90.3

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

func (*TLStatusSetUserChannelsOffline) XXX_DiscardUnknown added in v0.90.3

func (m *TLStatusSetUserChannelsOffline) XXX_DiscardUnknown()

func (*TLStatusSetUserChannelsOffline) XXX_Marshal added in v0.90.3

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

func (*TLStatusSetUserChannelsOffline) XXX_Merge added in v0.90.3

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

func (*TLStatusSetUserChannelsOffline) XXX_Size added in v0.90.3

func (m *TLStatusSetUserChannelsOffline) XXX_Size() int

func (*TLStatusSetUserChannelsOffline) XXX_Unmarshal added in v0.90.3

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

type TLStatusSetUserChannelsOnline added in v0.90.3

type TLStatusSetUserChannelsOnline struct {
	Constructor          TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=status.TLConstructor" json:"constructor,omitempty"`
	UserId               int64         `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Channels             []int64       `protobuf:"varint,4,rep,packed,name=channels,proto3" json:"channels,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

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

func (*TLStatusSetUserChannelsOnline) CalcByteSize added in v0.90.3

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

func (*TLStatusSetUserChannelsOnline) DebugString added in v0.90.3

func (m *TLStatusSetUserChannelsOnline) DebugString() string

func (*TLStatusSetUserChannelsOnline) Decode added in v0.90.3

func (*TLStatusSetUserChannelsOnline) Descriptor added in v0.90.3

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

func (*TLStatusSetUserChannelsOnline) Encode added in v0.90.3

func (*TLStatusSetUserChannelsOnline) GetChannels added in v0.90.3

func (m *TLStatusSetUserChannelsOnline) GetChannels() []int64

func (*TLStatusSetUserChannelsOnline) GetConstructor added in v0.90.3

func (m *TLStatusSetUserChannelsOnline) GetConstructor() TLConstructor

func (*TLStatusSetUserChannelsOnline) GetUserId added in v0.90.3

func (m *TLStatusSetUserChannelsOnline) GetUserId() int64

func (*TLStatusSetUserChannelsOnline) GoString added in v0.90.3

func (this *TLStatusSetUserChannelsOnline) GoString() string

func (*TLStatusSetUserChannelsOnline) Marshal added in v0.90.3

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

func (*TLStatusSetUserChannelsOnline) MarshalTo added in v0.90.3

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

func (*TLStatusSetUserChannelsOnline) MarshalToSizedBuffer added in v0.90.3

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

func (*TLStatusSetUserChannelsOnline) ProtoMessage added in v0.90.3

func (*TLStatusSetUserChannelsOnline) ProtoMessage()

func (*TLStatusSetUserChannelsOnline) Reset added in v0.90.3

func (m *TLStatusSetUserChannelsOnline) Reset()

func (*TLStatusSetUserChannelsOnline) Size added in v0.90.3

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

func (*TLStatusSetUserChannelsOnline) String added in v0.90.3

func (*TLStatusSetUserChannelsOnline) Unmarshal added in v0.90.3

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

func (*TLStatusSetUserChannelsOnline) XXX_DiscardUnknown added in v0.90.3

func (m *TLStatusSetUserChannelsOnline) XXX_DiscardUnknown()

func (*TLStatusSetUserChannelsOnline) XXX_Marshal added in v0.90.3

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

func (*TLStatusSetUserChannelsOnline) XXX_Merge added in v0.90.3

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

func (*TLStatusSetUserChannelsOnline) XXX_Size added in v0.90.3

func (m *TLStatusSetUserChannelsOnline) XXX_Size() int

func (*TLStatusSetUserChannelsOnline) XXX_Unmarshal added in v0.90.3

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

type TLUserSessionEntryList

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

func MakeTLUserSessionEntryList

func MakeTLUserSessionEntryList(data2 *UserSessionEntryList) *TLUserSessionEntryList

MakeTLUserSessionEntryList

func (*TLUserSessionEntryList) CalcByteSize

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

func (*TLUserSessionEntryList) DebugString

func (m *TLUserSessionEntryList) DebugString() string

func (*TLUserSessionEntryList) Decode

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

func (*TLUserSessionEntryList) Descriptor

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

func (*TLUserSessionEntryList) Encode

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

func (*TLUserSessionEntryList) GetData2

func (*TLUserSessionEntryList) GetPredicateName

func (m *TLUserSessionEntryList) GetPredicateName() string

func (*TLUserSessionEntryList) GetUserId

func (m *TLUserSessionEntryList) GetUserId() int64

func (*TLUserSessionEntryList) GetUserSessions

func (m *TLUserSessionEntryList) GetUserSessions() []*SessionEntry

func (*TLUserSessionEntryList) GoString

func (this *TLUserSessionEntryList) GoString() string

func (*TLUserSessionEntryList) Marshal

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

func (*TLUserSessionEntryList) MarshalTo

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

func (*TLUserSessionEntryList) MarshalToSizedBuffer

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

func (*TLUserSessionEntryList) ProtoMessage

func (*TLUserSessionEntryList) ProtoMessage()

func (*TLUserSessionEntryList) Reset

func (m *TLUserSessionEntryList) Reset()

func (*TLUserSessionEntryList) SetUserId

func (m *TLUserSessionEntryList) SetUserId(v int64)

func (*TLUserSessionEntryList) SetUserSessions

func (m *TLUserSessionEntryList) SetUserSessions(v []*SessionEntry)

func (*TLUserSessionEntryList) Size

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

func (*TLUserSessionEntryList) String

func (m *TLUserSessionEntryList) String() string

func (*TLUserSessionEntryList) To_UserSessionEntryList

func (m *TLUserSessionEntryList) To_UserSessionEntryList() *UserSessionEntryList

func (*TLUserSessionEntryList) Unmarshal

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

func (*TLUserSessionEntryList) XXX_DiscardUnknown

func (m *TLUserSessionEntryList) XXX_DiscardUnknown()

func (*TLUserSessionEntryList) XXX_Marshal

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

func (*TLUserSessionEntryList) XXX_Merge

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

func (*TLUserSessionEntryList) XXX_Size

func (m *TLUserSessionEntryList) XXX_Size() int

func (*TLUserSessionEntryList) XXX_Unmarshal

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

type UnimplementedRPCStatusServer

type UnimplementedRPCStatusServer struct {
}

UnimplementedRPCStatusServer can be embedded to have forward compatible implementations.

func (*UnimplementedRPCStatusServer) StatusGetChannelOnlineUsers added in v0.90.3

func (*UnimplementedRPCStatusServer) StatusGetChannelOnlineUsers(ctx context.Context, req *TLStatusGetChannelOnlineUsers) (*Vector_Long, error)

func (*UnimplementedRPCStatusServer) StatusGetUserOnlineSessions

func (*UnimplementedRPCStatusServer) StatusGetUsersOnlineSessionsList

func (*UnimplementedRPCStatusServer) StatusSetChannelOffline added in v0.90.4

func (*UnimplementedRPCStatusServer) StatusSetChannelUserOffline added in v0.90.3

func (*UnimplementedRPCStatusServer) StatusSetChannelUserOffline(ctx context.Context, req *TLStatusSetChannelUserOffline) (*mtproto.Bool, error)

func (*UnimplementedRPCStatusServer) StatusSetChannelUsersOnline added in v0.90.4

func (*UnimplementedRPCStatusServer) StatusSetChannelUsersOnline(ctx context.Context, req *TLStatusSetChannelUsersOnline) (*mtproto.Bool, error)

func (*UnimplementedRPCStatusServer) StatusSetSessionOffline

func (*UnimplementedRPCStatusServer) StatusSetSessionOnline

func (*UnimplementedRPCStatusServer) StatusSetUserChannelsOffline added in v0.90.3

func (*UnimplementedRPCStatusServer) StatusSetUserChannelsOffline(ctx context.Context, req *TLStatusSetUserChannelsOffline) (*mtproto.Bool, error)

func (*UnimplementedRPCStatusServer) StatusSetUserChannelsOnline added in v0.90.3

func (*UnimplementedRPCStatusServer) StatusSetUserChannelsOnline(ctx context.Context, req *TLStatusSetUserChannelsOnline) (*mtproto.Bool, error)

type UserSessionEntryList

type UserSessionEntryList 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=status.TLConstructor" json:"constructor,omitempty"`
	UserId               int64           `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UserSessions         []*SessionEntry `protobuf:"bytes,4,rep,name=user_sessions,json=userSessions,proto3" json:"user_sessions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

UserSessionEntryList <--

  • TL_userSessionEntryList

func (*UserSessionEntryList) CalcByteSize

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

func (*UserSessionEntryList) DebugString

func (m *UserSessionEntryList) DebugString() string

func (*UserSessionEntryList) Decode

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

func (*UserSessionEntryList) Descriptor

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

func (*UserSessionEntryList) Encode

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

func (*UserSessionEntryList) GetConstructor

func (m *UserSessionEntryList) GetConstructor() TLConstructor

func (*UserSessionEntryList) GetPredicateName

func (m *UserSessionEntryList) GetPredicateName() string

func (*UserSessionEntryList) GetUserId

func (m *UserSessionEntryList) GetUserId() int64

func (*UserSessionEntryList) GetUserSessions

func (m *UserSessionEntryList) GetUserSessions() []*SessionEntry

func (*UserSessionEntryList) GoString

func (this *UserSessionEntryList) GoString() string

func (*UserSessionEntryList) Marshal

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

func (*UserSessionEntryList) MarshalTo

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

func (*UserSessionEntryList) MarshalToSizedBuffer

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

func (*UserSessionEntryList) ProtoMessage

func (*UserSessionEntryList) ProtoMessage()

func (*UserSessionEntryList) Reset

func (m *UserSessionEntryList) Reset()

func (*UserSessionEntryList) Size

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

func (*UserSessionEntryList) String

func (m *UserSessionEntryList) String() string

func (*UserSessionEntryList) To_UserSessionEntryList

func (m *UserSessionEntryList) To_UserSessionEntryList() *TLUserSessionEntryList

To_UserSessionEntryList

func (*UserSessionEntryList) Unmarshal

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

func (*UserSessionEntryList) XXX_DiscardUnknown

func (m *UserSessionEntryList) XXX_DiscardUnknown()

func (*UserSessionEntryList) XXX_Marshal

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

func (*UserSessionEntryList) XXX_Merge

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

func (*UserSessionEntryList) XXX_Size

func (m *UserSessionEntryList) XXX_Size() int

func (*UserSessionEntryList) XXX_Unmarshal

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

type Vector_Long added in v0.90.3

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

func (*Vector_Long) CalcByteSize added in v0.90.3

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

func (*Vector_Long) DebugString added in v0.90.3

func (m *Vector_Long) DebugString() string

func (*Vector_Long) Decode added in v0.90.3

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

func (*Vector_Long) Descriptor added in v0.90.3

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

func (*Vector_Long) Encode added in v0.90.3

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

Vector_Long /////////////////////////////////////////////////////////////////////////////

func (*Vector_Long) GetDatas added in v0.90.3

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

func (*Vector_Long) GoString added in v0.90.3

func (this *Vector_Long) GoString() string

func (*Vector_Long) Marshal added in v0.90.3

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

func (*Vector_Long) MarshalTo added in v0.90.3

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

func (*Vector_Long) MarshalToSizedBuffer added in v0.90.3

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

func (*Vector_Long) ProtoMessage added in v0.90.3

func (*Vector_Long) ProtoMessage()

func (*Vector_Long) Reset added in v0.90.3

func (m *Vector_Long) Reset()

func (*Vector_Long) Size added in v0.90.3

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

func (*Vector_Long) String added in v0.90.3

func (m *Vector_Long) String() string

func (*Vector_Long) Unmarshal added in v0.90.3

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

func (*Vector_Long) XXX_DiscardUnknown added in v0.90.3

func (m *Vector_Long) XXX_DiscardUnknown()

func (*Vector_Long) XXX_Marshal added in v0.90.3

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

func (*Vector_Long) XXX_Merge added in v0.90.3

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

func (*Vector_Long) XXX_Size added in v0.90.3

func (m *Vector_Long) XXX_Size() int

func (*Vector_Long) XXX_Unmarshal added in v0.90.3

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

type Vector_UserSessionEntryList

type Vector_UserSessionEntryList struct {
	Datas                []*UserSessionEntryList `protobuf:"bytes,1,rep,name=datas,proto3" json:"datas,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

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

func (*Vector_UserSessionEntryList) CalcByteSize

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

func (*Vector_UserSessionEntryList) DebugString

func (m *Vector_UserSessionEntryList) DebugString() string

func (*Vector_UserSessionEntryList) Decode

func (*Vector_UserSessionEntryList) Descriptor

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

func (*Vector_UserSessionEntryList) Encode

---------------------------------------------------------------------------------------------------------------- Vector_UserSessionEntryList /////////////////////////////////////////////////////////////////////////////

func (*Vector_UserSessionEntryList) GetDatas

func (*Vector_UserSessionEntryList) GoString

func (this *Vector_UserSessionEntryList) GoString() string

func (*Vector_UserSessionEntryList) Marshal

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

func (*Vector_UserSessionEntryList) MarshalTo

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

func (*Vector_UserSessionEntryList) MarshalToSizedBuffer

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

func (*Vector_UserSessionEntryList) ProtoMessage

func (*Vector_UserSessionEntryList) ProtoMessage()

func (*Vector_UserSessionEntryList) Reset

func (m *Vector_UserSessionEntryList) Reset()

func (*Vector_UserSessionEntryList) Size

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

func (*Vector_UserSessionEntryList) String

func (m *Vector_UserSessionEntryList) String() string

func (*Vector_UserSessionEntryList) Unmarshal

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

func (*Vector_UserSessionEntryList) XXX_DiscardUnknown

func (m *Vector_UserSessionEntryList) XXX_DiscardUnknown()

func (*Vector_UserSessionEntryList) XXX_Marshal

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

func (*Vector_UserSessionEntryList) XXX_Merge

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

func (*Vector_UserSessionEntryList) XXX_Size

func (m *Vector_UserSessionEntryList) XXX_Size() int

func (*Vector_UserSessionEntryList) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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