Documentation ¶
Index ¶
- Variables
- func RegisterMsgcallbackServiceServer(s grpc.ServiceRegistrar, srv MsgcallbackServiceServer)
- type ActionCode
- type CallbackAtAllInSuperGroupReq
- func (*CallbackAtAllInSuperGroupReq) Descriptor() ([]byte, []int)deprecated
- func (x *CallbackAtAllInSuperGroupReq) GetCommonCallbackReq() *CommonCallbackReq
- func (x *CallbackAtAllInSuperGroupReq) GetSuperGroupID() string
- func (*CallbackAtAllInSuperGroupReq) ProtoMessage()
- func (x *CallbackAtAllInSuperGroupReq) ProtoReflect() protoreflect.Message
- func (x *CallbackAtAllInSuperGroupReq) Reset()
- func (x *CallbackAtAllInSuperGroupReq) String() string
- type CallbackAtAllInSuperGroupResp
- func (*CallbackAtAllInSuperGroupResp) Descriptor() ([]byte, []int)deprecated
- func (x *CallbackAtAllInSuperGroupResp) GetCommonCallbackResp() *CommonCallbackResp
- func (*CallbackAtAllInSuperGroupResp) ProtoMessage()
- func (x *CallbackAtAllInSuperGroupResp) ProtoReflect() protoreflect.Message
- func (x *CallbackAtAllInSuperGroupResp) Reset()
- func (x *CallbackAtAllInSuperGroupResp) String() string
- type CallbackCommand
- func (CallbackCommand) Descriptor() protoreflect.EnumDescriptor
- func (x CallbackCommand) Enum() *CallbackCommand
- func (CallbackCommand) EnumDescriptor() ([]byte, []int)deprecated
- func (x CallbackCommand) Number() protoreflect.EnumNumber
- func (x CallbackCommand) String() string
- func (CallbackCommand) Type() protoreflect.EnumType
- type CallbackSendGroupMsgReq
- func (*CallbackSendGroupMsgReq) Descriptor() ([]byte, []int)deprecated
- func (x *CallbackSendGroupMsgReq) GetCommonCallbackReq() *CommonCallbackReq
- func (x *CallbackSendGroupMsgReq) GetGroupID() string
- func (*CallbackSendGroupMsgReq) ProtoMessage()
- func (x *CallbackSendGroupMsgReq) ProtoReflect() protoreflect.Message
- func (x *CallbackSendGroupMsgReq) Reset()
- func (x *CallbackSendGroupMsgReq) String() string
- type CallbackSendSingleMsgReq
- func (*CallbackSendSingleMsgReq) Descriptor() ([]byte, []int)deprecated
- func (x *CallbackSendSingleMsgReq) GetCommonCallbackReq() *CommonCallbackReq
- func (x *CallbackSendSingleMsgReq) GetRecvID() string
- func (*CallbackSendSingleMsgReq) ProtoMessage()
- func (x *CallbackSendSingleMsgReq) ProtoReflect() protoreflect.Message
- func (x *CallbackSendSingleMsgReq) Reset()
- func (x *CallbackSendSingleMsgReq) String() string
- type CallbackSendSuperGroupMsgReq
- func (*CallbackSendSuperGroupMsgReq) Descriptor() ([]byte, []int)deprecated
- func (x *CallbackSendSuperGroupMsgReq) GetCommonCallbackReq() *CommonCallbackReq
- func (x *CallbackSendSuperGroupMsgReq) GetSuperGroupID() string
- func (*CallbackSendSuperGroupMsgReq) ProtoMessage()
- func (x *CallbackSendSuperGroupMsgReq) ProtoReflect() protoreflect.Message
- func (x *CallbackSendSuperGroupMsgReq) Reset()
- func (x *CallbackSendSuperGroupMsgReq) String() string
- type CallbackWordFilterReq
- func (*CallbackWordFilterReq) Descriptor() ([]byte, []int)deprecated
- func (x *CallbackWordFilterReq) GetCommonCallbackReq() *CommonCallbackReq
- func (*CallbackWordFilterReq) ProtoMessage()
- func (x *CallbackWordFilterReq) ProtoReflect() protoreflect.Message
- func (x *CallbackWordFilterReq) Reset()
- func (x *CallbackWordFilterReq) String() string
- type CallbackWordFilterResp
- func (*CallbackWordFilterResp) Descriptor() ([]byte, []int)deprecated
- func (x *CallbackWordFilterResp) GetCommonCallbackResp() *CommonCallbackResp
- func (x *CallbackWordFilterResp) GetReplaceContent() string
- func (*CallbackWordFilterResp) ProtoMessage()
- func (x *CallbackWordFilterResp) ProtoReflect() protoreflect.Message
- func (x *CallbackWordFilterResp) Reset()
- func (x *CallbackWordFilterResp) String() string
- type CommonCallbackReq
- func (*CommonCallbackReq) Descriptor() ([]byte, []int)deprecated
- func (x *CommonCallbackReq) GetCallbackCommand() CallbackCommand
- func (x *CommonCallbackReq) GetClientMsgID() string
- func (x *CommonCallbackReq) GetContent() string
- func (x *CommonCallbackReq) GetContentType() int32
- func (x *CommonCallbackReq) GetCreateTime() int64
- func (x *CommonCallbackReq) GetMsgFrom() int32
- func (x *CommonCallbackReq) GetSendID() string
- func (x *CommonCallbackReq) GetSenderNickname() string
- func (x *CommonCallbackReq) GetSenderPlatformID() int32
- func (x *CommonCallbackReq) GetServerMsgID() string
- func (x *CommonCallbackReq) GetSessionType() int32
- func (x *CommonCallbackReq) GetStatus() int32
- func (*CommonCallbackReq) ProtoMessage()
- func (x *CommonCallbackReq) ProtoReflect() protoreflect.Message
- func (x *CommonCallbackReq) Reset()
- func (x *CommonCallbackReq) String() string
- type CommonCallbackResp
- func (*CommonCallbackResp) Descriptor() ([]byte, []int)deprecated
- func (x *CommonCallbackResp) GetActionCode() ActionCode
- func (x *CommonCallbackResp) GetErrCode() ErrCode
- func (x *CommonCallbackResp) GetErrMsg() string
- func (*CommonCallbackResp) ProtoMessage()
- func (x *CommonCallbackResp) ProtoReflect() protoreflect.Message
- func (x *CommonCallbackResp) Reset()
- func (x *CommonCallbackResp) String() string
- type ErrCode
- type MsgcallbackServiceClient
- type MsgcallbackServiceServer
- type UnimplementedMsgcallbackServiceServer
- func (UnimplementedMsgcallbackServiceServer) CallbackAfterSendGroupMsg(context.Context, *CallbackSendGroupMsgReq) (*CommonCallbackResp, error)
- func (UnimplementedMsgcallbackServiceServer) CallbackAfterSendSingleMsg(context.Context, *CallbackSendSingleMsgReq) (*CommonCallbackResp, error)
- func (UnimplementedMsgcallbackServiceServer) CallbackAfterSendSuperGroupMsg(context.Context, *CallbackSendSuperGroupMsgReq) (*CommonCallbackResp, error)
- func (UnimplementedMsgcallbackServiceServer) CallbackAtAllInSuperGroup(context.Context, *CallbackAtAllInSuperGroupReq) (*CallbackAtAllInSuperGroupResp, error)
- func (UnimplementedMsgcallbackServiceServer) CallbackBeforeSendGroupMsg(context.Context, *CallbackSendGroupMsgReq) (*CommonCallbackResp, error)
- func (UnimplementedMsgcallbackServiceServer) CallbackBeforeSendSingleMsg(context.Context, *CallbackSendSingleMsgReq) (*CommonCallbackResp, error)
- func (UnimplementedMsgcallbackServiceServer) CallbackBeforeSendSuperGroupMsg(context.Context, *CallbackSendSuperGroupMsgReq) (*CommonCallbackResp, error)
- func (UnimplementedMsgcallbackServiceServer) CallbackWordFilter(context.Context, *CallbackWordFilterReq) (*CallbackWordFilterResp, error)
- type UnsafeMsgcallbackServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( CallbackCommand_name = map[int32]string{ 0: "None", 1: "BeforeSendSingleMsg", 2: "AfterSendSingleMsg", 3: "BeforeSendGroupMsg", 4: "AfterSendGroupMsg", 5: "BeforeSendSuperGroupMsg", 6: "AfterSendSuperGroupMsg", 7: "WordFilter", 8: "AtAllInSuperGroup", } CallbackCommand_value = map[string]int32{ "None": 0, "BeforeSendSingleMsg": 1, "AfterSendSingleMsg": 2, "BeforeSendGroupMsg": 3, "AfterSendGroupMsg": 4, "BeforeSendSuperGroupMsg": 5, "AfterSendSuperGroupMsg": 6, "WordFilter": 7, "AtAllInSuperGroup": 8, } )
Enum value maps for CallbackCommand.
var ( ActionCode_name = map[int32]string{ 0: "Forbidden", } ActionCode_value = map[string]int32{ "Forbidden": 0, } )
Enum value maps for ActionCode.
var ( ErrCode_name = map[int32]string{ 0: "HandleSuccess", 1: "HandleFailed", } ErrCode_value = map[string]int32{ "HandleSuccess": 0, "HandleFailed": 1, } )
Enum value maps for ErrCode.
var File_msgcallback_proto protoreflect.FileDescriptor
var MsgcallbackService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.msgcallbackService", HandlerType: (*MsgcallbackServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CallbackBeforeSendGroupMsg", Handler: _MsgcallbackService_CallbackBeforeSendGroupMsg_Handler, }, { MethodName: "CallbackAfterSendGroupMsg", Handler: _MsgcallbackService_CallbackAfterSendGroupMsg_Handler, }, { MethodName: "CallbackBeforeSendSuperGroupMsg", Handler: _MsgcallbackService_CallbackBeforeSendSuperGroupMsg_Handler, }, { MethodName: "CallbackAfterSendSuperGroupMsg", Handler: _MsgcallbackService_CallbackAfterSendSuperGroupMsg_Handler, }, { MethodName: "CallbackBeforeSendSingleMsg", Handler: _MsgcallbackService_CallbackBeforeSendSingleMsg_Handler, }, { MethodName: "CallbackAfterSendSingleMsg", Handler: _MsgcallbackService_CallbackAfterSendSingleMsg_Handler, }, { MethodName: "CallbackWordFilter", Handler: _MsgcallbackService_CallbackWordFilter_Handler, }, { MethodName: "CallbackAtAllInSuperGroup", Handler: _MsgcallbackService_CallbackAtAllInSuperGroup_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "msgcallback.proto", }
MsgcallbackService_ServiceDesc is the grpc.ServiceDesc for MsgcallbackService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgcallbackServiceServer ¶
func RegisterMsgcallbackServiceServer(s grpc.ServiceRegistrar, srv MsgcallbackServiceServer)
Types ¶
type ActionCode ¶
type ActionCode int32
const (
ActionCode_Forbidden ActionCode = 0
)
func (ActionCode) Descriptor ¶
func (ActionCode) Descriptor() protoreflect.EnumDescriptor
func (ActionCode) Enum ¶
func (x ActionCode) Enum() *ActionCode
func (ActionCode) EnumDescriptor
deprecated
func (ActionCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ActionCode.Descriptor instead.
func (ActionCode) Number ¶
func (x ActionCode) Number() protoreflect.EnumNumber
func (ActionCode) String ¶
func (x ActionCode) String() string
func (ActionCode) Type ¶
func (ActionCode) Type() protoreflect.EnumType
type CallbackAtAllInSuperGroupReq ¶
type CallbackAtAllInSuperGroupReq struct { CommonCallbackReq *CommonCallbackReq `protobuf:"bytes,1,opt,name=CommonCallbackReq,proto3" json:"CommonCallbackReq,omitempty"` SuperGroupID string `protobuf:"bytes,2,opt,name=SuperGroupID,proto3" json:"SuperGroupID,omitempty"` // contains filtered or unexported fields }
func (*CallbackAtAllInSuperGroupReq) Descriptor
deprecated
func (*CallbackAtAllInSuperGroupReq) Descriptor() ([]byte, []int)
Deprecated: Use CallbackAtAllInSuperGroupReq.ProtoReflect.Descriptor instead.
func (*CallbackAtAllInSuperGroupReq) GetCommonCallbackReq ¶
func (x *CallbackAtAllInSuperGroupReq) GetCommonCallbackReq() *CommonCallbackReq
func (*CallbackAtAllInSuperGroupReq) GetSuperGroupID ¶
func (x *CallbackAtAllInSuperGroupReq) GetSuperGroupID() string
func (*CallbackAtAllInSuperGroupReq) ProtoMessage ¶
func (*CallbackAtAllInSuperGroupReq) ProtoMessage()
func (*CallbackAtAllInSuperGroupReq) ProtoReflect ¶
func (x *CallbackAtAllInSuperGroupReq) ProtoReflect() protoreflect.Message
func (*CallbackAtAllInSuperGroupReq) Reset ¶
func (x *CallbackAtAllInSuperGroupReq) Reset()
func (*CallbackAtAllInSuperGroupReq) String ¶
func (x *CallbackAtAllInSuperGroupReq) String() string
type CallbackAtAllInSuperGroupResp ¶
type CallbackAtAllInSuperGroupResp struct { CommonCallbackResp *CommonCallbackResp `protobuf:"bytes,1,opt,name=CommonCallbackResp,proto3" json:"CommonCallbackResp,omitempty"` // contains filtered or unexported fields }
func (*CallbackAtAllInSuperGroupResp) Descriptor
deprecated
func (*CallbackAtAllInSuperGroupResp) Descriptor() ([]byte, []int)
Deprecated: Use CallbackAtAllInSuperGroupResp.ProtoReflect.Descriptor instead.
func (*CallbackAtAllInSuperGroupResp) GetCommonCallbackResp ¶
func (x *CallbackAtAllInSuperGroupResp) GetCommonCallbackResp() *CommonCallbackResp
func (*CallbackAtAllInSuperGroupResp) ProtoMessage ¶
func (*CallbackAtAllInSuperGroupResp) ProtoMessage()
func (*CallbackAtAllInSuperGroupResp) ProtoReflect ¶
func (x *CallbackAtAllInSuperGroupResp) ProtoReflect() protoreflect.Message
func (*CallbackAtAllInSuperGroupResp) Reset ¶
func (x *CallbackAtAllInSuperGroupResp) Reset()
func (*CallbackAtAllInSuperGroupResp) String ¶
func (x *CallbackAtAllInSuperGroupResp) String() string
type CallbackCommand ¶
type CallbackCommand int32
const ( CallbackCommand_None CallbackCommand = 0 CallbackCommand_BeforeSendSingleMsg CallbackCommand = 1 CallbackCommand_AfterSendSingleMsg CallbackCommand = 2 CallbackCommand_BeforeSendGroupMsg CallbackCommand = 3 CallbackCommand_AfterSendGroupMsg CallbackCommand = 4 CallbackCommand_BeforeSendSuperGroupMsg CallbackCommand = 5 CallbackCommand_AfterSendSuperGroupMsg CallbackCommand = 6 CallbackCommand_WordFilter CallbackCommand = 7 CallbackCommand_AtAllInSuperGroup CallbackCommand = 8 )
func (CallbackCommand) Descriptor ¶
func (CallbackCommand) Descriptor() protoreflect.EnumDescriptor
func (CallbackCommand) Enum ¶
func (x CallbackCommand) Enum() *CallbackCommand
func (CallbackCommand) EnumDescriptor
deprecated
func (CallbackCommand) EnumDescriptor() ([]byte, []int)
Deprecated: Use CallbackCommand.Descriptor instead.
func (CallbackCommand) Number ¶
func (x CallbackCommand) Number() protoreflect.EnumNumber
func (CallbackCommand) String ¶
func (x CallbackCommand) String() string
func (CallbackCommand) Type ¶
func (CallbackCommand) Type() protoreflect.EnumType
type CallbackSendGroupMsgReq ¶
type CallbackSendGroupMsgReq struct { CommonCallbackReq *CommonCallbackReq `protobuf:"bytes,1,opt,name=CommonCallbackReq,proto3" json:"CommonCallbackReq,omitempty"` GroupID string `protobuf:"bytes,2,opt,name=GroupID,proto3" json:"GroupID,omitempty"` // contains filtered or unexported fields }
func (*CallbackSendGroupMsgReq) Descriptor
deprecated
func (*CallbackSendGroupMsgReq) Descriptor() ([]byte, []int)
Deprecated: Use CallbackSendGroupMsgReq.ProtoReflect.Descriptor instead.
func (*CallbackSendGroupMsgReq) GetCommonCallbackReq ¶
func (x *CallbackSendGroupMsgReq) GetCommonCallbackReq() *CommonCallbackReq
func (*CallbackSendGroupMsgReq) GetGroupID ¶
func (x *CallbackSendGroupMsgReq) GetGroupID() string
func (*CallbackSendGroupMsgReq) ProtoMessage ¶
func (*CallbackSendGroupMsgReq) ProtoMessage()
func (*CallbackSendGroupMsgReq) ProtoReflect ¶
func (x *CallbackSendGroupMsgReq) ProtoReflect() protoreflect.Message
func (*CallbackSendGroupMsgReq) Reset ¶
func (x *CallbackSendGroupMsgReq) Reset()
func (*CallbackSendGroupMsgReq) String ¶
func (x *CallbackSendGroupMsgReq) String() string
type CallbackSendSingleMsgReq ¶
type CallbackSendSingleMsgReq struct { CommonCallbackReq *CommonCallbackReq `protobuf:"bytes,1,opt,name=CommonCallbackReq,proto3" json:"CommonCallbackReq,omitempty"` RecvID string `protobuf:"bytes,2,opt,name=RecvID,proto3" json:"RecvID,omitempty"` // contains filtered or unexported fields }
func (*CallbackSendSingleMsgReq) Descriptor
deprecated
func (*CallbackSendSingleMsgReq) Descriptor() ([]byte, []int)
Deprecated: Use CallbackSendSingleMsgReq.ProtoReflect.Descriptor instead.
func (*CallbackSendSingleMsgReq) GetCommonCallbackReq ¶
func (x *CallbackSendSingleMsgReq) GetCommonCallbackReq() *CommonCallbackReq
func (*CallbackSendSingleMsgReq) GetRecvID ¶
func (x *CallbackSendSingleMsgReq) GetRecvID() string
func (*CallbackSendSingleMsgReq) ProtoMessage ¶
func (*CallbackSendSingleMsgReq) ProtoMessage()
func (*CallbackSendSingleMsgReq) ProtoReflect ¶
func (x *CallbackSendSingleMsgReq) ProtoReflect() protoreflect.Message
func (*CallbackSendSingleMsgReq) Reset ¶
func (x *CallbackSendSingleMsgReq) Reset()
func (*CallbackSendSingleMsgReq) String ¶
func (x *CallbackSendSingleMsgReq) String() string
type CallbackSendSuperGroupMsgReq ¶
type CallbackSendSuperGroupMsgReq struct { CommonCallbackReq *CommonCallbackReq `protobuf:"bytes,1,opt,name=CommonCallbackReq,proto3" json:"CommonCallbackReq,omitempty"` SuperGroupID string `protobuf:"bytes,2,opt,name=SuperGroupID,proto3" json:"SuperGroupID,omitempty"` // contains filtered or unexported fields }
func (*CallbackSendSuperGroupMsgReq) Descriptor
deprecated
func (*CallbackSendSuperGroupMsgReq) Descriptor() ([]byte, []int)
Deprecated: Use CallbackSendSuperGroupMsgReq.ProtoReflect.Descriptor instead.
func (*CallbackSendSuperGroupMsgReq) GetCommonCallbackReq ¶
func (x *CallbackSendSuperGroupMsgReq) GetCommonCallbackReq() *CommonCallbackReq
func (*CallbackSendSuperGroupMsgReq) GetSuperGroupID ¶
func (x *CallbackSendSuperGroupMsgReq) GetSuperGroupID() string
func (*CallbackSendSuperGroupMsgReq) ProtoMessage ¶
func (*CallbackSendSuperGroupMsgReq) ProtoMessage()
func (*CallbackSendSuperGroupMsgReq) ProtoReflect ¶
func (x *CallbackSendSuperGroupMsgReq) ProtoReflect() protoreflect.Message
func (*CallbackSendSuperGroupMsgReq) Reset ¶
func (x *CallbackSendSuperGroupMsgReq) Reset()
func (*CallbackSendSuperGroupMsgReq) String ¶
func (x *CallbackSendSuperGroupMsgReq) String() string
type CallbackWordFilterReq ¶
type CallbackWordFilterReq struct { CommonCallbackReq *CommonCallbackReq `protobuf:"bytes,1,opt,name=CommonCallbackReq,proto3" json:"CommonCallbackReq,omitempty"` // contains filtered or unexported fields }
func (*CallbackWordFilterReq) Descriptor
deprecated
func (*CallbackWordFilterReq) Descriptor() ([]byte, []int)
Deprecated: Use CallbackWordFilterReq.ProtoReflect.Descriptor instead.
func (*CallbackWordFilterReq) GetCommonCallbackReq ¶
func (x *CallbackWordFilterReq) GetCommonCallbackReq() *CommonCallbackReq
func (*CallbackWordFilterReq) ProtoMessage ¶
func (*CallbackWordFilterReq) ProtoMessage()
func (*CallbackWordFilterReq) ProtoReflect ¶
func (x *CallbackWordFilterReq) ProtoReflect() protoreflect.Message
func (*CallbackWordFilterReq) Reset ¶
func (x *CallbackWordFilterReq) Reset()
func (*CallbackWordFilterReq) String ¶
func (x *CallbackWordFilterReq) String() string
type CallbackWordFilterResp ¶
type CallbackWordFilterResp struct { CommonCallbackResp *CommonCallbackResp `protobuf:"bytes,1,opt,name=CommonCallbackResp,proto3" json:"CommonCallbackResp,omitempty"` ReplaceContent string `protobuf:"bytes,2,opt,name=ReplaceContent,proto3" json:"ReplaceContent,omitempty"` // contains filtered or unexported fields }
func (*CallbackWordFilterResp) Descriptor
deprecated
func (*CallbackWordFilterResp) Descriptor() ([]byte, []int)
Deprecated: Use CallbackWordFilterResp.ProtoReflect.Descriptor instead.
func (*CallbackWordFilterResp) GetCommonCallbackResp ¶
func (x *CallbackWordFilterResp) GetCommonCallbackResp() *CommonCallbackResp
func (*CallbackWordFilterResp) GetReplaceContent ¶
func (x *CallbackWordFilterResp) GetReplaceContent() string
func (*CallbackWordFilterResp) ProtoMessage ¶
func (*CallbackWordFilterResp) ProtoMessage()
func (*CallbackWordFilterResp) ProtoReflect ¶
func (x *CallbackWordFilterResp) ProtoReflect() protoreflect.Message
func (*CallbackWordFilterResp) Reset ¶
func (x *CallbackWordFilterResp) Reset()
func (*CallbackWordFilterResp) String ¶
func (x *CallbackWordFilterResp) String() string
type CommonCallbackReq ¶
type CommonCallbackReq struct { SendID string `protobuf:"bytes,1,opt,name=SendID,proto3" json:"SendID,omitempty"` CallbackCommand CallbackCommand `protobuf:"varint,2,opt,name=CallbackCommand,proto3,enum=pb.CallbackCommand" json:"CallbackCommand,omitempty"` ServerMsgID string `protobuf:"bytes,3,opt,name=ServerMsgID,proto3" json:"ServerMsgID,omitempty"` ClientMsgID string `protobuf:"bytes,4,opt,name=ClientMsgID,proto3" json:"ClientMsgID,omitempty"` SenderPlatformID int32 `protobuf:"varint,6,opt,name=SenderPlatformID,proto3" json:"SenderPlatformID,omitempty"` SenderNickname string `protobuf:"bytes,7,opt,name=SenderNickname,proto3" json:"SenderNickname,omitempty"` SessionType int32 `protobuf:"varint,8,opt,name=SessionType,proto3" json:"SessionType,omitempty"` MsgFrom int32 `protobuf:"varint,9,opt,name=MsgFrom,proto3" json:"MsgFrom,omitempty"` ContentType int32 `protobuf:"varint,10,opt,name=ContentType,proto3" json:"ContentType,omitempty"` Status int32 `protobuf:"varint,11,opt,name=Status,proto3" json:"Status,omitempty"` CreateTime int64 `protobuf:"varint,12,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` Content string `protobuf:"bytes,13,opt,name=Content,proto3" json:"Content,omitempty"` // contains filtered or unexported fields }
func (*CommonCallbackReq) Descriptor
deprecated
func (*CommonCallbackReq) Descriptor() ([]byte, []int)
Deprecated: Use CommonCallbackReq.ProtoReflect.Descriptor instead.
func (*CommonCallbackReq) GetCallbackCommand ¶
func (x *CommonCallbackReq) GetCallbackCommand() CallbackCommand
func (*CommonCallbackReq) GetClientMsgID ¶
func (x *CommonCallbackReq) GetClientMsgID() string
func (*CommonCallbackReq) GetContent ¶
func (x *CommonCallbackReq) GetContent() string
func (*CommonCallbackReq) GetContentType ¶
func (x *CommonCallbackReq) GetContentType() int32
func (*CommonCallbackReq) GetCreateTime ¶
func (x *CommonCallbackReq) GetCreateTime() int64
func (*CommonCallbackReq) GetMsgFrom ¶
func (x *CommonCallbackReq) GetMsgFrom() int32
func (*CommonCallbackReq) GetSendID ¶
func (x *CommonCallbackReq) GetSendID() string
func (*CommonCallbackReq) GetSenderNickname ¶
func (x *CommonCallbackReq) GetSenderNickname() string
func (*CommonCallbackReq) GetSenderPlatformID ¶
func (x *CommonCallbackReq) GetSenderPlatformID() int32
func (*CommonCallbackReq) GetServerMsgID ¶
func (x *CommonCallbackReq) GetServerMsgID() string
func (*CommonCallbackReq) GetSessionType ¶
func (x *CommonCallbackReq) GetSessionType() int32
func (*CommonCallbackReq) GetStatus ¶
func (x *CommonCallbackReq) GetStatus() int32
func (*CommonCallbackReq) ProtoMessage ¶
func (*CommonCallbackReq) ProtoMessage()
func (*CommonCallbackReq) ProtoReflect ¶
func (x *CommonCallbackReq) ProtoReflect() protoreflect.Message
func (*CommonCallbackReq) Reset ¶
func (x *CommonCallbackReq) Reset()
func (*CommonCallbackReq) String ¶
func (x *CommonCallbackReq) String() string
type CommonCallbackResp ¶
type CommonCallbackResp struct { ActionCode ActionCode `protobuf:"varint,1,opt,name=ActionCode,proto3,enum=pb.ActionCode" json:"ActionCode,omitempty"` ErrCode ErrCode `protobuf:"varint,2,opt,name=ErrCode,proto3,enum=pb.ErrCode" json:"ErrCode,omitempty"` ErrMsg string `protobuf:"bytes,3,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` // contains filtered or unexported fields }
func (*CommonCallbackResp) Descriptor
deprecated
func (*CommonCallbackResp) Descriptor() ([]byte, []int)
Deprecated: Use CommonCallbackResp.ProtoReflect.Descriptor instead.
func (*CommonCallbackResp) GetActionCode ¶
func (x *CommonCallbackResp) GetActionCode() ActionCode
func (*CommonCallbackResp) GetErrCode ¶
func (x *CommonCallbackResp) GetErrCode() ErrCode
func (*CommonCallbackResp) GetErrMsg ¶
func (x *CommonCallbackResp) GetErrMsg() string
func (*CommonCallbackResp) ProtoMessage ¶
func (*CommonCallbackResp) ProtoMessage()
func (*CommonCallbackResp) ProtoReflect ¶
func (x *CommonCallbackResp) ProtoReflect() protoreflect.Message
func (*CommonCallbackResp) Reset ¶
func (x *CommonCallbackResp) Reset()
func (*CommonCallbackResp) String ¶
func (x *CommonCallbackResp) String() string
type ErrCode ¶
type ErrCode int32
func (ErrCode) Descriptor ¶
func (ErrCode) Descriptor() protoreflect.EnumDescriptor
func (ErrCode) EnumDescriptor
deprecated
func (ErrCode) Number ¶
func (x ErrCode) Number() protoreflect.EnumNumber
func (ErrCode) Type ¶
func (ErrCode) Type() protoreflect.EnumType
type MsgcallbackServiceClient ¶
type MsgcallbackServiceClient interface { CallbackBeforeSendGroupMsg(ctx context.Context, in *CallbackSendGroupMsgReq, opts ...grpc.CallOption) (*CommonCallbackResp, error) CallbackAfterSendGroupMsg(ctx context.Context, in *CallbackSendGroupMsgReq, opts ...grpc.CallOption) (*CommonCallbackResp, error) CallbackBeforeSendSuperGroupMsg(ctx context.Context, in *CallbackSendSuperGroupMsgReq, opts ...grpc.CallOption) (*CommonCallbackResp, error) CallbackAfterSendSuperGroupMsg(ctx context.Context, in *CallbackSendSuperGroupMsgReq, opts ...grpc.CallOption) (*CommonCallbackResp, error) CallbackBeforeSendSingleMsg(ctx context.Context, in *CallbackSendSingleMsgReq, opts ...grpc.CallOption) (*CommonCallbackResp, error) CallbackAfterSendSingleMsg(ctx context.Context, in *CallbackSendSingleMsgReq, opts ...grpc.CallOption) (*CommonCallbackResp, error) CallbackWordFilter(ctx context.Context, in *CallbackWordFilterReq, opts ...grpc.CallOption) (*CallbackWordFilterResp, error) CallbackAtAllInSuperGroup(ctx context.Context, in *CallbackAtAllInSuperGroupReq, opts ...grpc.CallOption) (*CallbackAtAllInSuperGroupResp, error) }
MsgcallbackServiceClient is the client API for MsgcallbackService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgcallbackServiceClient ¶
func NewMsgcallbackServiceClient(cc grpc.ClientConnInterface) MsgcallbackServiceClient
type MsgcallbackServiceServer ¶
type MsgcallbackServiceServer interface { CallbackBeforeSendGroupMsg(context.Context, *CallbackSendGroupMsgReq) (*CommonCallbackResp, error) CallbackAfterSendGroupMsg(context.Context, *CallbackSendGroupMsgReq) (*CommonCallbackResp, error) CallbackBeforeSendSuperGroupMsg(context.Context, *CallbackSendSuperGroupMsgReq) (*CommonCallbackResp, error) CallbackAfterSendSuperGroupMsg(context.Context, *CallbackSendSuperGroupMsgReq) (*CommonCallbackResp, error) CallbackBeforeSendSingleMsg(context.Context, *CallbackSendSingleMsgReq) (*CommonCallbackResp, error) CallbackAfterSendSingleMsg(context.Context, *CallbackSendSingleMsgReq) (*CommonCallbackResp, error) CallbackWordFilter(context.Context, *CallbackWordFilterReq) (*CallbackWordFilterResp, error) CallbackAtAllInSuperGroup(context.Context, *CallbackAtAllInSuperGroupReq) (*CallbackAtAllInSuperGroupResp, error) // contains filtered or unexported methods }
MsgcallbackServiceServer is the server API for MsgcallbackService service. All implementations must embed UnimplementedMsgcallbackServiceServer for forward compatibility
type UnimplementedMsgcallbackServiceServer ¶
type UnimplementedMsgcallbackServiceServer struct { }
UnimplementedMsgcallbackServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgcallbackServiceServer) CallbackAfterSendGroupMsg ¶
func (UnimplementedMsgcallbackServiceServer) CallbackAfterSendGroupMsg(context.Context, *CallbackSendGroupMsgReq) (*CommonCallbackResp, error)
func (UnimplementedMsgcallbackServiceServer) CallbackAfterSendSingleMsg ¶
func (UnimplementedMsgcallbackServiceServer) CallbackAfterSendSingleMsg(context.Context, *CallbackSendSingleMsgReq) (*CommonCallbackResp, error)
func (UnimplementedMsgcallbackServiceServer) CallbackAfterSendSuperGroupMsg ¶
func (UnimplementedMsgcallbackServiceServer) CallbackAfterSendSuperGroupMsg(context.Context, *CallbackSendSuperGroupMsgReq) (*CommonCallbackResp, error)
func (UnimplementedMsgcallbackServiceServer) CallbackAtAllInSuperGroup ¶
func (UnimplementedMsgcallbackServiceServer) CallbackAtAllInSuperGroup(context.Context, *CallbackAtAllInSuperGroupReq) (*CallbackAtAllInSuperGroupResp, error)
func (UnimplementedMsgcallbackServiceServer) CallbackBeforeSendGroupMsg ¶
func (UnimplementedMsgcallbackServiceServer) CallbackBeforeSendGroupMsg(context.Context, *CallbackSendGroupMsgReq) (*CommonCallbackResp, error)
func (UnimplementedMsgcallbackServiceServer) CallbackBeforeSendSingleMsg ¶
func (UnimplementedMsgcallbackServiceServer) CallbackBeforeSendSingleMsg(context.Context, *CallbackSendSingleMsgReq) (*CommonCallbackResp, error)
func (UnimplementedMsgcallbackServiceServer) CallbackBeforeSendSuperGroupMsg ¶
func (UnimplementedMsgcallbackServiceServer) CallbackBeforeSendSuperGroupMsg(context.Context, *CallbackSendSuperGroupMsgReq) (*CommonCallbackResp, error)
func (UnimplementedMsgcallbackServiceServer) CallbackWordFilter ¶
func (UnimplementedMsgcallbackServiceServer) CallbackWordFilter(context.Context, *CallbackWordFilterReq) (*CallbackWordFilterResp, error)
type UnsafeMsgcallbackServiceServer ¶
type UnsafeMsgcallbackServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMsgcallbackServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgcallbackServiceServer will result in compilation errors.