v2

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 17 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_common_model_group_v2_group_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BaseGroupInfo

type BaseGroupInfo struct {
	GroupID       string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
	FaceURL       string `protobuf:"bytes,2,opt,name=faceURL,proto3" json:"faceURL,omitempty"`
	NickName      string `protobuf:"bytes,3,opt,name=nickName,proto3" json:"nickName,omitempty"`
	MemberCount   int64  `protobuf:"varint,4,opt,name=memberCount,proto3" json:"memberCount,omitempty"`
	GroupType     int64  `protobuf:"varint,5,opt,name=groupType,proto3" json:"groupType,omitempty"` //群类型
	Status        int32  `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`       //群状态
	UpdateAt      int64  `protobuf:"varint,7,opt,name=updateAt,proto3" json:"updateAt,omitempty"`   //更新时间
	Code          string `protobuf:"bytes,8,opt,name=code,proto3" json:"code,omitempty"`
	OwnerUserID   string `protobuf:"bytes,9,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
	CreatorUserID string `protobuf:"bytes,10,opt,name=creatorUserID,proto3" json:"creatorUserID,omitempty"`
	// contains filtered or unexported fields
}

群的基础信息

func (*BaseGroupInfo) Descriptor deprecated

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

Deprecated: Use BaseGroupInfo.ProtoReflect.Descriptor instead.

func (*BaseGroupInfo) GetCode

func (x *BaseGroupInfo) GetCode() string

func (*BaseGroupInfo) GetCreatorUserID

func (x *BaseGroupInfo) GetCreatorUserID() string

func (*BaseGroupInfo) GetFaceURL

func (x *BaseGroupInfo) GetFaceURL() string

func (*BaseGroupInfo) GetGroupID

func (x *BaseGroupInfo) GetGroupID() string

func (*BaseGroupInfo) GetGroupType

func (x *BaseGroupInfo) GetGroupType() int64

func (*BaseGroupInfo) GetMemberCount

func (x *BaseGroupInfo) GetMemberCount() int64

func (*BaseGroupInfo) GetNickName

func (x *BaseGroupInfo) GetNickName() string

func (*BaseGroupInfo) GetOwnerUserID

func (x *BaseGroupInfo) GetOwnerUserID() string

func (*BaseGroupInfo) GetStatus

func (x *BaseGroupInfo) GetStatus() int32

func (*BaseGroupInfo) GetUpdateAt

func (x *BaseGroupInfo) GetUpdateAt() int64

func (*BaseGroupInfo) ProtoMessage

func (*BaseGroupInfo) ProtoMessage()

func (*BaseGroupInfo) ProtoReflect

func (x *BaseGroupInfo) ProtoReflect() protoreflect.Message

func (*BaseGroupInfo) Reset

func (x *BaseGroupInfo) Reset()

func (*BaseGroupInfo) String

func (x *BaseGroupInfo) String() string

func (*BaseGroupInfo) Validate

func (m *BaseGroupInfo) Validate() error

Validate checks the field values on BaseGroupInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*BaseGroupInfo) ValidateAll

func (m *BaseGroupInfo) ValidateAll() error

ValidateAll checks the field values on BaseGroupInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BaseGroupInfoMultiError, or nil if none found.

type BaseGroupInfoMultiError

type BaseGroupInfoMultiError []error

BaseGroupInfoMultiError is an error wrapping multiple validation errors returned by BaseGroupInfo.ValidateAll() if the designated constraints aren't met.

func (BaseGroupInfoMultiError) AllErrors

func (m BaseGroupInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BaseGroupInfoMultiError) Error

func (m BaseGroupInfoMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type BaseGroupInfoValidationError

type BaseGroupInfoValidationError struct {
	// contains filtered or unexported fields
}

BaseGroupInfoValidationError is the validation error returned by BaseGroupInfo.Validate if the designated constraints aren't met.

func (BaseGroupInfoValidationError) Cause

Cause function returns cause value.

func (BaseGroupInfoValidationError) Error

Error satisfies the builtin error interface

func (BaseGroupInfoValidationError) ErrorName

func (e BaseGroupInfoValidationError) ErrorName() string

ErrorName returns error name.

func (BaseGroupInfoValidationError) Field

Field function returns field value.

func (BaseGroupInfoValidationError) Key

Key function returns key value.

func (BaseGroupInfoValidationError) Reason

Reason function returns reason value.

type GetByGroupListSdk

type GetByGroupListSdk struct {
	GroupID    string                `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
	Pagination *v2.RequestPagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

根据群id获取列表 兼容老版本

func (*GetByGroupListSdk) Descriptor deprecated

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

Deprecated: Use GetByGroupListSdk.ProtoReflect.Descriptor instead.

func (*GetByGroupListSdk) GetGroupID

func (x *GetByGroupListSdk) GetGroupID() string

func (*GetByGroupListSdk) GetPagination

func (x *GetByGroupListSdk) GetPagination() *v2.RequestPagination

func (*GetByGroupListSdk) ProtoMessage

func (*GetByGroupListSdk) ProtoMessage()

func (*GetByGroupListSdk) ProtoReflect

func (x *GetByGroupListSdk) ProtoReflect() protoreflect.Message

func (*GetByGroupListSdk) Reset

func (x *GetByGroupListSdk) Reset()

func (*GetByGroupListSdk) String

func (x *GetByGroupListSdk) String() string

func (*GetByGroupListSdk) Validate

func (m *GetByGroupListSdk) Validate() error

Validate checks the field values on GetByGroupListSdk with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetByGroupListSdk) ValidateAll

