conversation

package
v0.0.0-...-4702bed Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterConversationServer

func RegisterConversationServer(s *grpc.Server, srv ConversationServer)

Types

type CommonResp

type CommonResp struct {
	ErrCode              int32    `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
	ErrMsg               string   `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CommonResp) Descriptor

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

func (*CommonResp) GetErrCode

func (m *CommonResp) GetErrCode() int32

func (*CommonResp) GetErrMsg

func (m *CommonResp) GetErrMsg() string

func (*CommonResp) ProtoMessage

func (*CommonResp) ProtoMessage()

func (*CommonResp) Reset

func (m *CommonResp) Reset()

func (*CommonResp) String

func (m *CommonResp) String() string

func (*CommonResp) XXX_DiscardUnknown

func (m *CommonResp) XXX_DiscardUnknown()

func (*CommonResp) XXX_Marshal

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

func (*CommonResp) XXX_Merge

func (dst *CommonResp) XXX_Merge(src proto.Message)

func (*CommonResp) XXX_Size

func (m *CommonResp) XXX_Size() int

func (*CommonResp) XXX_Unmarshal

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

type Conversation

type Conversation struct {
	OwnerUserID           string   `protobuf:"bytes,1,opt,name=ownerUserID" json:"ownerUserID,omitempty"`
	ConversationID        string   `protobuf:"bytes,2,opt,name=conversationID" json:"conversationID,omitempty"`
	RecvMsgOpt            int32    `protobuf:"varint,3,opt,name=recvMsgOpt" json:"recvMsgOpt,omitempty"`
	ConversationType      int32    `protobuf:"varint,4,opt,name=conversationType" json:"conversationType,omitempty"`
	UserID                string   `protobuf:"bytes,5,opt,name=userID" json:"userID,omitempty"`
	GroupID               string   `protobuf:"bytes,6,opt,name=groupID" json:"groupID,omitempty"`
	UnreadCount           int32    `protobuf:"varint,7,opt,name=unreadCount" json:"unreadCount,omitempty"`
	DraftTextTime         int64    `protobuf:"varint,8,opt,name=draftTextTime" json:"draftTextTime,omitempty"`
	IsPinned              bool     `protobuf:"varint,9,opt,name=isPinned" json:"isPinned,omitempty"`
	AttachedInfo          string   `protobuf:"bytes,10,opt,name=attachedInfo" json:"attachedInfo,omitempty"`
	IsPrivateChat         bool     `protobuf:"varint,11,opt,name=isPrivateChat" json:"isPrivateChat,omitempty"`
	GroupAtType           int32    `protobuf:"varint,12,opt,name=groupAtType" json:"groupAtType,omitempty"`
	IsNotInGroup          bool     `protobuf:"varint,13,opt,name=isNotInGroup" json:"isNotInGroup,omitempty"`
	Ex                    string   `protobuf:"bytes,14,opt,name=ex" json:"ex,omitempty"`
	UpdateUnreadCountTime int64    `protobuf:"varint,15,opt,name=updateUnreadCountTime" json:"updateUnreadCountTime,omitempty"`
	BurnDuration          int32    `protobuf:"varint,16,opt,name=burnDuration" json:"burnDuration,omitempty"`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

func (*Conversation) Descriptor

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

func (*Conversation) GetAttachedInfo

func (m *Conversation) GetAttachedInfo() string

func (*Conversation) GetBurnDuration

func (m *Conversation) GetBurnDuration() int32

func (*Conversation) GetConversationID

func (m *Conversation) GetConversationID() string

func (*Conversation) GetConversationType

func (m *Conversation) GetConversationType() int32

func (*Conversation) GetDraftTextTime

func (m *Conversation) GetDraftTextTime() int64

func (*Conversation) GetEx

func (m *Conversation) GetEx() string

func (*Conversation) GetGroupAtType

func (m *Conversation) GetGroupAtType() int32

func (*Conversation) GetGroupID

func (m *Conversation) GetGroupID() string

func (*Conversation) GetIsNotInGroup

func (m *Conversation) GetIsNotInGroup() bool

func (*Conversation) GetIsPinned

func (m *Conversation) GetIsPinned() bool

func (*Conversation) GetIsPrivateChat

func (m *Conversation) GetIsPrivateChat() bool

func (*Conversation) GetOwnerUserID

func (m *Conversation) GetOwnerUserID() string

func (*Conversation) GetRecvMsgOpt

func (m *Conversation) GetRecvMsgOpt() int32

func (*Conversation) GetUnreadCount

func (m *Conversation) GetUnreadCount() int32

func (*Conversation) GetUpdateUnreadCountTime

func (m *Conversation) GetUpdateUnreadCountTime() int64

func (*Conversation) GetUserID

func (m *Conversation) GetUserID() string

func (*Conversation) ProtoMessage

func (*Conversation) ProtoMessage()

func (*Conversation) Reset

func (m *Conversation) Reset()

func (*Conversation) String

func (m *Conversation) String() string

func (*Conversation) XXX_DiscardUnknown

func (m *Conversation) XXX_DiscardUnknown()

func (*Conversation) XXX_Marshal

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

func (*Conversation) XXX_Merge

func (dst *Conversation) XXX_Merge(src proto.Message)

func (*Conversation) XXX_Size

func (m *Conversation) XXX_Size() int

func (*Conversation) XXX_Unmarshal

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

type ConversationClient

type ConversationClient interface {
	ModifyConversationField(ctx context.Context, in *ModifyConversationFieldReq, opts ...grpc.CallOption) (*ModifyConversationFieldResp, error)
}

func NewConversationClient

func NewConversationClient(cc *grpc.ClientConn) ConversationClient

type ConversationServer

type ConversationServer interface {
	ModifyConversationField(context.Context, *ModifyConversationFieldReq) (*ModifyConversationFieldResp, error)
}

type ModifyConversationFieldReq

type ModifyConversationFieldReq struct {
	Conversation         *Conversation `protobuf:"bytes,1,opt,name=conversation" json:"conversation,omitempty"`
	FieldType            int32         `protobuf:"varint,2,opt,name=fieldType" json:"fieldType,omitempty"`
	UserIDList           []string      `protobuf:"bytes,3,rep,name=userIDList" json:"userIDList,omitempty"`
	OperationID          string        `protobuf:"bytes,4,opt,name=operationID" json:"operationID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ModifyConversationFieldReq) Descriptor

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

func (*ModifyConversationFieldReq) GetConversation

func (m *ModifyConversationFieldReq) GetConversation() *Conversation

func (*ModifyConversationFieldReq) GetFieldType

func (m *ModifyConversationFieldReq) GetFieldType() int32

func (*ModifyConversationFieldReq) GetOperationID

func (m *ModifyConversationFieldReq) GetOperationID() string

func (*ModifyConversationFieldReq) GetUserIDList

func (m *ModifyConversationFieldReq) GetUserIDList() []string

func (*ModifyConversationFieldReq) ProtoMessage

func (*ModifyConversationFieldReq) ProtoMessage()

func (*ModifyConversationFieldReq) Reset

func (m *ModifyConversationFieldReq) Reset()

func (*ModifyConversationFieldReq) String

func (m *ModifyConversationFieldReq) String() string

func (*ModifyConversationFieldReq) XXX_DiscardUnknown

func (m *ModifyConversationFieldReq) XXX_DiscardUnknown()

func (*ModifyConversationFieldReq) XXX_Marshal

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

func (*ModifyConversationFieldReq) XXX_Merge

func (dst *ModifyConversationFieldReq) XXX_Merge(src proto.Message)

func (*ModifyConversationFieldReq) XXX_Size

func (m *ModifyConversationFieldReq) XXX_Size() int

func (*ModifyConversationFieldReq) XXX_Unmarshal

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

type ModifyConversationFieldResp

type ModifyConversationFieldResp struct {
	CommonResp           *CommonResp `protobuf:"bytes,1,opt,name=commonResp" json:"commonResp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ModifyConversationFieldResp) Descriptor

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

func (*ModifyConversationFieldResp) GetCommonResp

func (m *ModifyConversationFieldResp) GetCommonResp() *CommonResp

func (*ModifyConversationFieldResp) ProtoMessage

func (*ModifyConversationFieldResp) ProtoMessage()

func (*ModifyConversationFieldResp) Reset

func (m *ModifyConversationFieldResp) Reset()

func (*ModifyConversationFieldResp) String

func (m *ModifyConversationFieldResp) String() string

func (*ModifyConversationFieldResp) XXX_DiscardUnknown

func (m *ModifyConversationFieldResp) XXX_DiscardUnknown()

func (*ModifyConversationFieldResp) XXX_Marshal

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

func (*ModifyConversationFieldResp) XXX_Merge

func (dst *ModifyConversationFieldResp) XXX_Merge(src proto.Message)

func (*ModifyConversationFieldResp) XXX_Size

func (m *ModifyConversationFieldResp) XXX_Size() int

func (*ModifyConversationFieldResp) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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