Documentation
¶
Index ¶
- Variables
- func RegisterConversationServer(s *grpc.Server, srv ConversationServer)
- type Conversation
- func (x *Conversation) Check() error
- func (*Conversation) Descriptor() ([]byte, []int)deprecated
- func (x *Conversation) GetAttachedInfo() string
- func (x *Conversation) GetBurnDuration() int32
- func (x *Conversation) GetConversationID() string
- func (x *Conversation) GetConversationType() int32
- func (x *Conversation) GetEx() string
- func (x *Conversation) GetGroupAtType() int32
- func (x *Conversation) GetGroupID() string
- func (x *Conversation) GetIsMsgDestruct() bool
- func (x *Conversation) GetIsPinned() bool
- func (x *Conversation) GetIsPrivateChat() bool
- func (x *Conversation) GetLatestMsgDestructTime() int64
- func (x *Conversation) GetMaxSeq() int64
- func (x *Conversation) GetMinSeq() int64
- func (x *Conversation) GetMsgDestructTime() int64
- func (x *Conversation) GetOwnerUserID() string
- func (x *Conversation) GetRecvMsgOpt() int32
- func (x *Conversation) GetUserID() string
- func (*Conversation) ProtoMessage()
- func (x *Conversation) ProtoReflect() protoreflect.Message
- func (x *Conversation) Reset()
- func (x *Conversation) String() string
- type ConversationClient
- type ConversationElem
- func (*ConversationElem) Descriptor() ([]byte, []int)deprecated
- func (x *ConversationElem) GetConversationID() string
- func (x *ConversationElem) GetIsPinned() bool
- func (x *ConversationElem) GetMsgInfo() *MsgInfo
- func (x *ConversationElem) GetRecvMsgOpt() int32
- func (x *ConversationElem) GetUnreadCount() int64
- func (*ConversationElem) ProtoMessage()
- func (x *ConversationElem) ProtoReflect() protoreflect.Message
- func (x *ConversationElem) Reset()
- func (x *ConversationElem) String() string
- type ConversationReq
- func (x *ConversationReq) Check() error
- func (*ConversationReq) Descriptor() ([]byte, []int)deprecated
- func (x *ConversationReq) GetAttachedInfo() *wrapperspb.StringValue
- func (x *ConversationReq) GetBurnDuration() *wrapperspb.Int32Value
- func (x *ConversationReq) GetConversationID() string
- func (x *ConversationReq) GetConversationType() int32
- func (x *ConversationReq) GetEx() *wrapperspb.StringValue
- func (x *ConversationReq) GetGroupAtType() *wrapperspb.Int32Value
- func (x *ConversationReq) GetGroupID() string
- func (x *ConversationReq) GetIsMsgDestruct() *wrapperspb.BoolValue
- func (x *ConversationReq) GetIsPinned() *wrapperspb.BoolValue
- func (x *ConversationReq) GetIsPrivateChat() *wrapperspb.BoolValue
- func (x *ConversationReq) GetMaxSeq() *wrapperspb.Int64Value
- func (x *ConversationReq) GetMinSeq() *wrapperspb.Int64Value
- func (x *ConversationReq) GetMsgDestructTime() *wrapperspb.Int64Value
- func (x *ConversationReq) GetRecvMsgOpt() *wrapperspb.Int32Value
- func (x *ConversationReq) GetUserID() string
- func (*ConversationReq) ProtoMessage()
- func (x *ConversationReq) ProtoReflect() protoreflect.Message
- func (x *ConversationReq) Reset()
- func (x *ConversationReq) String() string
- type ConversationServer
- type CreateGroupChatConversationsReq
- func (x *CreateGroupChatConversationsReq) Check() error
- func (*CreateGroupChatConversationsReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupChatConversationsReq) GetGroupID() string
- func (x *CreateGroupChatConversationsReq) GetUserIDs() []string
- func (*CreateGroupChatConversationsReq) ProtoMessage()
- func (x *CreateGroupChatConversationsReq) ProtoReflect() protoreflect.Message
- func (x *CreateGroupChatConversationsReq) Reset()
- func (x *CreateGroupChatConversationsReq) String() string
- type CreateGroupChatConversationsResp
- func (*CreateGroupChatConversationsResp) Descriptor() ([]byte, []int)deprecated
- func (*CreateGroupChatConversationsResp) ProtoMessage()
- func (x *CreateGroupChatConversationsResp) ProtoReflect() protoreflect.Message
- func (x *CreateGroupChatConversationsResp) Reset()
- func (x *CreateGroupChatConversationsResp) String() string
- type CreateSingleChatConversationsReq
- func (*CreateSingleChatConversationsReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSingleChatConversationsReq) GetConversationID() string
- func (x *CreateSingleChatConversationsReq) GetConversationType() int32
- func (x *CreateSingleChatConversationsReq) GetRecvID() string
- func (x *CreateSingleChatConversationsReq) GetSendID() string
- func (*CreateSingleChatConversationsReq) ProtoMessage()
- func (x *CreateSingleChatConversationsReq) ProtoReflect() protoreflect.Message
- func (x *CreateSingleChatConversationsReq) Reset()
- func (x *CreateSingleChatConversationsReq) String() string
- type CreateSingleChatConversationsResp
- func (*CreateSingleChatConversationsResp) Descriptor() ([]byte, []int)deprecated
- func (*CreateSingleChatConversationsResp) ProtoMessage()
- func (x *CreateSingleChatConversationsResp) ProtoReflect() protoreflect.Message
- func (x *CreateSingleChatConversationsResp) Reset()
- func (x *CreateSingleChatConversationsResp) String() string
- type GetAllConversationsReq
- func (x *GetAllConversationsReq) Check() error
- func (*GetAllConversationsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllConversationsReq) GetOwnerUserID() string
- func (*GetAllConversationsReq) ProtoMessage()
- func (x *GetAllConversationsReq) ProtoReflect() protoreflect.Message
- func (x *GetAllConversationsReq) Reset()
- func (x *GetAllConversationsReq) String() string
- type GetAllConversationsResp
- func (*GetAllConversationsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllConversationsResp) GetConversations() []*Conversation
- func (*GetAllConversationsResp) ProtoMessage()
- func (x *GetAllConversationsResp) ProtoReflect() protoreflect.Message
- func (x *GetAllConversationsResp) Reset()
- func (x *GetAllConversationsResp) String() string
- type GetConversationIDsReq
- func (*GetConversationIDsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetConversationIDsReq) GetUserID() string
- func (*GetConversationIDsReq) ProtoMessage()
- func (x *GetConversationIDsReq) ProtoReflect() protoreflect.Message
- func (x *GetConversationIDsReq) Reset()
- func (x *GetConversationIDsReq) String() string
- type GetConversationIDsResp
- func (*GetConversationIDsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetConversationIDsResp) GetConversationIDs() []string
- func (*GetConversationIDsResp) ProtoMessage()
- func (x *GetConversationIDsResp) ProtoReflect() protoreflect.Message
- func (x *GetConversationIDsResp) Reset()
- func (x *GetConversationIDsResp) String() string
- type GetConversationListReq
- func (x *GetConversationListReq) Check() error
- func (*GetConversationListReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetConversationListReq) GetConversationIDs() []string
- func (x *GetConversationListReq) GetUserID() string
- func (*GetConversationListReq) ProtoMessage()
- func (x *GetConversationListReq) ProtoReflect() protoreflect.Message
- func (x *GetConversationListReq) Reset()
- func (x *GetConversationListReq) String() string
- type GetConversationListResp
- func (*GetConversationListResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetConversationListResp) GetConversationElems() []*ConversationElem
- func (*GetConversationListResp) ProtoMessage()
- func (x *GetConversationListResp) ProtoReflect() protoreflect.Message
- func (x *GetConversationListResp) Reset()
- func (x *GetConversationListResp) String() string
- type GetConversationOfflinePushUserIDsReq
- func (*GetConversationOfflinePushUserIDsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetConversationOfflinePushUserIDsReq) GetConversationID() string
- func (x *GetConversationOfflinePushUserIDsReq) GetUserIDs() []string
- func (*GetConversationOfflinePushUserIDsReq) ProtoMessage()
- func (x *GetConversationOfflinePushUserIDsReq) ProtoReflect() protoreflect.Message
- func (x *GetConversationOfflinePushUserIDsReq) Reset()
- func (x *GetConversationOfflinePushUserIDsReq) String() string
- type GetConversationOfflinePushUserIDsResp
- func (*GetConversationOfflinePushUserIDsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetConversationOfflinePushUserIDsResp) GetUserIDs() []string
- func (*GetConversationOfflinePushUserIDsResp) ProtoMessage()
- func (x *GetConversationOfflinePushUserIDsResp) ProtoReflect() protoreflect.Message
- func (x *GetConversationOfflinePushUserIDsResp) Reset()
- func (x *GetConversationOfflinePushUserIDsResp) String() string
- type GetConversationReq
- func (x *GetConversationReq) Check() error
- func (*GetConversationReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetConversationReq) GetConversationID() string
- func (x *GetConversationReq) GetOwnerUserID() string
- func (*GetConversationReq) ProtoMessage()
- func (x *GetConversationReq) ProtoReflect() protoreflect.Message
- func (x *GetConversationReq) Reset()
- func (x *GetConversationReq) String() string
- type GetConversationResp
- func (*GetConversationResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetConversationResp) GetConversation() *Conversation
- func (*GetConversationResp) ProtoMessage()
- func (x *GetConversationResp) ProtoReflect() protoreflect.Message
- func (x *GetConversationResp) Reset()
- func (x *GetConversationResp) String() string
- type GetConversationsByConversationIDReq
- func (x *GetConversationsByConversationIDReq) Check() error
- func (*GetConversationsByConversationIDReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetConversationsByConversationIDReq) GetConversationIDs() []string
- func (*GetConversationsByConversationIDReq) ProtoMessage()
- func (x *GetConversationsByConversationIDReq) ProtoReflect() protoreflect.Message
- func (x *GetConversationsByConversationIDReq) Reset()
- func (x *GetConversationsByConversationIDReq) String() string
- type GetConversationsByConversationIDResp
- func (*GetConversationsByConversationIDResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetConversationsByConversationIDResp) GetConversations() []*Conversation
- func (*GetConversationsByConversationIDResp) ProtoMessage()
- func (x *GetConversationsByConversationIDResp) ProtoReflect() protoreflect.Message
- func (x *GetConversationsByConversationIDResp) Reset()
- func (x *GetConversationsByConversationIDResp) String() string
- type GetConversationsReq
- func (x *GetConversationsReq) Check() error
- func (*GetConversationsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetConversationsReq) GetConversationIDs() []string
- func (x *GetConversationsReq) GetOwnerUserID() string
- func (*GetConversationsReq) ProtoMessage()
- func (x *GetConversationsReq) ProtoReflect() protoreflect.Message
- func (x *GetConversationsReq) Reset()
- func (x *GetConversationsReq) String() string
- type GetConversationsResp
- func (*GetConversationsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetConversationsResp) GetConversations() []*Conversation
- func (*GetConversationsResp) ProtoMessage()
- func (x *GetConversationsResp) ProtoReflect() protoreflect.Message
- func (x *GetConversationsResp) Reset()
- func (x *GetConversationsResp) String() string
- type GetRecvMsgNotNotifyUserIDsReq
- func (x *GetRecvMsgNotNotifyUserIDsReq) Check() error
- func (*GetRecvMsgNotNotifyUserIDsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetRecvMsgNotNotifyUserIDsReq) GetGroupID() string
- func (*GetRecvMsgNotNotifyUserIDsReq) ProtoMessage()
- func (x *GetRecvMsgNotNotifyUserIDsReq) ProtoReflect() protoreflect.Message
- func (x *GetRecvMsgNotNotifyUserIDsReq) Reset()
- func (x *GetRecvMsgNotNotifyUserIDsReq) String() string
- type GetRecvMsgNotNotifyUserIDsResp
- func (*GetRecvMsgNotNotifyUserIDsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetRecvMsgNotNotifyUserIDsResp) GetUserIDs() []string
- func (*GetRecvMsgNotNotifyUserIDsResp) ProtoMessage()
- func (x *GetRecvMsgNotNotifyUserIDsResp) ProtoReflect() protoreflect.Message
- func (x *GetRecvMsgNotNotifyUserIDsResp) Reset()
- func (x *GetRecvMsgNotNotifyUserIDsResp) String() string
- type GetUserConversationIDsHashReq
- func (x *GetUserConversationIDsHashReq) Check() error
- func (*GetUserConversationIDsHashReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserConversationIDsHashReq) GetOwnerUserID() string
- func (*GetUserConversationIDsHashReq) ProtoMessage()
- func (x *GetUserConversationIDsHashReq) ProtoReflect() protoreflect.Message
- func (x *GetUserConversationIDsHashReq) Reset()
- func (x *GetUserConversationIDsHashReq) String() string
- type GetUserConversationIDsHashResp
- func (*GetUserConversationIDsHashResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserConversationIDsHashResp) GetHash() uint64
- func (*GetUserConversationIDsHashResp) ProtoMessage()
- func (x *GetUserConversationIDsHashResp) ProtoReflect() protoreflect.Message
- func (x *GetUserConversationIDsHashResp) Reset()
- func (x *GetUserConversationIDsHashResp) String() string
- type MsgInfo
- func (*MsgInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MsgInfo) GetClientMsgID() string
- func (x *MsgInfo) GetContent() string
- func (x *MsgInfo) GetContentType() int32
- func (x *MsgInfo) GetFaceURL() string
- func (x *MsgInfo) GetGroupFaceURL() string
- func (x *MsgInfo) GetGroupID() string
- func (x *MsgInfo) GetGroupMemberCount() uint32
- func (x *MsgInfo) GetGroupName() string
- func (x *MsgInfo) GetGroupType() int32
- func (x *MsgInfo) GetLatestMsgRecvTime() int64
- func (x *MsgInfo) GetMsgFrom() int32
- func (x *MsgInfo) GetRecvID() string
- func (x *MsgInfo) GetSendID() string
- func (x *MsgInfo) GetSenderName() string
- func (x *MsgInfo) GetServerMsgID() string
- func (x *MsgInfo) GetSessionType() int32
- func (*MsgInfo) ProtoMessage()
- func (x *MsgInfo) ProtoReflect() protoreflect.Message
- func (x *MsgInfo) Reset()
- func (x *MsgInfo) String() string
- type SetConversationMaxSeqReq
- func (x *SetConversationMaxSeqReq) Check() error
- func (*SetConversationMaxSeqReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetConversationMaxSeqReq) GetConversationID() string
- func (x *SetConversationMaxSeqReq) GetMaxSeq() int64
- func (x *SetConversationMaxSeqReq) GetOwnerUserID() []string
- func (*SetConversationMaxSeqReq) ProtoMessage()
- func (x *SetConversationMaxSeqReq) ProtoReflect() protoreflect.Message
- func (x *SetConversationMaxSeqReq) Reset()
- func (x *SetConversationMaxSeqReq) String() string
- type SetConversationMaxSeqResp
- type SetConversationReq
- func (x *SetConversationReq) Check() error
- func (*SetConversationReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetConversationReq) GetConversation() *Conversation
- func (*SetConversationReq) ProtoMessage()
- func (x *SetConversationReq) ProtoReflect() protoreflect.Message
- func (x *SetConversationReq) Reset()
- func (x *SetConversationReq) String() string
- type SetConversationResp
- type SetConversationsReq
- func (x *SetConversationsReq) Check() error
- func (*SetConversationsReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetConversationsReq) GetConversation() *ConversationReq
- func (x *SetConversationsReq) GetUserIDs() []string
- func (*SetConversationsReq) ProtoMessage()
- func (x *SetConversationsReq) ProtoReflect() protoreflect.Message
- func (x *SetConversationsReq) Reset()
- func (x *SetConversationsReq) String() string
- type SetConversationsResp
- type UnimplementedConversationServer
- func (*UnimplementedConversationServer) CreateGroupChatConversations(context.Context, *CreateGroupChatConversationsReq) (*CreateGroupChatConversationsResp, error)
- func (*UnimplementedConversationServer) CreateSingleChatConversations(context.Context, *CreateSingleChatConversationsReq) (*CreateSingleChatConversationsResp, error)
- func (*UnimplementedConversationServer) GetAllConversations(context.Context, *GetAllConversationsReq) (*GetAllConversationsResp, error)
- func (*UnimplementedConversationServer) GetConversation(context.Context, *GetConversationReq) (*GetConversationResp, error)
- func (*UnimplementedConversationServer) GetConversationIDs(context.Context, *GetConversationIDsReq) (*GetConversationIDsResp, error)
- func (*UnimplementedConversationServer) GetConversationList(context.Context, *GetConversationListReq) (*GetConversationListResp, error)
- func (*UnimplementedConversationServer) GetConversationOfflinePushUserIDs(context.Context, *GetConversationOfflinePushUserIDsReq) (*GetConversationOfflinePushUserIDsResp, error)
- func (*UnimplementedConversationServer) GetConversations(context.Context, *GetConversationsReq) (*GetConversationsResp, error)
- func (*UnimplementedConversationServer) GetConversationsByConversationID(context.Context, *GetConversationsByConversationIDReq) (*GetConversationsByConversationIDResp, error)
- func (*UnimplementedConversationServer) GetRecvMsgNotNotifyUserIDs(context.Context, *GetRecvMsgNotNotifyUserIDsReq) (*GetRecvMsgNotNotifyUserIDsResp, error)
- func (*UnimplementedConversationServer) GetUserConversationIDsHash(context.Context, *GetUserConversationIDsHashReq) (*GetUserConversationIDsHashResp, error)
- func (*UnimplementedConversationServer) SetConversation(context.Context, *SetConversationReq) (*SetConversationResp, error)
- func (*UnimplementedConversationServer) SetConversationMaxSeq(context.Context, *SetConversationMaxSeqReq) (*SetConversationMaxSeqResp, error)
- func (*UnimplementedConversationServer) SetConversations(context.Context, *SetConversationsReq) (*SetConversationsResp, error)
Constants ¶
This section is empty.
Variables ¶
var File_conversation_conversation_proto protoreflect.FileDescriptor
Functions ¶
func RegisterConversationServer ¶
func RegisterConversationServer(s *grpc.Server, srv ConversationServer)
Types ¶
type Conversation ¶
type Conversation struct {
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
RecvMsgOpt int32 `protobuf:"varint,3,opt,name=recvMsgOpt,proto3" json:"recvMsgOpt"`
ConversationType int32 `protobuf:"varint,4,opt,name=conversationType,proto3" json:"conversationType"`
UserID string `protobuf:"bytes,5,opt,name=userID,proto3" json:"userID"`
GroupID string `protobuf:"bytes,6,opt,name=groupID,proto3" json:"groupID"`
IsPinned bool `protobuf:"varint,7,opt,name=isPinned,proto3" json:"isPinned"`
AttachedInfo string `protobuf:"bytes,8,opt,name=attachedInfo,proto3" json:"attachedInfo"`
IsPrivateChat bool `protobuf:"varint,9,opt,name=isPrivateChat,proto3" json:"isPrivateChat"`
GroupAtType int32 `protobuf:"varint,10,opt,name=groupAtType,proto3" json:"groupAtType"`
Ex string `protobuf:"bytes,11,opt,name=ex,proto3" json:"ex"`
BurnDuration int32 `protobuf:"varint,12,opt,name=burnDuration,proto3" json:"burnDuration"`
MinSeq int64 `protobuf:"varint,13,opt,name=minSeq,proto3" json:"minSeq"`
MaxSeq int64 `protobuf:"varint,14,opt,name=maxSeq,proto3" json:"maxSeq"`
MsgDestructTime int64 `protobuf:"varint,15,opt,name=msgDestructTime,proto3" json:"msgDestructTime"`
LatestMsgDestructTime int64 `protobuf:"varint,16,opt,name=latestMsgDestructTime,proto3" json:"latestMsgDestructTime"`
IsMsgDestruct bool `protobuf:"varint,17,opt,name=isMsgDestruct,proto3" json:"isMsgDestruct"`
// contains filtered or unexported fields
}
func (*Conversation) Check ¶
func (x *Conversation) Check() error
func (*Conversation) Descriptor
deprecated
func (*Conversation) Descriptor() ([]byte, []int)
Deprecated: Use Conversation.ProtoReflect.Descriptor instead.
func (*Conversation) GetAttachedInfo ¶
func (x *Conversation) GetAttachedInfo() string
func (*Conversation) GetBurnDuration ¶
func (x *Conversation) GetBurnDuration() int32
func (*Conversation) GetConversationID ¶
func (x *Conversation) GetConversationID() string
func (*Conversation) GetConversationType ¶
func (x *Conversation) GetConversationType() int32
func (*Conversation) GetEx ¶
func (x *Conversation) GetEx() string
func (*Conversation) GetGroupAtType ¶
func (x *Conversation) GetGroupAtType() int32
func (*Conversation) GetGroupID ¶
func (x *Conversation) GetGroupID() string
func (*Conversation) GetIsMsgDestruct ¶
func (x *Conversation) GetIsMsgDestruct() bool
func (*Conversation) GetIsPinned ¶
func (x *Conversation) GetIsPinned() bool
func (*Conversation) GetIsPrivateChat ¶
func (x *Conversation) GetIsPrivateChat() bool
func (*Conversation) GetLatestMsgDestructTime ¶
func (x *Conversation) GetLatestMsgDestructTime() int64
func (*Conversation) GetMaxSeq ¶
func (x *Conversation) GetMaxSeq() int64
func (*Conversation) GetMinSeq ¶
func (x *Conversation) GetMinSeq() int64
func (*Conversation) GetMsgDestructTime ¶
func (x *Conversation) GetMsgDestructTime() int64
func (*Conversation) GetOwnerUserID ¶
func (x *Conversation) GetOwnerUserID() string
func (*Conversation) GetRecvMsgOpt ¶
func (x *Conversation) GetRecvMsgOpt() int32
func (*Conversation) GetUserID ¶
func (x *Conversation) GetUserID() string
func (*Conversation) ProtoMessage ¶
func (*Conversation) ProtoMessage()
func (*Conversation) ProtoReflect ¶
func (x *Conversation) ProtoReflect() protoreflect.Message
func (*Conversation) Reset ¶
func (x *Conversation) Reset()
func (*Conversation) String ¶
func (x *Conversation) String() string
type ConversationClient ¶
type ConversationClient interface {
GetConversation(ctx context.Context, in *GetConversationReq, opts ...grpc.CallOption) (*GetConversationResp, error)
GetConversationList(ctx context.Context, in *GetConversationListReq, opts ...grpc.CallOption) (*GetConversationListResp, error)
GetAllConversations(ctx context.Context, in *GetAllConversationsReq, opts ...grpc.CallOption) (*GetAllConversationsResp, error)
GetConversations(ctx context.Context, in *GetConversationsReq, opts ...grpc.CallOption) (*GetConversationsResp, error)
SetConversation(ctx context.Context, in *SetConversationReq, opts ...grpc.CallOption) (*SetConversationResp, error)
GetRecvMsgNotNotifyUserIDs(ctx context.Context, in *GetRecvMsgNotNotifyUserIDsReq, opts ...grpc.CallOption) (*GetRecvMsgNotNotifyUserIDsResp, error)
CreateSingleChatConversations(ctx context.Context, in *CreateSingleChatConversationsReq, opts ...grpc.CallOption) (*CreateSingleChatConversationsResp, error)
CreateGroupChatConversations(ctx context.Context, in *CreateGroupChatConversationsReq, opts ...grpc.CallOption) (*CreateGroupChatConversationsResp, error)
SetConversationMaxSeq(ctx context.Context, in *SetConversationMaxSeqReq, opts ...grpc.CallOption) (*SetConversationMaxSeqResp, error)
GetConversationIDs(ctx context.Context, in *GetConversationIDsReq, opts ...grpc.CallOption) (*GetConversationIDsResp, error)
SetConversations(ctx context.Context, in *SetConversationsReq, opts ...grpc.CallOption) (*SetConversationsResp, error)
GetUserConversationIDsHash(ctx context.Context, in *GetUserConversationIDsHashReq, opts ...grpc.CallOption) (*GetUserConversationIDsHashResp, error)
GetConversationsByConversationID(ctx context.Context, in *GetConversationsByConversationIDReq, opts ...grpc.CallOption) (*GetConversationsByConversationIDResp, error)
GetConversationOfflinePushUserIDs(ctx context.Context, in *GetConversationOfflinePushUserIDsReq, opts ...grpc.CallOption) (*GetConversationOfflinePushUserIDsResp, error)
}
ConversationClient is the client API for Conversation service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewConversationClient ¶
func NewConversationClient(cc grpc.ClientConnInterface) ConversationClient
type ConversationElem ¶ added in v0.0.41
type ConversationElem struct {
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID"`
RecvMsgOpt int32 `protobuf:"varint,2,opt,name=recvMsgOpt,proto3" json:"recvMsgOpt"`
UnreadCount int64 `protobuf:"varint,3,opt,name=unreadCount,proto3" json:"unreadCount"`
MsgInfo *MsgInfo `protobuf:"bytes,4,opt,name=msgInfo,proto3" json:"msgInfo"`
IsPinned bool `protobuf:"varint,5,opt,name=IsPinned,proto3" json:"IsPinned"`
// contains filtered or unexported fields
}
func (*ConversationElem) Descriptor
deprecated
added in
v0.0.41
func (*ConversationElem) Descriptor() ([]byte, []int)
Deprecated: Use ConversationElem.ProtoReflect.Descriptor instead.
func (*ConversationElem) GetConversationID ¶ added in v0.0.41
func (x *ConversationElem) GetConversationID() string
func (*ConversationElem) GetIsPinned ¶ added in v0.0.41
func (x *ConversationElem) GetIsPinned() bool
func (*ConversationElem) GetMsgInfo ¶ added in v0.0.41
func (x *ConversationElem) GetMsgInfo() *MsgInfo
func (*ConversationElem) GetRecvMsgOpt ¶ added in v0.0.41
func (x *ConversationElem) GetRecvMsgOpt() int32
func (*ConversationElem) GetUnreadCount ¶ added in v0.0.41
func (x *ConversationElem) GetUnreadCount() int64
func (*ConversationElem) ProtoMessage ¶ added in v0.0.41
func (*ConversationElem) ProtoMessage()
func (*ConversationElem) ProtoReflect ¶ added in v0.0.41
func (x *ConversationElem) ProtoReflect() protoreflect.Message
func (*ConversationElem) Reset ¶ added in v0.0.41
func (x *ConversationElem) Reset()
func (*ConversationElem) String ¶ added in v0.0.41
func (x *ConversationElem) String() string
type ConversationReq ¶
type ConversationReq struct {
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID"`
ConversationType int32 `protobuf:"varint,2,opt,name=conversationType,proto3" json:"conversationType"`
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID"`
GroupID string `protobuf:"bytes,4,opt,name=groupID,proto3" json:"groupID"`
RecvMsgOpt *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=recvMsgOpt,proto3" json:"recvMsgOpt"`
IsPinned *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=isPinned,proto3" json:"isPinned"`
AttachedInfo *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=attachedInfo,proto3" json:"attachedInfo"`
IsPrivateChat *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=isPrivateChat,proto3" json:"isPrivateChat"`
Ex *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=ex,proto3" json:"ex"`
BurnDuration *wrapperspb.Int32Value `protobuf:"bytes,10,opt,name=burnDuration,proto3" json:"burnDuration"`
MinSeq *wrapperspb.Int64Value `protobuf:"bytes,11,opt,name=minSeq,proto3" json:"minSeq"`
MaxSeq *wrapperspb.Int64Value `protobuf:"bytes,12,opt,name=maxSeq,proto3" json:"maxSeq"`
GroupAtType *wrapperspb.Int32Value `protobuf:"bytes,13,opt,name=groupAtType,proto3" json:"groupAtType"`
MsgDestructTime *wrapperspb.Int64Value `protobuf:"bytes,14,opt,name=msgDestructTime,proto3" json:"msgDestructTime"`
IsMsgDestruct *wrapperspb.BoolValue `protobuf:"bytes,15,opt,name=isMsgDestruct,proto3" json:"isMsgDestruct"`
// contains filtered or unexported fields
}
func (*ConversationReq) Check ¶
func (x *ConversationReq) Check() error
func (*ConversationReq) Descriptor
deprecated
func (*ConversationReq) Descriptor() ([]byte, []int)
Deprecated: Use ConversationReq.ProtoReflect.Descriptor instead.
func (*ConversationReq) GetAttachedInfo ¶
func (x *ConversationReq) GetAttachedInfo() *wrapperspb.StringValue
func (*ConversationReq) GetBurnDuration ¶
func (x *ConversationReq) GetBurnDuration() *wrapperspb.Int32Value
func (*ConversationReq) GetConversationID ¶
func (x *ConversationReq) GetConversationID() string
func (*ConversationReq) GetConversationType ¶
func (x *ConversationReq) GetConversationType() int32
func (*ConversationReq) GetEx ¶
func (x *ConversationReq) GetEx() *wrapperspb.StringValue
func (*ConversationReq) GetGroupAtType ¶
func (x *ConversationReq) GetGroupAtType() *wrapperspb.Int32Value
func (*ConversationReq) GetGroupID ¶
func (x *ConversationReq) GetGroupID() string
func (*ConversationReq) GetIsMsgDestruct ¶
func (x *ConversationReq) GetIsMsgDestruct() *wrapperspb.BoolValue
func (*ConversationReq) GetIsPinned ¶
func (x *ConversationReq) GetIsPinned() *wrapperspb.BoolValue
func (*ConversationReq) GetIsPrivateChat ¶
func (x *ConversationReq) GetIsPrivateChat() *wrapperspb.BoolValue
func (*ConversationReq) GetMaxSeq ¶
func (x *ConversationReq) GetMaxSeq() *wrapperspb.Int64Value
func (*ConversationReq) GetMinSeq ¶
func (x *ConversationReq) GetMinSeq() *wrapperspb.Int64Value
func (*ConversationReq) GetMsgDestructTime ¶
func (x *ConversationReq) GetMsgDestructTime() *wrapperspb.Int64Value
func (*ConversationReq) GetRecvMsgOpt ¶
func (x *ConversationReq) GetRecvMsgOpt() *wrapperspb.Int32Value
func (*ConversationReq) GetUserID ¶
func (x *ConversationReq) GetUserID() string
func (*ConversationReq) ProtoMessage ¶
func (*ConversationReq) ProtoMessage()
func (*ConversationReq) ProtoReflect ¶
func (x *ConversationReq) ProtoReflect() protoreflect.Message
func (*ConversationReq) Reset ¶
func (x *ConversationReq) Reset()
func (*ConversationReq) String ¶
func (x *ConversationReq) String() string
type ConversationServer ¶
type ConversationServer interface {
GetConversation(context.Context, *GetConversationReq) (*GetConversationResp, error)
GetConversationList(context.Context, *GetConversationListReq) (*GetConversationListResp, error)
GetAllConversations(context.Context, *GetAllConversationsReq) (*GetAllConversationsResp, error)
GetConversations(context.Context, *GetConversationsReq) (*GetConversationsResp, error)
SetConversation(context.Context, *SetConversationReq) (*SetConversationResp, error)
GetRecvMsgNotNotifyUserIDs(context.Context, *GetRecvMsgNotNotifyUserIDsReq) (*GetRecvMsgNotNotifyUserIDsResp, error)
CreateSingleChatConversations(context.Context, *CreateSingleChatConversationsReq) (*CreateSingleChatConversationsResp, error)
CreateGroupChatConversations(context.Context, *CreateGroupChatConversationsReq) (*CreateGroupChatConversationsResp, error)
SetConversationMaxSeq(context.Context, *SetConversationMaxSeqReq) (*SetConversationMaxSeqResp, error)
GetConversationIDs(context.Context, *GetConversationIDsReq) (*GetConversationIDsResp, error)
SetConversations(context.Context, *SetConversationsReq) (*SetConversationsResp, error)
GetUserConversationIDsHash(context.Context, *GetUserConversationIDsHashReq) (*GetUserConversationIDsHashResp, error)
GetConversationsByConversationID(context.Context, *GetConversationsByConversationIDReq) (*GetConversationsByConversationIDResp, error)
GetConversationOfflinePushUserIDs(context.Context, *GetConversationOfflinePushUserIDsReq) (*GetConversationOfflinePushUserIDsResp, error)
}
ConversationServer is the server API for Conversation service.
type CreateGroupChatConversationsReq ¶
type CreateGroupChatConversationsReq struct {
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs"`
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID"`
// contains filtered or unexported fields
}
func (*CreateGroupChatConversationsReq) Check ¶
func (x *CreateGroupChatConversationsReq) Check() error
func (*CreateGroupChatConversationsReq) Descriptor
deprecated
func (*CreateGroupChatConversationsReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupChatConversationsReq.ProtoReflect.Descriptor instead.
func (*CreateGroupChatConversationsReq) GetGroupID ¶
func (x *CreateGroupChatConversationsReq) GetGroupID() string
func (*CreateGroupChatConversationsReq) GetUserIDs ¶
func (x *CreateGroupChatConversationsReq) GetUserIDs() []string
func (*CreateGroupChatConversationsReq) ProtoMessage ¶
func (*CreateGroupChatConversationsReq) ProtoMessage()
func (*CreateGroupChatConversationsReq) ProtoReflect ¶
func (x *CreateGroupChatConversationsReq) ProtoReflect() protoreflect.Message
func (*CreateGroupChatConversationsReq) Reset ¶
func (x *CreateGroupChatConversationsReq) Reset()
func (*CreateGroupChatConversationsReq) String ¶
func (x *CreateGroupChatConversationsReq) String() string
type CreateGroupChatConversationsResp ¶
type CreateGroupChatConversationsResp struct {
// contains filtered or unexported fields
}
func (*CreateGroupChatConversationsResp) Descriptor
deprecated
func (*CreateGroupChatConversationsResp) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupChatConversationsResp.ProtoReflect.Descriptor instead.
func (*CreateGroupChatConversationsResp) ProtoMessage ¶
func (*CreateGroupChatConversationsResp) ProtoMessage()
func (*CreateGroupChatConversationsResp) ProtoReflect ¶
func (x *CreateGroupChatConversationsResp) ProtoReflect() protoreflect.Message
func (*CreateGroupChatConversationsResp) Reset ¶
func (x *CreateGroupChatConversationsResp) Reset()
func (*CreateGroupChatConversationsResp) String ¶
func (x *CreateGroupChatConversationsResp) String() string
type CreateSingleChatConversationsReq ¶
type CreateSingleChatConversationsReq struct {
RecvID string `protobuf:"bytes,1,opt,name=recvID,proto3" json:"recvID"`
SendID string `protobuf:"bytes,2,opt,name=sendID,proto3" json:"sendID"`
ConversationID string `protobuf:"bytes,3,opt,name=conversationID,proto3" json:"conversationID"`
ConversationType int32 `protobuf:"varint,4,opt,name=conversationType,proto3" json:"conversationType"`
// contains filtered or unexported fields
}
func (*CreateSingleChatConversationsReq) Descriptor
deprecated
func (*CreateSingleChatConversationsReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateSingleChatConversationsReq.ProtoReflect.Descriptor instead.
func (*CreateSingleChatConversationsReq) GetConversationID ¶ added in v0.0.28
func (x *CreateSingleChatConversationsReq) GetConversationID() string
func (*CreateSingleChatConversationsReq) GetConversationType ¶ added in v0.0.28
func (x *CreateSingleChatConversationsReq) GetConversationType() int32
func (*CreateSingleChatConversationsReq) GetRecvID ¶
func (x *CreateSingleChatConversationsReq) GetRecvID() string
func (*CreateSingleChatConversationsReq) GetSendID ¶
func (x *CreateSingleChatConversationsReq) GetSendID() string
func (*CreateSingleChatConversationsReq) ProtoMessage ¶
func (*CreateSingleChatConversationsReq) ProtoMessage()
func (*CreateSingleChatConversationsReq) ProtoReflect ¶
func (x *CreateSingleChatConversationsReq) ProtoReflect() protoreflect.Message
func (*CreateSingleChatConversationsReq) Reset ¶
func (x *CreateSingleChatConversationsReq) Reset()
func (*CreateSingleChatConversationsReq) String ¶
func (x *CreateSingleChatConversationsReq) String() string
type CreateSingleChatConversationsResp ¶
type CreateSingleChatConversationsResp struct {
// contains filtered or unexported fields
}
func (*CreateSingleChatConversationsResp) Descriptor
deprecated
func (*CreateSingleChatConversationsResp) Descriptor() ([]byte, []int)
Deprecated: Use CreateSingleChatConversationsResp.ProtoReflect.Descriptor instead.
func (*CreateSingleChatConversationsResp) ProtoMessage ¶
func (*CreateSingleChatConversationsResp) ProtoMessage()
func (*CreateSingleChatConversationsResp) ProtoReflect ¶
func (x *CreateSingleChatConversationsResp) ProtoReflect() protoreflect.Message
func (*CreateSingleChatConversationsResp) Reset ¶
func (x *CreateSingleChatConversationsResp) Reset()
func (*CreateSingleChatConversationsResp) String ¶
func (x *CreateSingleChatConversationsResp) String() string
type GetAllConversationsReq ¶
type GetAllConversationsReq struct {
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
// contains filtered or unexported fields
}
func (*GetAllConversationsReq) Check ¶
func (x *GetAllConversationsReq) Check() error
func (*GetAllConversationsReq) Descriptor
deprecated
func (*GetAllConversationsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetAllConversationsReq.ProtoReflect.Descriptor instead.
func (*GetAllConversationsReq) GetOwnerUserID ¶
func (x *GetAllConversationsReq) GetOwnerUserID() string
func (*GetAllConversationsReq) ProtoMessage ¶
func (*GetAllConversationsReq) ProtoMessage()
func (*GetAllConversationsReq) ProtoReflect ¶
func (x *GetAllConversationsReq) ProtoReflect() protoreflect.Message
func (*GetAllConversationsReq) Reset ¶
func (x *GetAllConversationsReq) Reset()
func (*GetAllConversationsReq) String ¶
func (x *GetAllConversationsReq) String() string
type GetAllConversationsResp ¶
type GetAllConversationsResp struct {
Conversations []*Conversation `protobuf:"bytes,2,rep,name=conversations,proto3" json:"conversations"`
// contains filtered or unexported fields
}
func (*GetAllConversationsResp) Descriptor
deprecated
func (*GetAllConversationsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetAllConversationsResp.ProtoReflect.Descriptor instead.
func (*GetAllConversationsResp) GetConversations ¶
func (x *GetAllConversationsResp) GetConversations() []*Conversation
func (*GetAllConversationsResp) ProtoMessage ¶
func (*GetAllConversationsResp) ProtoMessage()
func (*GetAllConversationsResp) ProtoReflect ¶
func (x *GetAllConversationsResp) ProtoReflect() protoreflect.Message
func (*GetAllConversationsResp) Reset ¶
func (x *GetAllConversationsResp) Reset()
func (*GetAllConversationsResp) String ¶
func (x *GetAllConversationsResp) String() string
type GetConversationIDsReq ¶
type GetConversationIDsReq struct {
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
// contains filtered or unexported fields
}
func (*GetConversationIDsReq) Descriptor
deprecated
func (*GetConversationIDsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationIDsReq.ProtoReflect.Descriptor instead.
func (*GetConversationIDsReq) GetUserID ¶
func (x *GetConversationIDsReq) GetUserID() string
func (*GetConversationIDsReq) ProtoMessage ¶
func (*GetConversationIDsReq) ProtoMessage()
func (*GetConversationIDsReq) ProtoReflect ¶
func (x *GetConversationIDsReq) ProtoReflect() protoreflect.Message
func (*GetConversationIDsReq) Reset ¶
func (x *GetConversationIDsReq) Reset()
func (*GetConversationIDsReq) String ¶
func (x *GetConversationIDsReq) String() string
type GetConversationIDsResp ¶
type GetConversationIDsResp struct {
ConversationIDs []string `protobuf:"bytes,1,rep,name=conversationIDs,proto3" json:"conversationIDs"`
// contains filtered or unexported fields
}
func (*GetConversationIDsResp) Descriptor
deprecated
func (*GetConversationIDsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationIDsResp.ProtoReflect.Descriptor instead.
func (*GetConversationIDsResp) GetConversationIDs ¶
func (x *GetConversationIDsResp) GetConversationIDs() []string
func (*GetConversationIDsResp) ProtoMessage ¶
func (*GetConversationIDsResp) ProtoMessage()
func (*GetConversationIDsResp) ProtoReflect ¶
func (x *GetConversationIDsResp) ProtoReflect() protoreflect.Message
func (*GetConversationIDsResp) Reset ¶
func (x *GetConversationIDsResp) Reset()
func (*GetConversationIDsResp) String ¶
func (x *GetConversationIDsResp) String() string
type GetConversationListReq ¶ added in v0.0.41
type GetConversationListReq struct {
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
ConversationIDs []string `protobuf:"bytes,2,rep,name=conversationIDs,proto3" json:"conversationIDs"`
// contains filtered or unexported fields
}
func (*GetConversationListReq) Check ¶ added in v0.0.41
func (x *GetConversationListReq) Check() error
func (*GetConversationListReq) Descriptor
deprecated
added in
v0.0.41
func (*GetConversationListReq) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationListReq.ProtoReflect.Descriptor instead.
func (*GetConversationListReq) GetConversationIDs ¶ added in v0.0.41
func (x *GetConversationListReq) GetConversationIDs() []string
func (*GetConversationListReq) GetUserID ¶ added in v0.0.41
func (x *GetConversationListReq) GetUserID() string
func (*GetConversationListReq) ProtoMessage ¶ added in v0.0.41
func (*GetConversationListReq) ProtoMessage()
func (*GetConversationListReq) ProtoReflect ¶ added in v0.0.41
func (x *GetConversationListReq) ProtoReflect() protoreflect.Message
func (*GetConversationListReq) Reset ¶ added in v0.0.41
func (x *GetConversationListReq) Reset()
func (*GetConversationListReq) String ¶ added in v0.0.41
func (x *GetConversationListReq) String() string
type GetConversationListResp ¶ added in v0.0.41
type GetConversationListResp struct {
ConversationElems []*ConversationElem `protobuf:"bytes,1,rep,name=conversationElems,proto3" json:"conversationElems"`
// contains filtered or unexported fields
}
func (*GetConversationListResp) Descriptor
deprecated
added in
v0.0.41
func (*GetConversationListResp) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationListResp.ProtoReflect.Descriptor instead.
func (*GetConversationListResp) GetConversationElems ¶ added in v0.0.41
func (x *GetConversationListResp) GetConversationElems() []*ConversationElem
func (*GetConversationListResp) ProtoMessage ¶ added in v0.0.41
func (*GetConversationListResp) ProtoMessage()
func (*GetConversationListResp) ProtoReflect ¶ added in v0.0.41
func (x *GetConversationListResp) ProtoReflect() protoreflect.Message
func (*GetConversationListResp) Reset ¶ added in v0.0.41
func (x *GetConversationListResp) Reset()
func (*GetConversationListResp) String ¶ added in v0.0.41
func (x *GetConversationListResp) String() string
type GetConversationOfflinePushUserIDsReq ¶
type GetConversationOfflinePushUserIDsReq struct {
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID"`
UserIDs []string `protobuf:"bytes,2,rep,name=userIDs,proto3" json:"userIDs"`
// contains filtered or unexported fields
}
func (*GetConversationOfflinePushUserIDsReq) Descriptor
deprecated
func (*GetConversationOfflinePushUserIDsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationOfflinePushUserIDsReq.ProtoReflect.Descriptor instead.
func (*GetConversationOfflinePushUserIDsReq) GetConversationID ¶
func (x *GetConversationOfflinePushUserIDsReq) GetConversationID() string
func (*GetConversationOfflinePushUserIDsReq) GetUserIDs ¶
func (x *GetConversationOfflinePushUserIDsReq) GetUserIDs() []string
func (*GetConversationOfflinePushUserIDsReq) ProtoMessage ¶
func (*GetConversationOfflinePushUserIDsReq) ProtoMessage()
func (*GetConversationOfflinePushUserIDsReq) ProtoReflect ¶
func (x *GetConversationOfflinePushUserIDsReq) ProtoReflect() protoreflect.Message
func (*GetConversationOfflinePushUserIDsReq) Reset ¶
func (x *GetConversationOfflinePushUserIDsReq) Reset()
func (*GetConversationOfflinePushUserIDsReq) String ¶
func (x *GetConversationOfflinePushUserIDsReq) String() string
type GetConversationOfflinePushUserIDsResp ¶
type GetConversationOfflinePushUserIDsResp struct {
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs"`
// contains filtered or unexported fields
}
func (*GetConversationOfflinePushUserIDsResp) Descriptor
deprecated
func (*GetConversationOfflinePushUserIDsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationOfflinePushUserIDsResp.ProtoReflect.Descriptor instead.
func (*GetConversationOfflinePushUserIDsResp) GetUserIDs ¶
func (x *GetConversationOfflinePushUserIDsResp) GetUserIDs() []string
func (*GetConversationOfflinePushUserIDsResp) ProtoMessage ¶
func (*GetConversationOfflinePushUserIDsResp) ProtoMessage()
func (*GetConversationOfflinePushUserIDsResp) ProtoReflect ¶
func (x *GetConversationOfflinePushUserIDsResp) ProtoReflect() protoreflect.Message
func (*GetConversationOfflinePushUserIDsResp) Reset ¶
func (x *GetConversationOfflinePushUserIDsResp) Reset()
func (*GetConversationOfflinePushUserIDsResp) String ¶
func (x *GetConversationOfflinePushUserIDsResp) String() string
type GetConversationReq ¶
type GetConversationReq struct {
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID"`
OwnerUserID string `protobuf:"bytes,2,opt,name=ownerUserID,proto3" json:"ownerUserID"`
// contains filtered or unexported fields
}
func (*GetConversationReq) Check ¶
func (x *GetConversationReq) Check() error
func (*GetConversationReq) Descriptor
deprecated
func (*GetConversationReq) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationReq.ProtoReflect.Descriptor instead.
func (*GetConversationReq) GetConversationID ¶
func (x *GetConversationReq) GetConversationID() string
func (*GetConversationReq) GetOwnerUserID ¶
func (x *GetConversationReq) GetOwnerUserID() string
func (*GetConversationReq) ProtoMessage ¶
func (*GetConversationReq) ProtoMessage()
func (*GetConversationReq) ProtoReflect ¶
func (x *GetConversationReq) ProtoReflect() protoreflect.Message
func (*GetConversationReq) Reset ¶
func (x *GetConversationReq) Reset()
func (*GetConversationReq) String ¶
func (x *GetConversationReq) String() string
type GetConversationResp ¶
type GetConversationResp struct {
Conversation *Conversation `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation"`
// contains filtered or unexported fields
}
func (*GetConversationResp) Descriptor
deprecated
func (*GetConversationResp) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationResp.ProtoReflect.Descriptor instead.
func (*GetConversationResp) GetConversation ¶
func (x *GetConversationResp) GetConversation() *Conversation
func (*GetConversationResp) ProtoMessage ¶
func (*GetConversationResp) ProtoMessage()
func (*GetConversationResp) ProtoReflect ¶
func (x *GetConversationResp) ProtoReflect() protoreflect.Message
func (*GetConversationResp) Reset ¶
func (x *GetConversationResp) Reset()
func (*GetConversationResp) String ¶
func (x *GetConversationResp) String() string
type GetConversationsByConversationIDReq ¶
type GetConversationsByConversationIDReq struct {
ConversationIDs []string `protobuf:"bytes,1,rep,name=conversationIDs,proto3" json:"conversationIDs"`
// contains filtered or unexported fields
}
func (*GetConversationsByConversationIDReq) Check ¶
func (x *GetConversationsByConversationIDReq) Check() error
func (*GetConversationsByConversationIDReq) Descriptor
deprecated
func (*GetConversationsByConversationIDReq) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationsByConversationIDReq.ProtoReflect.Descriptor instead.
func (*GetConversationsByConversationIDReq) GetConversationIDs ¶
func (x *GetConversationsByConversationIDReq) GetConversationIDs() []string
func (*GetConversationsByConversationIDReq) ProtoMessage ¶
func (*GetConversationsByConversationIDReq) ProtoMessage()
func (*GetConversationsByConversationIDReq) ProtoReflect ¶
func (x *GetConversationsByConversationIDReq) ProtoReflect() protoreflect.Message
func (*GetConversationsByConversationIDReq) Reset ¶
func (x *GetConversationsByConversationIDReq) Reset()
func (*GetConversationsByConversationIDReq) String ¶
func (x *GetConversationsByConversationIDReq) String() string
type GetConversationsByConversationIDResp ¶
type GetConversationsByConversationIDResp struct {
Conversations []*Conversation `protobuf:"bytes,1,rep,name=conversations,proto3" json:"conversations"`
// contains filtered or unexported fields
}
func (*GetConversationsByConversationIDResp) Descriptor
deprecated
func (*GetConversationsByConversationIDResp) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationsByConversationIDResp.ProtoReflect.Descriptor instead.
func (*GetConversationsByConversationIDResp) GetConversations ¶
func (x *GetConversationsByConversationIDResp) GetConversations() []*Conversation
func (*GetConversationsByConversationIDResp) ProtoMessage ¶
func (*GetConversationsByConversationIDResp) ProtoMessage()
func (*GetConversationsByConversationIDResp) ProtoReflect ¶
func (x *GetConversationsByConversationIDResp) ProtoReflect() protoreflect.Message
func (*GetConversationsByConversationIDResp) Reset ¶
func (x *GetConversationsByConversationIDResp) Reset()
func (*GetConversationsByConversationIDResp) String ¶
func (x *GetConversationsByConversationIDResp) String() string
type GetConversationsReq ¶
type GetConversationsReq struct {
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
ConversationIDs []string `protobuf:"bytes,2,rep,name=conversationIDs,proto3" json:"conversationIDs"`
// contains filtered or unexported fields
}
func (*GetConversationsReq) Check ¶
func (x *GetConversationsReq) Check() error
func (*GetConversationsReq) Descriptor
deprecated
func (*GetConversationsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationsReq.ProtoReflect.Descriptor instead.
func (*GetConversationsReq) GetConversationIDs ¶
func (x *GetConversationsReq) GetConversationIDs() []string
func (*GetConversationsReq) GetOwnerUserID ¶
func (x *GetConversationsReq) GetOwnerUserID() string
func (*GetConversationsReq) ProtoMessage ¶
func (*GetConversationsReq) ProtoMessage()
func (*GetConversationsReq) ProtoReflect ¶
func (x *GetConversationsReq) ProtoReflect() protoreflect.Message
func (*GetConversationsReq) Reset ¶
func (x *GetConversationsReq) Reset()
func (*GetConversationsReq) String ¶
func (x *GetConversationsReq) String() string
type GetConversationsResp ¶
type GetConversationsResp struct {
Conversations []*Conversation `protobuf:"bytes,2,rep,name=conversations,proto3" json:"conversations"`
// contains filtered or unexported fields
}
func (*GetConversationsResp) Descriptor
deprecated
func (*GetConversationsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationsResp.ProtoReflect.Descriptor instead.
func (*GetConversationsResp) GetConversations ¶
func (x *GetConversationsResp) GetConversations() []*Conversation
func (*GetConversationsResp) ProtoMessage ¶
func (*GetConversationsResp) ProtoMessage()
func (*GetConversationsResp) ProtoReflect ¶
func (x *GetConversationsResp) ProtoReflect() protoreflect.Message
func (*GetConversationsResp) Reset ¶
func (x *GetConversationsResp) Reset()
func (*GetConversationsResp) String ¶
func (x *GetConversationsResp) String() string
type GetRecvMsgNotNotifyUserIDsReq ¶
type GetRecvMsgNotNotifyUserIDsReq struct {
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
// contains filtered or unexported fields
}
func (*GetRecvMsgNotNotifyUserIDsReq) Check ¶
func (x *GetRecvMsgNotNotifyUserIDsReq) Check() error
func (*GetRecvMsgNotNotifyUserIDsReq) Descriptor
deprecated
func (*GetRecvMsgNotNotifyUserIDsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetRecvMsgNotNotifyUserIDsReq.ProtoReflect.Descriptor instead.
func (*GetRecvMsgNotNotifyUserIDsReq) GetGroupID ¶
func (x *GetRecvMsgNotNotifyUserIDsReq) GetGroupID() string
func (*GetRecvMsgNotNotifyUserIDsReq) ProtoMessage ¶
func (*GetRecvMsgNotNotifyUserIDsReq) ProtoMessage()
func (*GetRecvMsgNotNotifyUserIDsReq) ProtoReflect ¶
func (x *GetRecvMsgNotNotifyUserIDsReq) ProtoReflect() protoreflect.Message
func (*GetRecvMsgNotNotifyUserIDsReq) Reset ¶
func (x *GetRecvMsgNotNotifyUserIDsReq) Reset()
func (*GetRecvMsgNotNotifyUserIDsReq) String ¶
func (x *GetRecvMsgNotNotifyUserIDsReq) String() string
type GetRecvMsgNotNotifyUserIDsResp ¶
type GetRecvMsgNotNotifyUserIDsResp struct {
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs"`
// contains filtered or unexported fields
}
func (*GetRecvMsgNotNotifyUserIDsResp) Descriptor
deprecated
func (*GetRecvMsgNotNotifyUserIDsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetRecvMsgNotNotifyUserIDsResp.ProtoReflect.Descriptor instead.
func (*GetRecvMsgNotNotifyUserIDsResp) GetUserIDs ¶
func (x *GetRecvMsgNotNotifyUserIDsResp) GetUserIDs() []string
func (*GetRecvMsgNotNotifyUserIDsResp) ProtoMessage ¶
func (*GetRecvMsgNotNotifyUserIDsResp) ProtoMessage()
func (*GetRecvMsgNotNotifyUserIDsResp) ProtoReflect ¶
func (x *GetRecvMsgNotNotifyUserIDsResp) ProtoReflect() protoreflect.Message
func (*GetRecvMsgNotNotifyUserIDsResp) Reset ¶
func (x *GetRecvMsgNotNotifyUserIDsResp) Reset()
func (*GetRecvMsgNotNotifyUserIDsResp) String ¶
func (x *GetRecvMsgNotNotifyUserIDsResp) String() string
type GetUserConversationIDsHashReq ¶
type GetUserConversationIDsHashReq struct {
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
// contains filtered or unexported fields
}
func (*GetUserConversationIDsHashReq) Check ¶
func (x *GetUserConversationIDsHashReq) Check() error
func (*GetUserConversationIDsHashReq) Descriptor
deprecated
func (*GetUserConversationIDsHashReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUserConversationIDsHashReq.ProtoReflect.Descriptor instead.
func (*GetUserConversationIDsHashReq) GetOwnerUserID ¶
func (x *GetUserConversationIDsHashReq) GetOwnerUserID() string
func (*GetUserConversationIDsHashReq) ProtoMessage ¶
func (*GetUserConversationIDsHashReq) ProtoMessage()
func (*GetUserConversationIDsHashReq) ProtoReflect ¶
func (x *GetUserConversationIDsHashReq) ProtoReflect() protoreflect.Message
func (*GetUserConversationIDsHashReq) Reset ¶
func (x *GetUserConversationIDsHashReq) Reset()
func (*GetUserConversationIDsHashReq) String ¶
func (x *GetUserConversationIDsHashReq) String() string
type GetUserConversationIDsHashResp ¶
type GetUserConversationIDsHashResp struct {
Hash uint64 `protobuf:"varint,1,opt,name=hash,proto3" json:"hash"`
// contains filtered or unexported fields
}
func (*GetUserConversationIDsHashResp) Descriptor
deprecated
func (*GetUserConversationIDsHashResp) Descriptor() ([]byte, []int)
Deprecated: Use GetUserConversationIDsHashResp.ProtoReflect.Descriptor instead.
func (*GetUserConversationIDsHashResp) GetHash ¶
func (x *GetUserConversationIDsHashResp) GetHash() uint64
func (*GetUserConversationIDsHashResp) ProtoMessage ¶
func (*GetUserConversationIDsHashResp) ProtoMessage()
func (*GetUserConversationIDsHashResp) ProtoReflect ¶
func (x *GetUserConversationIDsHashResp) ProtoReflect() protoreflect.Message
func (*GetUserConversationIDsHashResp) Reset ¶
func (x *GetUserConversationIDsHashResp) Reset()
func (*GetUserConversationIDsHashResp) String ¶
func (x *GetUserConversationIDsHashResp) String() string
type MsgInfo ¶ added in v0.0.41
type MsgInfo struct {
ServerMsgID string `protobuf:"bytes,1,opt,name=serverMsgID,proto3" json:"serverMsgID"`
ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID,proto3" json:"clientMsgID"`
SessionType int32 `protobuf:"varint,3,opt,name=sessionType,proto3" json:"sessionType"`
SendID string `protobuf:"bytes,4,opt,name=sendID,proto3" json:"sendID"`
RecvID string `protobuf:"bytes,5,opt,name=recvID,proto3" json:"recvID"`
SenderName string `protobuf:"bytes,6,opt,name=senderName,proto3" json:"senderName"`
FaceURL string `protobuf:"bytes,7,opt,name=faceURL,proto3" json:"faceURL"`
GroupID string `protobuf:"bytes,8,opt,name=groupID,proto3" json:"groupID"`
GroupName string `protobuf:"bytes,9,opt,name=groupName,proto3" json:"groupName"`
GroupFaceURL string `protobuf:"bytes,10,opt,name=groupFaceURL,proto3" json:"groupFaceURL"`
GroupType int32 `protobuf:"varint,11,opt,name=groupType,proto3" json:"groupType"`
GroupMemberCount uint32 `protobuf:"varint,12,opt,name=groupMemberCount,proto3" json:"groupMemberCount"`
LatestMsgRecvTime int64 `protobuf:"varint,13,opt,name=LatestMsgRecvTime,proto3" json:"LatestMsgRecvTime"`
MsgFrom int32 `protobuf:"varint,14,opt,name=msgFrom,proto3" json:"msgFrom"`
ContentType int32 `protobuf:"varint,15,opt,name=contentType,proto3" json:"contentType"`
Content string `protobuf:"bytes,16,opt,name=content,proto3" json:"content"`
// contains filtered or unexported fields
}
func (*MsgInfo) Descriptor
deprecated
added in
v0.0.41
func (*MsgInfo) GetClientMsgID ¶ added in v0.0.41
func (*MsgInfo) GetContent ¶ added in v0.0.41
func (*MsgInfo) GetContentType ¶ added in v0.0.41
func (*MsgInfo) GetFaceURL ¶ added in v0.0.41
func (*MsgInfo) GetGroupFaceURL ¶ added in v0.0.41
func (*MsgInfo) GetGroupID ¶ added in v0.0.41
func (*MsgInfo) GetGroupMemberCount ¶ added in v0.0.41
func (*MsgInfo) GetGroupName ¶ added in v0.0.41
func (*MsgInfo) GetGroupType ¶ added in v0.0.41
func (*MsgInfo) GetLatestMsgRecvTime ¶ added in v0.0.41
func (*MsgInfo) GetMsgFrom ¶ added in v0.0.41
func (*MsgInfo) GetSenderName ¶ added in v0.0.41
func (*MsgInfo) GetServerMsgID ¶ added in v0.0.41
func (*MsgInfo) GetSessionType ¶ added in v0.0.41
func (*MsgInfo) ProtoMessage ¶ added in v0.0.41
func (*MsgInfo) ProtoMessage()
func (*MsgInfo) ProtoReflect ¶ added in v0.0.41
func (x *MsgInfo) ProtoReflect() protoreflect.Message
type SetConversationMaxSeqReq ¶
type SetConversationMaxSeqReq struct {
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID"`
OwnerUserID []string `protobuf:"bytes,2,rep,name=ownerUserID,proto3" json:"ownerUserID"`
MaxSeq int64 `protobuf:"varint,3,opt,name=maxSeq,proto3" json:"maxSeq"`
// contains filtered or unexported fields
}
func (*SetConversationMaxSeqReq) Check ¶
func (x *SetConversationMaxSeqReq) Check() error
func (*SetConversationMaxSeqReq) Descriptor
deprecated
func (*SetConversationMaxSeqReq) Descriptor() ([]byte, []int)
Deprecated: Use SetConversationMaxSeqReq.ProtoReflect.Descriptor instead.
func (*SetConversationMaxSeqReq) GetConversationID ¶
func (x *SetConversationMaxSeqReq) GetConversationID() string
func (*SetConversationMaxSeqReq) GetMaxSeq ¶
func (x *SetConversationMaxSeqReq) GetMaxSeq() int64
func (*SetConversationMaxSeqReq) GetOwnerUserID ¶
func (x *SetConversationMaxSeqReq) GetOwnerUserID() []string
func (*SetConversationMaxSeqReq) ProtoMessage ¶
func (*SetConversationMaxSeqReq) ProtoMessage()
func (*SetConversationMaxSeqReq) ProtoReflect ¶
func (x *SetConversationMaxSeqReq) ProtoReflect() protoreflect.Message
func (*SetConversationMaxSeqReq) Reset ¶
func (x *SetConversationMaxSeqReq) Reset()
func (*SetConversationMaxSeqReq) String ¶
func (x *SetConversationMaxSeqReq) String() string
type SetConversationMaxSeqResp ¶
type SetConversationMaxSeqResp struct {
// contains filtered or unexported fields
}
func (*SetConversationMaxSeqResp) Descriptor
deprecated
func (*SetConversationMaxSeqResp) Descriptor() ([]byte, []int)
Deprecated: Use SetConversationMaxSeqResp.ProtoReflect.Descriptor instead.
func (*SetConversationMaxSeqResp) ProtoMessage ¶
func (*SetConversationMaxSeqResp) ProtoMessage()
func (*SetConversationMaxSeqResp) ProtoReflect ¶
func (x *SetConversationMaxSeqResp) ProtoReflect() protoreflect.Message
func (*SetConversationMaxSeqResp) Reset ¶
func (x *SetConversationMaxSeqResp) Reset()
func (*SetConversationMaxSeqResp) String ¶
func (x *SetConversationMaxSeqResp) String() string
type SetConversationReq ¶
type SetConversationReq struct {
Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation"`
// contains filtered or unexported fields
}
func (*SetConversationReq) Check ¶
func (x *SetConversationReq) Check() error
func (*SetConversationReq) Descriptor
deprecated
func (*SetConversationReq) Descriptor() ([]byte, []int)
Deprecated: Use SetConversationReq.ProtoReflect.Descriptor instead.
func (*SetConversationReq) GetConversation ¶
func (x *SetConversationReq) GetConversation() *Conversation
func (*SetConversationReq) ProtoMessage ¶
func (*SetConversationReq) ProtoMessage()
func (*SetConversationReq) ProtoReflect ¶
func (x *SetConversationReq) ProtoReflect() protoreflect.Message
func (*SetConversationReq) Reset ¶
func (x *SetConversationReq) Reset()
func (*SetConversationReq) String ¶
func (x *SetConversationReq) String() string
type SetConversationResp ¶
type SetConversationResp struct {
// contains filtered or unexported fields
}
func (*SetConversationResp) Descriptor
deprecated
func (*SetConversationResp) Descriptor() ([]byte, []int)
Deprecated: Use SetConversationResp.ProtoReflect.Descriptor instead.
func (*SetConversationResp) ProtoMessage ¶
func (*SetConversationResp) ProtoMessage()
func (*SetConversationResp) ProtoReflect ¶
func (x *SetConversationResp) ProtoReflect() protoreflect.Message
func (*SetConversationResp) Reset ¶
func (x *SetConversationResp) Reset()
func (*SetConversationResp) String ¶
func (x *SetConversationResp) String() string
type SetConversationsReq ¶
type SetConversationsReq struct {
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs"`
Conversation *ConversationReq `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation"`
// contains filtered or unexported fields
}
func (*SetConversationsReq) Check ¶
func (x *SetConversationsReq) Check() error
func (*SetConversationsReq) Descriptor
deprecated
func (*SetConversationsReq) Descriptor() ([]byte, []int)
Deprecated: Use SetConversationsReq.ProtoReflect.Descriptor instead.
func (*SetConversationsReq) GetConversation ¶
func (x *SetConversationsReq) GetConversation() *ConversationReq
func (*SetConversationsReq) GetUserIDs ¶
func (x *SetConversationsReq) GetUserIDs() []string
func (*SetConversationsReq) ProtoMessage ¶
func (*SetConversationsReq) ProtoMessage()
func (*SetConversationsReq) ProtoReflect ¶
func (x *SetConversationsReq) ProtoReflect() protoreflect.Message
func (*SetConversationsReq) Reset ¶
func (x *SetConversationsReq) Reset()
func (*SetConversationsReq) String ¶
func (x *SetConversationsReq) String() string
type SetConversationsResp ¶
type SetConversationsResp struct {
// contains filtered or unexported fields
}
func (*SetConversationsResp) Descriptor
deprecated
func (*SetConversationsResp) Descriptor() ([]byte, []int)
Deprecated: Use SetConversationsResp.ProtoReflect.Descriptor instead.
func (*SetConversationsResp) ProtoMessage ¶
func (*SetConversationsResp) ProtoMessage()
func (*SetConversationsResp) ProtoReflect ¶
func (x *SetConversationsResp) ProtoReflect() protoreflect.Message
func (*SetConversationsResp) Reset ¶
func (x *SetConversationsResp) Reset()
func (*SetConversationsResp) String ¶
func (x *SetConversationsResp) String() string
type UnimplementedConversationServer ¶
type UnimplementedConversationServer struct {
}
UnimplementedConversationServer can be embedded to have forward compatible implementations.
func (*UnimplementedConversationServer) CreateGroupChatConversations ¶
func (*UnimplementedConversationServer) CreateGroupChatConversations(context.Context, *CreateGroupChatConversationsReq) (*CreateGroupChatConversationsResp, error)
func (*UnimplementedConversationServer) CreateSingleChatConversations ¶
func (*UnimplementedConversationServer) CreateSingleChatConversations(context.Context, *CreateSingleChatConversationsReq) (*CreateSingleChatConversationsResp, error)
func (*UnimplementedConversationServer) GetAllConversations ¶
func (*UnimplementedConversationServer) GetAllConversations(context.Context, *GetAllConversationsReq) (*GetAllConversationsResp, error)
func (*UnimplementedConversationServer) GetConversation ¶
func (*UnimplementedConversationServer) GetConversation(context.Context, *GetConversationReq) (*GetConversationResp, error)
func (*UnimplementedConversationServer) GetConversationIDs ¶
func (*UnimplementedConversationServer) GetConversationIDs(context.Context, *GetConversationIDsReq) (*GetConversationIDsResp, error)
func (*UnimplementedConversationServer) GetConversationList ¶ added in v0.0.41
func (*UnimplementedConversationServer) GetConversationList(context.Context, *GetConversationListReq) (*GetConversationListResp, error)
func (*UnimplementedConversationServer) GetConversationOfflinePushUserIDs ¶
func (*UnimplementedConversationServer) GetConversationOfflinePushUserIDs(context.Context, *GetConversationOfflinePushUserIDsReq) (*GetConversationOfflinePushUserIDsResp, error)
func (*UnimplementedConversationServer) GetConversations ¶
func (*UnimplementedConversationServer) GetConversations(context.Context, *GetConversationsReq) (*GetConversationsResp, error)
func (*UnimplementedConversationServer) GetConversationsByConversationID ¶
func (*UnimplementedConversationServer) GetConversationsByConversationID(context.Context, *GetConversationsByConversationIDReq) (*GetConversationsByConversationIDResp, error)
func (*UnimplementedConversationServer) GetRecvMsgNotNotifyUserIDs ¶
func (*UnimplementedConversationServer) GetRecvMsgNotNotifyUserIDs(context.Context, *GetRecvMsgNotNotifyUserIDsReq) (*GetRecvMsgNotNotifyUserIDsResp, error)
func (*UnimplementedConversationServer) GetUserConversationIDsHash ¶
func (*UnimplementedConversationServer) GetUserConversationIDsHash(context.Context, *GetUserConversationIDsHashReq) (*GetUserConversationIDsHashResp, error)
func (*UnimplementedConversationServer) SetConversation ¶
func (*UnimplementedConversationServer) SetConversation(context.Context, *SetConversationReq) (*SetConversationResp, error)
func (*UnimplementedConversationServer) SetConversationMaxSeq ¶
func (*UnimplementedConversationServer) SetConversationMaxSeq(context.Context, *SetConversationMaxSeqReq) (*SetConversationMaxSeqResp, error)
func (*UnimplementedConversationServer) SetConversations ¶
func (*UnimplementedConversationServer) SetConversations(context.Context, *SetConversationsReq) (*SetConversationsResp, error)