func (m *GetByGroupListSdk) ValidateAll() error

ValidateAll checks the field values on GetByGroupListSdk with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetByGroupListSdkMultiError, or nil if none found.

type GetByGroupListSdkMultiError

type GetByGroupListSdkMultiError []error

GetByGroupListSdkMultiError is an error wrapping multiple validation errors returned by GetByGroupListSdk.ValidateAll() if the designated constraints aren't met.

func (GetByGroupListSdkMultiError) AllErrors

func (m GetByGroupListSdkMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetByGroupListSdkMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetByGroupListSdkValidationError

type GetByGroupListSdkValidationError struct {
	// contains filtered or unexported fields
}

GetByGroupListSdkValidationError is the validation error returned by GetByGroupListSdk.Validate if the designated constraints aren't met.

func (GetByGroupListSdkValidationError) Cause

Cause function returns cause value.

func (GetByGroupListSdkValidationError) Error

Error satisfies the builtin error interface

func (GetByGroupListSdkValidationError) ErrorName

ErrorName returns error name.

func (GetByGroupListSdkValidationError) Field

Field function returns field value.

func (GetByGroupListSdkValidationError) Key

Key function returns key value.

func (GetByGroupListSdkValidationError) Reason

Reason function returns reason value.

type GroupAbstractInfo

type GroupAbstractInfo struct {
	GroupID             string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
	GroupMemberNumber   uint32 `protobuf:"varint,2,opt,name=groupMemberNumber,proto3" json:"groupMemberNumber,omitempty"`
	GroupMemberListHash uint64 `protobuf:"varint,3,opt,name=groupMemberListHash,proto3" json:"groupMemberListHash,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupAbstractInfo) Descriptor deprecated

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

Deprecated: Use GroupAbstractInfo.ProtoReflect.Descriptor instead.

func (*GroupAbstractInfo) GetGroupID

func (x *GroupAbstractInfo) GetGroupID() string

func (*GroupAbstractInfo) GetGroupMemberListHash

func (x *GroupAbstractInfo) GetGroupMemberListHash() uint64

func (*GroupAbstractInfo) GetGroupMemberNumber

func (x *GroupAbstractInfo) GetGroupMemberNumber() uint32

func (*GroupAbstractInfo) ProtoMessage

func (*GroupAbstractInfo) ProtoMessage()

func (*GroupAbstractInfo) ProtoReflect

func (x *GroupAbstractInfo) ProtoReflect() protoreflect.Message

func (*GroupAbstractInfo) Reset

func (x *GroupAbstractInfo) Reset()

func (*GroupAbstractInfo) String

func (x *GroupAbstractInfo) String() string

func (*GroupAbstractInfo) Validate

func (m *GroupAbstractInfo) Validate() error

Validate checks the field values on GroupAbstractInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GroupAbstractInfo) ValidateAll

func (m *GroupAbstractInfo) ValidateAll() error

ValidateAll checks the field values on GroupAbstractInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GroupAbstractInfoMultiError, or nil if none found.

type GroupAbstractInfoMultiError

type GroupAbstractInfoMultiError []error

GroupAbstractInfoMultiError is an error wrapping multiple validation errors returned by GroupAbstractInfo.ValidateAll() if the designated constraints aren't met.

func (GroupAbstractInfoMultiError) AllErrors

func (m GroupAbstractInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GroupAbstractInfoMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GroupAbstractInfoValidationError

type GroupAbstractInfoValidationError struct {
	// contains filtered or unexported fields
}

GroupAbstractInfoValidationError is the validation error returned by GroupAbstractInfo.Validate if the designated constraints aren't met.

func (GroupAbstractInfoValidationError) Cause

Cause function returns cause value.

func (GroupAbstractInfoValidationError) Error

Error satisfies the builtin error interface

func (GroupAbstractInfoValidationError) ErrorName

ErrorName returns error name.

func (GroupAbstractInfoValidationError) Field

Field function returns field value.

func (GroupAbstractInfoValidationError) Key

Key function returns key value.

func (GroupAbstractInfoValidationError) Reason

Reason function returns reason value.

type GroupInfo

type GroupInfo struct {
	GroupID                string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`                                 //群Id
	GroupName              string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName,omitempty"`                             //群昵称
	Notification           string `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification,omitempty"`                       //群公告
	Introduction           string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"`                       //群简介
	FaceURL                string `protobuf:"bytes,5,opt,name=faceURL,proto3" json:"faceURL,omitempty"`                                 //群头像
	OwnerUserID            string `protobuf:"bytes,6,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`                         //群主id
	CreateTime             int64  `protobuf:"varint,7,opt,name=createTime,proto3" json:"createTime,omitempty"`                          //创建时间
	MemberCount            int64  `protobuf:"varint,8,opt,name=memberCount,proto3" json:"memberCount,omitempty"`                        //群用户数
	Ex                     string `protobuf:"bytes,9,opt,name=ex,proto3" json:"ex,omitempty"`                                           //扩展
	Status                 int32  `protobuf:"varint,10,opt,name=status,proto3" json:"status,omitempty"`                                 //群状态
	CreatorUserID          string `protobuf:"bytes,11,opt,name=creatorUserID,proto3" json:"creatorUserID,omitempty"`                    //创建者
	GroupType              int32  `protobuf:"varint,12,opt,name=groupType,proto3" json:"groupType,omitempty"`                           //群类型
	NeedVerification       int32  `protobuf:"varint,13,opt,name=needVerification,proto3" json:"needVerification,omitempty"`             //加群是否需要验证:0需要,1不需要
	LookMemberInfo         int32  `protobuf:"varint,14,opt,name=lookMemberInfo,proto3" json:"lookMemberInfo,omitempty"`                 //支持成员信息查看:0支持,1不支持
	ApplyMemberFriend      int32  `protobuf:"varint,15,opt,name=applyMemberFriend,proto3" json:"applyMemberFriend,omitempty"`           //是否可通过群加好友:0支持,1不支持
	NotificationUpdateTime int64  `protobuf:"varint,16,opt,name=notificationUpdateTime,proto3" json:"notificationUpdateTime,omitempty"` //群公告更新时间
	NotificationUserID     string `protobuf:"bytes,17,opt,name=notificationUserID,proto3" json:"notificationUserID,omitempty"`          //更新公告用户id
	Code                   string `protobuf:"bytes,18,opt,name=code,proto3" json:"code,omitempty"`                                      //群编码,对应前台的群id
	MaxMemberCount         int32  `protobuf:"varint,19,opt,name=maxMemberCount,proto3" json:"maxMemberCount,omitempty"`                 //群的最大用户数
	AttachedInfo           string `protobuf:"bytes,20,opt,name=attachedInfo,proto3" json:"attachedInfo,omitempty"`                      //附加信息
	OnlyManageUpdateName   int32  `protobuf:"varint,21,opt,name=onlyManageUpdateName,proto3" json:"onlyManageUpdateName,omitempty"`     //是否仅管理员或群主能够更新群名称
	IsReal                 int32  `protobuf:"varint,22,opt,name=isReal,proto3" json:"isReal,omitempty"`                                 //是否实名认证,默认否
	IsOpen                 int32  `protobuf:"varint,23,opt,name=isOpen,proto3" json:"isOpen,omitempty"`                                 //是否公开群组,1:开启;2:关闭
	AllowPrivateChat       int32  `protobuf:"varint,24,opt,name=allowPrivateChat,proto3" json:"allowPrivateChat,omitempty"`             //允许成员私聊,1:开启;2:关闭
	IsComplete             int32  `protobuf:"varint,25,opt,name=isComplete,proto3" json:"isComplete,omitempty"`                         //是否完成同步
	OwnerCode              string `protobuf:"bytes,26,opt,name=ownerCode,proto3" json:"ownerCode,omitempty"`                            //群主code
	OwnerNickname          string `protobuf:"bytes,27,opt,name=ownerNickname,proto3" json:"ownerNickname,omitempty"`                    //群主昵称
	CreateCode             string `protobuf:"bytes,28,opt,name=createCode,proto3" json:"createCode,omitempty"`                          //创建者code
	CreateNickname         string `protobuf:"bytes,29,opt,name=createNickname,proto3" json:"createNickname,omitempty"`                  //创建者昵称
	UpdateAt               int64  `protobuf:"varint,30,opt,name=updateAt,proto3" json:"updateAt,omitempty"`                             //更新时间
	// contains filtered or unexported fields
}

群信息存在

func (*GroupInfo) Descriptor deprecated

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

Deprecated: Use GroupInfo.ProtoReflect.Descriptor instead.

func (*GroupInfo) GetAllowPrivateChat

func (x *GroupInfo) GetAllowPrivateChat() int32

func (*GroupInfo) GetApplyMemberFriend

func (x *GroupInfo) GetApplyMemberFriend() int32

func (*GroupInfo) GetAttachedInfo

func (x *GroupInfo) GetAttachedInfo() string

func (*GroupInfo) GetCode

func (x *GroupInfo) GetCode() string

func (*GroupInfo) GetCreateCode

func (x *GroupInfo) GetCreateCode() string

func (*GroupInfo) GetCreateNickname

func (x *GroupInfo) GetCreateNickname() string

func (*GroupInfo) GetCreateTime

func (x *GroupInfo) GetCreateTime() int64

func (*GroupInfo) GetCreatorUserID

func (x *GroupInfo) GetCreatorUserID() string

func (*GroupInfo) GetEx

func (x *GroupInfo) GetEx() string

func (*GroupInfo) GetFaceURL

func (x *GroupInfo) GetFaceURL() string

func (*GroupInfo) GetGroupID

func (x *GroupInfo) GetGroupID() string

func (*GroupInfo) GetGroupName

func (x *GroupInfo) GetGroupName() string

func (*GroupInfo) GetGroupType

func (x *GroupInfo) GetGroupType() int32

func (*GroupInfo) GetIntroduction

func (x *GroupInfo) GetIntroduction() string

func (*GroupInfo) GetIsComplete

func (x *GroupInfo) GetIsComplete() int32

func (*GroupInfo) GetIsOpen

func (x *GroupInfo) GetIsOpen() int32

func (*GroupInfo) GetIsReal

func (x *GroupInfo) GetIsReal() int32

func (*GroupInfo) GetLookMemberInfo

func (x *GroupInfo) GetLookMemberInfo() int32

func (*GroupInfo) GetMaxMemberCount

func (x *GroupInfo) GetMaxMemberCount() int32

func (*GroupInfo) GetMemberCount

func (x *GroupInfo) GetMemberCount() int64

func (*GroupInfo) GetNeedVerification

func (x *GroupInfo) GetNeedVerification() int32

func (*GroupInfo) GetNotification

func (x *GroupInfo) GetNotification() string

func (*GroupInfo) GetNotificationUpdateTime

func (x *GroupInfo) GetNotificationUpdateTime() int64

func (*GroupInfo) GetNotificationUserID

func (x *GroupInfo) GetNotificationUserID() string

func (*GroupInfo) GetOnlyManageUpdateName

func (x *GroupInfo) GetOnlyManageUpdateName() int32

func (*GroupInfo) GetOwnerCode

func (x *GroupInfo) GetOwnerCode() string

func (*GroupInfo) GetOwnerNickname

func (x *GroupInfo) GetOwnerNickname() string

func (*GroupInfo) GetOwnerUserID

func (x *GroupInfo) GetOwnerUserID() string

func (*GroupInfo) GetStatus

func (x *GroupInfo) GetStatus() int32

func (*GroupInfo) GetUpdateAt

func (x *GroupInfo) GetUpdateAt() int64

func (*GroupInfo) ProtoMessage

func (*GroupInfo) ProtoMessage()

func (*GroupInfo) ProtoReflect

func (x *GroupInfo) ProtoReflect() protoreflect.Message

func (*GroupInfo) Reset

func (x *GroupInfo) Reset()

func (*GroupInfo) String

func (x *GroupInfo) String() string

func (*GroupInfo) Validate

func (m *GroupInfo) Validate() error

Validate checks the field values on GroupInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GroupInfo) ValidateAll

func (m *GroupInfo) ValidateAll() error

ValidateAll checks the field values on GroupInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GroupInfoMultiError, or nil if none found.

type GroupInfoMultiError

type GroupInfoMultiError []error

GroupInfoMultiError is an error wrapping multiple validation errors returned by GroupInfo.ValidateAll() if the designated constraints aren't met.

func (GroupInfoMultiError) AllErrors

func (m GroupInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GroupInfoMultiError) Error

func (m GroupInfoMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GroupInfoValidationError

type GroupInfoValidationError struct {
	// contains filtered or unexported fields
}

GroupInfoValidationError is the validation error returned by GroupInfo.Validate if the designated constraints aren't met.

func (GroupInfoValidationError) Cause

func (e GroupInfoValidationError) Cause() error

Cause function returns cause value.

func (GroupInfoValidationError) Error

func (e GroupInfoValidationError) Error() string

Error satisfies the builtin error interface

func (GroupInfoValidationError) ErrorName

func (e GroupInfoValidationError) ErrorName() string

ErrorName returns error name.

func (GroupInfoValidationError) Field

func (e GroupInfoValidationError) Field() string

Field function returns field value.

func (GroupInfoValidationError) Key

Key function returns key value.

func (GroupInfoValidationError) Reason

func (e GroupInfoValidationError) Reason() string

Reason function returns reason value.

type GroupRequestInfo

type GroupRequestInfo struct {
	GroupID       string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`              //群ID
	GroupName     string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName,omitempty"`          //群名称
	Notification  string `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification,omitempty"`    //通知
	Introduction  string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"`    // 简介
	GroupFaceURL  string `protobuf:"bytes,5,opt,name=groupFaceURL,proto3" json:"groupFaceURL,omitempty"`    //群头像
	CreateTime    int64  `protobuf:"varint,6,opt,name=createTime,proto3" json:"createTime,omitempty"`       //创建时间
	Status        int32  `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`               //状态
	CreatorUserID string `protobuf:"bytes,8,opt,name=creatorUserID,proto3" json:"creatorUserID,omitempty"`  //创建者
	GroupType     int32  `protobuf:"varint,9,opt,name=groupType,proto3" json:"groupType,omitempty"`         //群类型
	OwnerUserID   string `protobuf:"bytes,10,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`     //本人id
	MemberCount   int32  `protobuf:"varint,11,opt,name=memberCount,proto3" json:"memberCount,omitempty"`    //群人数
	GroupCode     string `protobuf:"bytes,12,opt,name=groupCode,proto3" json:"groupCode,omitempty"`         //群code码
	UserID        string `protobuf:"bytes,13,opt,name=userID,proto3" json:"userID,omitempty"`               //用户id
	Nickname      string `protobuf:"bytes,14,opt,name=nickname,proto3" json:"nickname,omitempty"`           //昵称
	UserFaceURL   string `protobuf:"bytes,15,opt,name=userFaceURL,proto3" json:"userFaceURL,omitempty"`     //用户头像
	Gender        int32  `protobuf:"varint,16,opt,name=gender,proto3" json:"gender,omitempty"`              //性别
	Code          string `protobuf:"bytes,17,opt,name=code,proto3" json:"code,omitempty"`                   //邀请码
	HandleResult  int32  `protobuf:"varint,18,opt,name=handleResult,proto3" json:"handleResult,omitempty"`  //处理方法
	ReqMsg        string `protobuf:"bytes,19,opt,name=reqMsg,proto3" json:"reqMsg,omitempty"`               //请求消息
	HandledMsg    string `protobuf:"bytes,20,opt,name=handledMsg,proto3" json:"handledMsg,omitempty"`       //处理消息
	ReqTime       int64  `protobuf:"varint,21,opt,name=reqTime,proto3" json:"reqTime,omitempty"`            //请求时间
	HandleUserID  string `protobuf:"bytes,22,opt,name=handleUserID,proto3" json:"handleUserID,omitempty"`   //处理人
	HandledTime   int64  `protobuf:"varint,23,opt,name=handledTime,proto3" json:"handledTime,omitempty"`    //处理时间
	Ex            string `protobuf:"bytes,24,opt,name=ex,proto3" json:"ex,omitempty"`                       //扩展
	AttachedInfo  string `protobuf:"bytes,25,opt,name=attachedInfo,proto3" json:"attachedInfo,omitempty"`   //附加信息
	JoinSource    int32  `protobuf:"varint,26,opt,name=joinSource,proto3" json:"joinSource,omitempty"`      //加入来源
	InviterUserID string `protobuf:"bytes,27,opt,name=inviterUserID,proto3" json:"inviterUserID,omitempty"` //邀请人
	// contains filtered or unexported fields
}

func (*GroupRequestInfo) Descriptor deprecated

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

Deprecated: Use GroupRequestInfo.ProtoReflect.Descriptor instead.

func (*GroupRequestInfo) GetAttachedInfo

func (x *GroupRequestInfo) GetAttachedInfo() string

func (*GroupRequestInfo) GetCode

func (x *GroupRequestInfo) GetCode() string

func (*GroupRequestInfo) GetCreateTime

func (x *GroupRequestInfo) GetCreateTime() int64

func (*GroupRequestInfo) GetCreatorUserID

func (x *GroupRequestInfo) GetCreatorUserID() string

func (*GroupRequestInfo) GetEx

func (x *GroupRequestInfo) GetEx() string

func (*GroupRequestInfo) GetGender

func (x *GroupRequestInfo) GetGender() int32

func (*GroupRequestInfo) GetGroupCode

func (x *GroupRequestInfo) GetGroupCode() string

func (*GroupRequestInfo) GetGroupFaceURL

func (x *GroupRequestInfo) GetGroupFaceURL() string

func (*GroupRequestInfo) GetGroupID

func (x *GroupRequestInfo) GetGroupID() string

func (*GroupRequestInfo) GetGroupName

func (x *GroupRequestInfo) GetGroupName() string

func (*GroupRequestInfo) GetGroupType

func (x *GroupRequestInfo) GetGroupType() int32

func (*GroupRequestInfo) GetHandleResult

func (x *GroupRequestInfo) GetHandleResult() int32

func (*GroupRequestInfo) GetHandleUserID

func (x *GroupRequestInfo) GetHandleUserID() string

func (*GroupRequestInfo) GetHandledMsg

func (x *GroupRequestInfo) GetHandledMsg() string

func (*GroupRequestInfo) GetHandledTime

func (x *GroupRequestInfo) GetHandledTime() int64

func (*GroupRequestInfo) GetIntroduction

func (x *GroupRequestInfo) GetIntroduction() string

func (*GroupRequestInfo) GetInviterUserID

func (x *GroupRequestInfo) GetInviterUserID() string

func (*GroupRequestInfo) GetJoinSource

func (x *GroupRequestInfo) GetJoinSource() int32

func (*GroupRequestInfo) GetMemberCount

func (x *GroupRequestInfo) GetMemberCount() int32

func (*GroupRequestInfo) GetNickname

func (x *GroupRequestInfo) GetNickname() string

func (*GroupRequestInfo) GetNotification

func (x *GroupRequestInfo) GetNotification() string

func (*GroupRequestInfo) GetOwnerUserID

func (x *GroupRequestInfo) GetOwnerUserID() string

func (*GroupRequestInfo) GetReqMsg

func (x *GroupRequestInfo) GetReqMsg() string

func (*GroupRequestInfo) GetReqTime

func (x *GroupRequestInfo) GetReqTime() int64

func (*GroupRequestInfo) GetStatus

func (x *GroupRequestInfo) GetStatus() int32

func (*GroupRequestInfo) GetUserFaceURL

func (x *GroupRequestInfo) GetUserFaceURL() string

func (*GroupRequestInfo) GetUserID

func (x *GroupRequestInfo) GetUserID() string

func (*GroupRequestInfo) ProtoMessage

func (*GroupRequestInfo) ProtoMessage()

func (*GroupRequestInfo) ProtoReflect

func (x *GroupRequestInfo) ProtoReflect() protoreflect.Message

func (*GroupRequestInfo) Reset

func (x *GroupRequestInfo) Reset()

func (*GroupRequestInfo) String

func (x *GroupRequestInfo) String() string

func (*GroupRequestInfo) Validate

func (m *GroupRequestInfo) Validate() error

Validate checks the field values on GroupRequestInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GroupRequestInfo) ValidateAll

func (m *GroupRequestInfo) ValidateAll() error

ValidateAll checks the field values on GroupRequestInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GroupRequestInfoMultiError, or nil if none found.

type GroupRequestInfoMultiError

type GroupRequestInfoMultiError []error

GroupRequestInfoMultiError is an error wrapping multiple validation errors returned by GroupRequestInfo.ValidateAll() if the designated constraints aren't met.

func (GroupRequestInfoMultiError) AllErrors

func (m GroupRequestInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GroupRequestInfoMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GroupRequestInfoValidationError

type GroupRequestInfoValidationError struct {
	// contains filtered or unexported fields
}

GroupRequestInfoValidationError is the validation error returned by GroupRequestInfo.Validate if the designated constraints aren't met.

func (GroupRequestInfoValidationError) Cause

Cause function returns cause value.

func (GroupRequestInfoValidationError) Error

Error satisfies the builtin error interface

func (GroupRequestInfoValidationError) ErrorName

ErrorName returns error name.

func (GroupRequestInfoValidationError) Field

Field function returns field value.

func (GroupRequestInfoValidationError) Key

Key function returns key value.

func (GroupRequestInfoValidationError) Reason

Reason function returns reason value.

type MemberInfo

type MemberInfo struct {
	GroupID        string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`               //群ID
	UserID         string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`                 //用户ID
	RoleLevel      int32  `protobuf:"varint,3,opt,name=roleLevel,proto3" json:"roleLevel,omitempty"`          //用户等级
	JoinTime       int64  `protobuf:"varint,4,opt,name=joinTime,proto3" json:"joinTime,omitempty"`            //加群时间
	Nickname       string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"`             //用户昵称
	FaceUrl        string `protobuf:"bytes,6,opt,name=faceUrl,proto3" json:"faceUrl,omitempty"`               //头像
	AttachedInfo   string `protobuf:"bytes,7,opt,name=attachedInfo,proto3" json:"attachedInfo,omitempty"`     //附加信息
	JoinSource     int32  `protobuf:"varint,8,opt,name=joinSource,proto3" json:"joinSource,omitempty"`        //来源
	OperatorUserID string `protobuf:"bytes,9,opt,name=operatorUserID,proto3" json:"operatorUserID,omitempty"` //操作人id
	Ex             string `protobuf:"bytes,10,opt,name=ex,proto3" json:"ex,omitempty"`                        //扩展
	MuteEndTime    int64  `protobuf:"varint,11,opt,name=muteEndTime,proto3" json:"muteEndTime,omitempty"`     //禁言时间
	Message        string `protobuf:"bytes,12,opt,name=message,proto3" json:"message,omitempty"`              //签名
	Code           string `protobuf:"bytes,13,opt,name=code,proto3" json:"code,omitempty"`                    //邀请码
	Phone          string `protobuf:"bytes,14,opt,name=phone,proto3" json:"phone,omitempty"`                  //手机号
	Email          string `protobuf:"bytes,15,opt,name=email,proto3" json:"email,omitempty"`                  //邮箱
	Birth          int64  `protobuf:"varint,16,opt,name=birth,proto3" json:"birth,omitempty"`                 //生日
	Gender         int32  `protobuf:"varint,17,opt,name=gender,proto3" json:"gender,omitempty"`               //性别
	InviterUserID  string `protobuf:"bytes,18,opt,name=inviterUserID,proto3" json:"inviterUserID,omitempty"`  //邀请人
	GroupUserName  string `protobuf:"bytes,19,opt,name=groupUserName,proto3" json:"groupUserName,omitempty"`  //用户在群中的昵称
	BackgroundUrl  string `protobuf:"bytes,20,opt,name=backgroundUrl,proto3" json:"backgroundUrl,omitempty"`  //背景图片
	UpdateAt       int64  `protobuf:"varint,21,opt,name=updateAt,proto3" json:"updateAt,omitempty"`           //更新时间
	// contains filtered or unexported fields
}

群成员信息

func (*MemberInfo) Descriptor deprecated

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

Deprecated: Use MemberInfo.ProtoReflect.Descriptor instead.

func (*MemberInfo) GetAttachedInfo

func (x *MemberInfo) GetAttachedInfo() string

func (*MemberInfo) GetBackgroundUrl

func (x *MemberInfo) GetBackgroundUrl() string

func (*MemberInfo) GetBirth

func (x *MemberInfo) GetBirth() int64

func (*MemberInfo) GetCode

func (x *MemberInfo) GetCode() string

func (*MemberInfo) GetEmail

func (x *MemberInfo) GetEmail() string

func (*MemberInfo) GetEx

func (x *MemberInfo) GetEx() string

func (*MemberInfo) GetFaceUrl

func (x *MemberInfo) GetFaceUrl() string

func (*MemberInfo) GetGender

func (x *MemberInfo) GetGender() int32

func (*MemberInfo) GetGroupID

func (x *MemberInfo) GetGroupID() string

func (*MemberInfo) GetGroupUserName

func (x *MemberInfo) GetGroupUserName() string

func (*MemberInfo) GetInviterUserID

func (x *MemberInfo) GetInviterUserID() string

func (*MemberInfo) GetJoinSource

func (x *MemberInfo) GetJoinSource() int32

func (*MemberInfo) GetJoinTime

func (x *MemberInfo) GetJoinTime() int64

func (*MemberInfo) GetMessage

func (x *MemberInfo) GetMessage() string

func (*MemberInfo) GetMuteEndTime

func (x *MemberInfo) GetMuteEndTime() int64

func (*MemberInfo) GetNickname

func (x *MemberInfo) GetNickname() string

func (*MemberInfo) GetOperatorUserID

func (x *MemberInfo) GetOperatorUserID() string

func (*MemberInfo) GetPhone

func (x *MemberInfo) GetPhone() string

func (*MemberInfo) GetRoleLevel

func (x *MemberInfo) GetRoleLevel() int32

func (*MemberInfo) GetUpdateAt

func (x *MemberInfo) GetUpdateAt() int64

func (*MemberInfo) GetUserID

func (x *MemberInfo) GetUserID() string

func (*MemberInfo) ProtoMessage

func (*MemberInfo) ProtoMessage()

func (*MemberInfo) ProtoReflect

func (x *MemberInfo) ProtoReflect() protoreflect.Message

func (*MemberInfo) Reset

func (x *MemberInfo) Reset()

func (*MemberInfo) String

func (x *MemberInfo) String() string

func (*MemberInfo) Validate

func (m *MemberInfo) Validate() error

Validate checks the field values on MemberInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MemberInfo) ValidateAll

func (m *MemberInfo) ValidateAll() error

ValidateAll checks the field values on MemberInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MemberInfoMultiError, or nil if none found.

type MemberInfoMultiError

type MemberInfoMultiError []error

MemberInfoMultiError is an error wrapping multiple validation errors returned by MemberInfo.ValidateAll() if the designated constraints aren't met.

func (MemberInfoMultiError) AllErrors

func (m MemberInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MemberInfoMultiError) Error

func (m MemberInfoMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MemberInfoValidationError

type MemberInfoValidationError struct {
	// contains filtered or unexported fields
}

MemberInfoValidationError is the validation error returned by MemberInfo.Validate if the designated constraints aren't met.

func (MemberInfoValidationError) Cause

func (e MemberInfoValidationError) Cause() error

Cause function returns cause value.

func (MemberInfoValidationError) Error

Error satisfies the builtin error interface

func (MemberInfoValidationError) ErrorName

func (e MemberInfoValidationError) ErrorName() string

ErrorName returns error name.

func (MemberInfoValidationError) Field

Field function returns field value.

func (MemberInfoValidationError) Key

Key function returns key value.

func (MemberInfoValidationError) Reason

func (e MemberInfoValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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