model

package
v0.0.0-...-5349944 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: MIT Imports: 9 Imported by: 17

Documentation

Index

Constants

View Source
const (
	CQTypeText      = "text"
	CQTypeFace      = "face"
	CQTypeRecord    = "record"
	CQTypeVideo     = "video"
	CQTypeAt        = "at"
	CQTypeRps       = "rps"
	CQTypeDice      = "dice"
	CQTypeShake     = "shake"
	CQTypeAnonymous = "anonymous"
	CQTypeShare     = "share"
	CQTypeContact   = "contact"
	CQTypeLocation  = "location"
	CQTypeMusic     = "music"
	CQTypeImage     = "image"
	CQTypeReply     = "reply"
	CQTypeRedbag    = "redbag"
	CQTypePoke      = "poke"
	CQTypeGift      = "gift"
	CQTypeForward   = "forward"
	CQTypeNode      = "node"
	CQTypeXml       = "xml"
	CQTypeJson      = "json"
	CQTypeCardImage = "cardimage"
	CQTypeTts       = "tts"
)
View Source
const (
	CQPrefix = "[CQ:"
	CQSuffix = "]"

	CQEleSplit = ","
	CQKVSplit  = "="
)

Variables

View Source
var File_account_proto protoreflect.FileDescriptor
View Source
var File_cqhttp_proto protoreflect.FileDescriptor
View Source
var File_event_proto protoreflect.FileDescriptor
View Source
var File_friend_proto protoreflect.FileDescriptor
View Source
var File_group_proto protoreflect.FileDescriptor
View Source
var File_image_proto protoreflect.FileDescriptor
View Source
var File_message_element_anonymous_proto protoreflect.FileDescriptor
View Source
var File_message_element_at_proto protoreflect.FileDescriptor
View Source
var File_message_element_cardimage_proto protoreflect.FileDescriptor
View Source
var File_message_element_contact_proto protoreflect.FileDescriptor
View Source
var File_message_element_dice_proto protoreflect.FileDescriptor
View Source
var File_message_element_face_proto protoreflect.FileDescriptor
View Source
var File_message_element_forward_proto protoreflect.FileDescriptor
View Source
var File_message_element_gift_proto protoreflect.FileDescriptor
View Source
var File_message_element_image_proto protoreflect.FileDescriptor
View Source
var File_message_element_json_proto protoreflect.FileDescriptor
View Source
var File_message_element_location_proto protoreflect.FileDescriptor
View Source
var File_message_element_music_proto protoreflect.FileDescriptor
View Source
var File_message_element_node_proto protoreflect.FileDescriptor
View Source
var File_message_element_poke_proto protoreflect.FileDescriptor
View Source
var File_message_element_proto protoreflect.FileDescriptor
View Source
var File_message_element_record_proto protoreflect.FileDescriptor
View Source
var File_message_element_redbag_proto protoreflect.FileDescriptor
View Source
var File_message_element_reply_proto protoreflect.FileDescriptor
View Source
var File_message_element_rps_proto protoreflect.FileDescriptor
View Source
var File_message_element_shake_proto protoreflect.FileDescriptor
View Source
var File_message_element_share_proto protoreflect.FileDescriptor
View Source
var File_message_element_text_proto protoreflect.FileDescriptor
View Source
var File_message_element_tts_proto protoreflect.FileDescriptor
View Source
var File_message_element_video_proto protoreflect.FileDescriptor
View Source
var File_message_element_xml_proto protoreflect.FileDescriptor
View Source
var File_message_proto protoreflect.FileDescriptor
View Source
var File_model_event_message_proto protoreflect.FileDescriptor
View Source
var File_model_event_meta_proto protoreflect.FileDescriptor
View Source
var File_model_event_notice_proto protoreflect.FileDescriptor
View Source
var File_model_event_request_proto protoreflect.FileDescriptor
View Source
var File_record_proto protoreflect.FileDescriptor
View Source
var File_sender_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Account

type Account struct {
	// QQ 号
	UserId int64 `json:"user_id"`
	// 昵称
	Nickname string `json:"nickname"`
}

func (*Account) ToGRPC

func (a *Account) ToGRPC() *AccountGRPC

type AccountGRPC

type AccountGRPC struct {
	UserId   int64  `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountGRPC) Descriptor deprecated

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

Deprecated: Use AccountGRPC.ProtoReflect.Descriptor instead.

func (*AccountGRPC) GetNickname

func (x *AccountGRPC) GetNickname() string

func (*AccountGRPC) GetUserId

func (x *AccountGRPC) GetUserId() int64

func (*AccountGRPC) ProtoMessage

func (*AccountGRPC) ProtoMessage()

func (*AccountGRPC) ProtoReflect

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

func (*AccountGRPC) Reset

func (x *AccountGRPC) Reset()

func (*AccountGRPC) String

func (x *AccountGRPC) String() string

func (*AccountGRPC) ToStruct

func (a *AccountGRPC) ToStruct() *Account

type AccountResult

type AccountResult struct {
	Data    *Account `json:"data"`
	Retcode int64    `json:"retcode"`
	Status  string   `json:"status"`
	Msg     string   `json:"msg"`
	Wording string   `json:"wording"`
}

func (*AccountResult) ToGRPC

func (a *AccountResult) ToGRPC() *AccountResultGRPC

type AccountResultGRPC

type AccountResultGRPC struct {
	Data    *AccountGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64        `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string       `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string       `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string       `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountResultGRPC) Descriptor deprecated

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

Deprecated: Use AccountResultGRPC.ProtoReflect.Descriptor instead.

func (*AccountResultGRPC) GetData

func (x *AccountResultGRPC) GetData() *AccountGRPC

func (*AccountResultGRPC) GetMsg

func (x *AccountResultGRPC) GetMsg() string

func (*AccountResultGRPC) GetRetcode

func (x *AccountResultGRPC) GetRetcode() int64

func (*AccountResultGRPC) GetStatus

func (x *AccountResultGRPC) GetStatus() string

func (*AccountResultGRPC) GetWording

func (x *AccountResultGRPC) GetWording() string

func (*AccountResultGRPC) ProtoMessage

func (*AccountResultGRPC) ProtoMessage()

func (*AccountResultGRPC) ProtoReflect

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

func (*AccountResultGRPC) Reset

func (x *AccountResultGRPC) Reset()

func (*AccountResultGRPC) String

func (x *AccountResultGRPC) String() string

func (*AccountResultGRPC) ToStruct

func (a *AccountResultGRPC) ToStruct() *AccountResult

type Anonymous

type Anonymous struct {
	// id	int64	匿名用户 ID
	Id int64 `json:"id"`
	// name	string	匿名用户名称
	Name string `json:"name"`
	// flag	string	匿名用户 flag, 在调用禁言 API 时需要传入
	Flag string `json:"flag"`
}

func (*Anonymous) ToGRPC

func (a *Anonymous) ToGRPC() *AnonymousGRPC

type AnonymousGRPC

type AnonymousGRPC struct {
	Id   int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Flag string `protobuf:"bytes,3,opt,name=flag,proto3" json:"flag,omitempty"`
	// contains filtered or unexported fields
}

func (*AnonymousGRPC) Descriptor deprecated

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

Deprecated: Use AnonymousGRPC.ProtoReflect.Descriptor instead.

func (*AnonymousGRPC) GetFlag

func (x *AnonymousGRPC) GetFlag() string

func (*AnonymousGRPC) GetId

func (x *AnonymousGRPC) GetId() int64

func (*AnonymousGRPC) GetName

func (x *AnonymousGRPC) GetName() string

func (*AnonymousGRPC) ProtoMessage

func (*AnonymousGRPC) ProtoMessage()

func (*AnonymousGRPC) ProtoReflect

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

func (*AnonymousGRPC) Reset

func (x *AnonymousGRPC) Reset()

func (*AnonymousGRPC) String

func (x *AnonymousGRPC) String() string

func (*AnonymousGRPC) ToStruct

func (a *AnonymousGRPC) ToStruct() *Anonymous

type BoolYes

type BoolYes struct {
	Yes bool `json:"yes"`
}

func (*BoolYes) ToGRPC

func (a *BoolYes) ToGRPC() *BoolYesGRPC

type BoolYesGRPC

type BoolYesGRPC struct {
	Yes bool `protobuf:"varint,1,opt,name=yes,proto3" json:"yes,omitempty"`
	// contains filtered or unexported fields
}

func (*BoolYesGRPC) Descriptor deprecated

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

Deprecated: Use BoolYesGRPC.ProtoReflect.Descriptor instead.

func (*BoolYesGRPC) GetYes

func (x *BoolYesGRPC) GetYes() bool

func (*BoolYesGRPC) ProtoMessage

func (*BoolYesGRPC) ProtoMessage()

func (*BoolYesGRPC) ProtoReflect

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

func (*BoolYesGRPC) Reset

func (x *BoolYesGRPC) Reset()

func (*BoolYesGRPC) String

func (x *BoolYesGRPC) String() string

func (*BoolYesGRPC) ToStruct

func (a *BoolYesGRPC) ToStruct() *BoolYes

type BoolYesOfResult

type BoolYesOfResult struct {
	Data    *BoolYes `json:"data"`
	Retcode int64    `json:"retcode"`
	Status  string   `json:"status"`
	Msg     string   `json:"msg"`
	Wording string   `json:"wording"`
}

func (*BoolYesOfResult) ToGRPC

func (a *BoolYesOfResult) ToGRPC() *BoolYesOfResultGRPC

type BoolYesOfResultGRPC

type BoolYesOfResultGRPC struct {
	Data    *BoolYesGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64        `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string       `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string       `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string       `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*BoolYesOfResultGRPC) Descriptor deprecated

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

Deprecated: Use BoolYesOfResultGRPC.ProtoReflect.Descriptor instead.

func (*BoolYesOfResultGRPC) GetData

func (x *BoolYesOfResultGRPC) GetData() *BoolYesGRPC

func (*BoolYesOfResultGRPC) GetMsg

func (x *BoolYesOfResultGRPC) GetMsg() string

func (*BoolYesOfResultGRPC) GetRetcode

func (x *BoolYesOfResultGRPC) GetRetcode() int64

func (*BoolYesOfResultGRPC) GetStatus

func (x *BoolYesOfResultGRPC) GetStatus() string

func (*BoolYesOfResultGRPC) GetWording

func (x *BoolYesOfResultGRPC) GetWording() string

func (*BoolYesOfResultGRPC) ProtoMessage

func (*BoolYesOfResultGRPC) ProtoMessage()

func (*BoolYesOfResultGRPC) ProtoReflect

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

func (*BoolYesOfResultGRPC) Reset

func (x *BoolYesOfResultGRPC) Reset()

func (*BoolYesOfResultGRPC) String

func (x *BoolYesOfResultGRPC) String() string

func (*BoolYesOfResultGRPC) ToStruct

func (a *BoolYesOfResultGRPC) ToStruct() *BoolYesOfResult

type CheckUrlSafely

type CheckUrlSafely struct {
	// level	int	安全等级, 1: 安全 2: 未知 3: 危险
	Level int32 `json:"level"`
}

func (*CheckUrlSafely) ToGRPC

func (c *CheckUrlSafely) ToGRPC() *CheckUrlSafelyGRPC

type CheckUrlSafelyGRPC

type CheckUrlSafelyGRPC struct {
	Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckUrlSafelyGRPC) Descriptor deprecated

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

Deprecated: Use CheckUrlSafelyGRPC.ProtoReflect.Descriptor instead.

func (*CheckUrlSafelyGRPC) GetLevel

func (x *CheckUrlSafelyGRPC) GetLevel() int32

func (*CheckUrlSafelyGRPC) ProtoMessage

func (*CheckUrlSafelyGRPC) ProtoMessage()

func (*CheckUrlSafelyGRPC) ProtoReflect

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

func (*CheckUrlSafelyGRPC) Reset

func (x *CheckUrlSafelyGRPC) Reset()

func (*CheckUrlSafelyGRPC) String

func (x *CheckUrlSafelyGRPC) String() string

func (*CheckUrlSafelyGRPC) ToStruct

func (c *CheckUrlSafelyGRPC) ToStruct() *CheckUrlSafely

type CheckUrlSafelyResult

type CheckUrlSafelyResult struct {
	Data    *CheckUrlSafely `json:"data"`
	Retcode int64           `json:"ret_code"`
	Status  string          `json:"status"`
	Msg     string          `json:"msg"`
	Wording string          `json:"wording"`
}

func (*CheckUrlSafelyResult) ToGRPC

type CheckUrlSafelyResultGRPC

type CheckUrlSafelyResultGRPC struct {
	Data    *CheckUrlSafelyGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64               `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string              `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string              `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string              `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckUrlSafelyResultGRPC) Descriptor deprecated

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

Deprecated: Use CheckUrlSafelyResultGRPC.ProtoReflect.Descriptor instead.

func (*CheckUrlSafelyResultGRPC) GetData

func (*CheckUrlSafelyResultGRPC) GetMsg

func (x *CheckUrlSafelyResultGRPC) GetMsg() string

func (*CheckUrlSafelyResultGRPC) GetRetcode

func (x *CheckUrlSafelyResultGRPC) GetRetcode() int64

func (*CheckUrlSafelyResultGRPC) GetStatus

func (x *CheckUrlSafelyResultGRPC) GetStatus() string

func (*CheckUrlSafelyResultGRPC) GetWording

func (x *CheckUrlSafelyResultGRPC) GetWording() string

func (*CheckUrlSafelyResultGRPC) ProtoMessage

func (*CheckUrlSafelyResultGRPC) ProtoMessage()

func (*CheckUrlSafelyResultGRPC) ProtoReflect

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

func (*CheckUrlSafelyResultGRPC) Reset

func (x *CheckUrlSafelyResultGRPC) Reset()

func (*CheckUrlSafelyResultGRPC) String

func (x *CheckUrlSafelyResultGRPC) String() string

func (*CheckUrlSafelyResultGRPC) ToStruct

type Cookies

type Cookies struct {
	// cookies
	Cookies string `json:"cookies"`
}

func (*Cookies) ToGRPC

func (c *Cookies) ToGRPC() *CookiesGRPC

type CookiesGRPC

type CookiesGRPC struct {
	Cookies string `protobuf:"bytes,1,opt,name=cookies,proto3" json:"cookies,omitempty"`
	// contains filtered or unexported fields
}

func (*CookiesGRPC) Descriptor deprecated

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

Deprecated: Use CookiesGRPC.ProtoReflect.Descriptor instead.

func (*CookiesGRPC) GetCookies

func (x *CookiesGRPC) GetCookies() string

func (*CookiesGRPC) ProtoMessage

func (*CookiesGRPC) ProtoMessage()

func (*CookiesGRPC) ProtoReflect

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

func (*CookiesGRPC) Reset

func (x *CookiesGRPC) Reset()

func (*CookiesGRPC) String

func (x *CookiesGRPC) String() string

func (*CookiesGRPC) ToStruct

func (C *CookiesGRPC) ToStruct() *Cookies

type CookiesResult

type CookiesResult struct {
	Data    *Cookies `json:"data"`
	Retcode int64    `json:"retcode"`
	Status  string   `json:"status"`
	Msg     string   `json:"msg"`
	Wording string   `json:"wording"`
}

func (*CookiesResult) ToGRPC

func (c *CookiesResult) ToGRPC() *CookiesResultGRPC

type CookiesResultGRPC

type CookiesResultGRPC struct {
	Data    *CookiesGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64        `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string       `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string       `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string       `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*CookiesResultGRPC) Descriptor deprecated

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

Deprecated: Use CookiesResultGRPC.ProtoReflect.Descriptor instead.

func (*CookiesResultGRPC) GetData

func (x *CookiesResultGRPC) GetData() *CookiesGRPC

func (*CookiesResultGRPC) GetMsg

func (x *CookiesResultGRPC) GetMsg() string

func (*CookiesResultGRPC) GetRetcode

func (x *CookiesResultGRPC) GetRetcode() int64

func (*CookiesResultGRPC) GetStatus

func (x *CookiesResultGRPC) GetStatus() string

func (*CookiesResultGRPC) GetWording

func (x *CookiesResultGRPC) GetWording() string

func (*CookiesResultGRPC) ProtoMessage

func (*CookiesResultGRPC) ProtoMessage()

func (*CookiesResultGRPC) ProtoReflect

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

func (*CookiesResultGRPC) Reset

func (x *CookiesResultGRPC) Reset()

func (*CookiesResultGRPC) String

func (x *CookiesResultGRPC) String() string

func (*CookiesResultGRPC) ToStruct

func (C *CookiesResultGRPC) ToStruct() *CookiesResult

type Coordinate

type Coordinate struct {
	X int32 `json:"x"`
	Y int32 `json:"y"`
}

func CoordinateGRPCArray2CoordinateArray

func CoordinateGRPCArray2CoordinateArray(a []*CoordinateGRPC) []*Coordinate

func (*Coordinate) ToGRPC

func (a *Coordinate) ToGRPC() *CoordinateGRPC

type CoordinateGRPC

type CoordinateGRPC struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
	// contains filtered or unexported fields
}

func CoordinateArray2CoordinateGRPCArray

func CoordinateArray2CoordinateGRPCArray(a []*Coordinate) []*CoordinateGRPC

func (*CoordinateGRPC) Descriptor deprecated

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

Deprecated: Use CoordinateGRPC.ProtoReflect.Descriptor instead.

func (*CoordinateGRPC) GetX

func (x *CoordinateGRPC) GetX() int32

func (*CoordinateGRPC) GetY

func (x *CoordinateGRPC) GetY() int32

func (*CoordinateGRPC) ProtoMessage

func (*CoordinateGRPC) ProtoMessage()

func (*CoordinateGRPC) ProtoReflect

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

func (*CoordinateGRPC) Reset

func (x *CoordinateGRPC) Reset()

func (*CoordinateGRPC) String

func (x *CoordinateGRPC) String() string

func (*CoordinateGRPC) ToStruct

func (a *CoordinateGRPC) ToStruct() *Coordinate

type Credentials

type Credentials struct {
	Cookies string `json:"cookies"`
	Token   int32  `json:"token"`
}

func (*Credentials) ToGRPC

func (c *Credentials) ToGRPC() *CredentialsGRPC

type CredentialsGRPC

type CredentialsGRPC struct {
	Cookies string `protobuf:"bytes,1,opt,name=cookies,proto3" json:"cookies,omitempty"`
	Token   int32  `protobuf:"varint,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*CredentialsGRPC) Descriptor deprecated

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

Deprecated: Use CredentialsGRPC.ProtoReflect.Descriptor instead.

func (*CredentialsGRPC) GetCookies

func (x *CredentialsGRPC) GetCookies() string

func (*CredentialsGRPC) GetToken

func (x *CredentialsGRPC) GetToken() int32

func (*CredentialsGRPC) ProtoMessage

func (*CredentialsGRPC) ProtoMessage()

func (*CredentialsGRPC) ProtoReflect

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

func (*CredentialsGRPC) Reset

func (x *CredentialsGRPC) Reset()

func (*CredentialsGRPC) String

func (x *CredentialsGRPC) String() string

func (*CredentialsGRPC) ToStruct

func (C *CredentialsGRPC) ToStruct() *Credentials

type CredentialsResult

type CredentialsResult struct {
	Data    *Credentials `json:"data"`
	Retcode int64        `json:"retcode"`
	Status  string       `json:"status"`
	Msg     string       `json:"msg"`
	Wording string       `json:"wording"`
}

func (*CredentialsResult) ToGRPC

type CredentialsResultGRPC

type CredentialsResultGRPC struct {
	Data    *CredentialsGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64            `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string           `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string           `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string           `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*CredentialsResultGRPC) Descriptor deprecated

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

Deprecated: Use CredentialsResultGRPC.ProtoReflect.Descriptor instead.

func (*CredentialsResultGRPC) GetData

func (x *CredentialsResultGRPC) GetData() *CredentialsGRPC

func (*CredentialsResultGRPC) GetMsg

func (x *CredentialsResultGRPC) GetMsg() string

func (*CredentialsResultGRPC) GetRetcode

func (x *CredentialsResultGRPC) GetRetcode() int64

func (*CredentialsResultGRPC) GetStatus

func (x *CredentialsResultGRPC) GetStatus() string

func (*CredentialsResultGRPC) GetWording

func (x *CredentialsResultGRPC) GetWording() string

func (*CredentialsResultGRPC) ProtoMessage

func (*CredentialsResultGRPC) ProtoMessage()

func (*CredentialsResultGRPC) ProtoReflect

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

func (*CredentialsResultGRPC) Reset

func (x *CredentialsResultGRPC) Reset()

func (*CredentialsResultGRPC) String

func (x *CredentialsResultGRPC) String() string

func (*CredentialsResultGRPC) ToStruct

type CsrfToken

type CsrfToken struct {
	Token int32 `json:"token"`
}

func (*CsrfToken) ToGRPC

func (c *CsrfToken) ToGRPC() *CsrfTokenGRPC

type CsrfTokenGRPC

type CsrfTokenGRPC struct {
	Token int32 `protobuf:"varint,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*CsrfTokenGRPC) Descriptor deprecated

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

Deprecated: Use CsrfTokenGRPC.ProtoReflect.Descriptor instead.

func (*CsrfTokenGRPC) GetToken

func (x *CsrfTokenGRPC) GetToken() int32

func (*CsrfTokenGRPC) ProtoMessage

func (*CsrfTokenGRPC) ProtoMessage()

func (*CsrfTokenGRPC) ProtoReflect

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

func (*CsrfTokenGRPC) Reset

func (x *CsrfTokenGRPC) Reset()

func (*CsrfTokenGRPC) String

func (x *CsrfTokenGRPC) String() string

func (*CsrfTokenGRPC) ToStruct

func (C *CsrfTokenGRPC) ToStruct() *CsrfToken

type CsrfTokenResult

type CsrfTokenResult struct {
	Data    *CsrfToken `json:"data"`
	Retcode int64      `json:"retcode"`
	Status  string     `json:"status"`
	Msg     string     `json:"msg"`
	Wording string     `json:"wording"`
}

func (*CsrfTokenResult) ToGRPC

func (c *CsrfTokenResult) ToGRPC() *CsrfTokenResultGRPC

type CsrfTokenResultGRPC

type CsrfTokenResultGRPC struct {
	Data    *CsrfTokenGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64          `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string         `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string         `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string         `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*CsrfTokenResultGRPC) Descriptor deprecated

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

Deprecated: Use CsrfTokenResultGRPC.ProtoReflect.Descriptor instead.

func (*CsrfTokenResultGRPC) GetData

func (x *CsrfTokenResultGRPC) GetData() *CsrfTokenGRPC

func (*CsrfTokenResultGRPC) GetMsg

func (x *CsrfTokenResultGRPC) GetMsg() string

func (*CsrfTokenResultGRPC) GetRetcode

func (x *CsrfTokenResultGRPC) GetRetcode() int64

func (*CsrfTokenResultGRPC) GetStatus

func (x *CsrfTokenResultGRPC) GetStatus() string

func (*CsrfTokenResultGRPC) GetWording

func (x *CsrfTokenResultGRPC) GetWording() string

func (*CsrfTokenResultGRPC) ProtoMessage

func (*CsrfTokenResultGRPC) ProtoMessage()

func (*CsrfTokenResultGRPC) ProtoReflect

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

func (*CsrfTokenResultGRPC) Reset

func (x *CsrfTokenResultGRPC) Reset()

func (*CsrfTokenResultGRPC) String

func (x *CsrfTokenResultGRPC) String() string

func (*CsrfTokenResultGRPC) ToStruct

func (c *CsrfTokenResultGRPC) ToStruct() *CsrfTokenResult

type CurrentTalkative

type CurrentTalkative struct {
	UserId   int64  `json:"user_id"`
	Nickname string `json:"nickname"`
	Avatar   string `json:"avatar"`    //头像url
	DayCount int32  `json:"day_count"` //持续天数
}

func (*CurrentTalkative) ToGRPC

type CurrentTalkativeGRPC

type CurrentTalkativeGRPC struct {
	UserId   int64  `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Avatar   string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`                      //头像url
	DayCount int32  `protobuf:"varint,4,opt,name=day_count,json=dayCount,proto3" json:"day_count,omitempty"` //持续天数
	// contains filtered or unexported fields
}

func (*CurrentTalkativeGRPC) Descriptor deprecated

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

Deprecated: Use CurrentTalkativeGRPC.ProtoReflect.Descriptor instead.

func (*CurrentTalkativeGRPC) GetAvatar

func (x *CurrentTalkativeGRPC) GetAvatar() string

func (*CurrentTalkativeGRPC) GetDayCount

func (x *CurrentTalkativeGRPC) GetDayCount() int32

func (*CurrentTalkativeGRPC) GetNickname

func (x *CurrentTalkativeGRPC) GetNickname() string

func (*CurrentTalkativeGRPC) GetUserId

func (x *CurrentTalkativeGRPC) GetUserId() int64

func (*CurrentTalkativeGRPC) ProtoMessage

func (*CurrentTalkativeGRPC) ProtoMessage()

func (*CurrentTalkativeGRPC) ProtoReflect

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

func (*CurrentTalkativeGRPC) Reset

func (x *CurrentTalkativeGRPC) Reset()

func (*CurrentTalkativeGRPC) String

func (x *CurrentTalkativeGRPC) String() string

func (*CurrentTalkativeGRPC) ToStruct

func (a *CurrentTalkativeGRPC) ToStruct() *CurrentTalkative

type Device

type Device struct {
	// app_id	int64	客户端ID
	AppId int64 `json:"app_id"`
	// device_name	string	设备名称
	DeviceName string `json:"device_name"`
	// device_kind	string	设备类型
	DeviceKind string `json:"device_kind"`
}

func (*Device) ToGRPC

func (a *Device) ToGRPC() *DeviceGRPC

type DeviceGRPC

type DeviceGRPC struct {
	AppId      int64  `protobuf:"varint,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	DeviceName string `protobuf:"bytes,2,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
	DeviceKind string `protobuf:"bytes,3,opt,name=device_kind,json=deviceKind,proto3" json:"device_kind,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceGRPC) Descriptor deprecated

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

Deprecated: Use DeviceGRPC.ProtoReflect.Descriptor instead.

func (*DeviceGRPC) GetAppId

func (x *DeviceGRPC) GetAppId() int64

func (*DeviceGRPC) GetDeviceKind

func (x *DeviceGRPC) GetDeviceKind() string

func (*DeviceGRPC) GetDeviceName

func (x *DeviceGRPC) GetDeviceName() string

func (*DeviceGRPC) ProtoMessage

func (*DeviceGRPC) ProtoMessage()

func (*DeviceGRPC) ProtoReflect

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

func (*DeviceGRPC) Reset

func (x *DeviceGRPC) Reset()

func (*DeviceGRPC) String

func (x *DeviceGRPC) String() string

func (*DeviceGRPC) ToStruct

func (a *DeviceGRPC) ToStruct() *Device

type DownloadFile

type DownloadFile struct {
	// file	string	文件路径
	File string `json:"file"`
}

func (*DownloadFile) ToGRPC

func (c *DownloadFile) ToGRPC() *DownloadFileGRPC

type DownloadFileGRPC

type DownloadFileGRPC struct {
	File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadFileGRPC) Descriptor deprecated

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

Deprecated: Use DownloadFileGRPC.ProtoReflect.Descriptor instead.

func (*DownloadFileGRPC) GetFile

func (x *DownloadFileGRPC) GetFile() string

func (*DownloadFileGRPC) ProtoMessage

func (*DownloadFileGRPC) ProtoMessage()

func (*DownloadFileGRPC) ProtoReflect

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

func (*DownloadFileGRPC) Reset

func (x *DownloadFileGRPC) Reset()

func (*DownloadFileGRPC) String

func (x *DownloadFileGRPC) String() string

func (*DownloadFileGRPC) ToStruct

func (c *DownloadFileGRPC) ToStruct() *DownloadFile

type DownloadFileResult

type DownloadFileResult struct {
	Data    *DownloadFile `json:"data"`
	Retcode int64         `json:"ret_code"`
	Status  string        `json:"status"`
	Msg     string        `json:"msg"`
	Wording string        `json:"wording"`
}

func (*DownloadFileResult) ToGRPC

type DownloadFileResultGRPC

type DownloadFileResultGRPC struct {
	Data    *DownloadFileGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64             `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string            `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string            `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string            `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadFileResultGRPC) Descriptor deprecated

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

Deprecated: Use DownloadFileResultGRPC.ProtoReflect.Descriptor instead.

func (*DownloadFileResultGRPC) GetData

func (*DownloadFileResultGRPC) GetMsg

func (x *DownloadFileResultGRPC) GetMsg() string

func (*DownloadFileResultGRPC) GetRetcode

func (x *DownloadFileResultGRPC) GetRetcode() int64

func (*DownloadFileResultGRPC) GetStatus

func (x *DownloadFileResultGRPC) GetStatus() string

func (*DownloadFileResultGRPC) GetWording

func (x *DownloadFileResultGRPC) GetWording() string

func (*DownloadFileResultGRPC) ProtoMessage

func (*DownloadFileResultGRPC) ProtoMessage()

func (*DownloadFileResultGRPC) ProtoReflect

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

func (*DownloadFileResultGRPC) Reset

func (x *DownloadFileResultGRPC) Reset()

func (*DownloadFileResultGRPC) String

func (x *DownloadFileResultGRPC) String() string

func (*DownloadFileResultGRPC) ToStruct

type EssenceMsg

type EssenceMsg struct {
	// sender_id	int64	发送者QQ 号
	SenderId int64 `json:"sender_id"`
	// sender_nick	string	发送者昵称
	SenderNick string `json:"sender_nick"`
	// sender_time	int64	消息发送时间
	SenderTime int64 `json:"sender_time"`
	// operator_id	int64	操作者QQ 号
	OperatorId int64 `json:"operator_id"`
	// operator_nick	string	操作者昵称
	OperatorNick string `json:"operator_nick"`
	// operator_time	int64	精华设置时间
	OperatorTime int64 `json:"operator_time"`
	// message_id	int32	消息ID
	MessageId int32 `json:"message_id"`
}

func EssenceMsgGRPCArray2EssenceMsgArray

func EssenceMsgGRPCArray2EssenceMsgArray(source []*EssenceMsgGRPC) []*EssenceMsg

func (*EssenceMsg) ToGRPC

func (a *EssenceMsg) ToGRPC() *EssenceMsgGRPC

type EssenceMsgGRPC

type EssenceMsgGRPC struct {
	SenderId     int64  `protobuf:"varint,1,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
	SenderNick   string `protobuf:"bytes,2,opt,name=sender_nick,json=senderNick,proto3" json:"sender_nick,omitempty"`
	SenderTime   int64  `protobuf:"varint,3,opt,name=sender_time,json=senderTime,proto3" json:"sender_time,omitempty"`
	OperatorId   int64  `protobuf:"varint,4,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	OperatorNick string `protobuf:"bytes,5,opt,name=operator_nick,json=operatorNick,proto3" json:"operator_nick,omitempty"`
	OperatorTime int64  `protobuf:"varint,6,opt,name=operator_time,json=operatorTime,proto3" json:"operator_time,omitempty"`
	MessageId    int32  `protobuf:"varint,7,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

func EssenceMsgArray2EssenceMsgGRPCArray

func EssenceMsgArray2EssenceMsgGRPCArray(source []*EssenceMsg) []*EssenceMsgGRPC

func (*EssenceMsgGRPC) Descriptor deprecated

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

Deprecated: Use EssenceMsgGRPC.ProtoReflect.Descriptor instead.

func (*EssenceMsgGRPC) GetMessageId

func (x *EssenceMsgGRPC) GetMessageId() int32

func (*EssenceMsgGRPC) GetOperatorId

func (x *EssenceMsgGRPC) GetOperatorId() int64

func (*EssenceMsgGRPC) GetOperatorNick

func (x *EssenceMsgGRPC) GetOperatorNick() string

func (*EssenceMsgGRPC) GetOperatorTime

func (x *EssenceMsgGRPC) GetOperatorTime() int64

func (*EssenceMsgGRPC) GetSenderId

func (x *EssenceMsgGRPC) GetSenderId() int64

func (*EssenceMsgGRPC) GetSenderNick

func (x *EssenceMsgGRPC) GetSenderNick() string

func (*EssenceMsgGRPC) GetSenderTime

func (x *EssenceMsgGRPC) GetSenderTime() int64

func (*EssenceMsgGRPC) ProtoMessage

func (*EssenceMsgGRPC) ProtoMessage()

func (*EssenceMsgGRPC) ProtoReflect

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

func (*EssenceMsgGRPC) Reset

func (x *EssenceMsgGRPC) Reset()

func (*EssenceMsgGRPC) String

func (x *EssenceMsgGRPC) String() string

func (*EssenceMsgGRPC) ToStruct

func (a *EssenceMsgGRPC) ToStruct() *EssenceMsg

type EssenceMsgListResult

type EssenceMsgListResult struct {
	Data    []*EssenceMsg `json:"data"`
	Retcode int64         `json:"retcode"`
	Status  string        `json:"status"`
	Msg     string        `json:"msg"`
	Wording string        `json:"wording"`
}

func (*EssenceMsgListResult) ToGRPC

type EssenceMsgListResultGRPC

type EssenceMsgListResultGRPC struct {
	Data    []*EssenceMsgGRPC `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	Retcode int64             `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string            `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string            `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string            `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*EssenceMsgListResultGRPC) Descriptor deprecated

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

Deprecated: Use EssenceMsgListResultGRPC.ProtoReflect.Descriptor instead.

func (*EssenceMsgListResultGRPC) GetData

func (x *EssenceMsgListResultGRPC) GetData() []*EssenceMsgGRPC

func (*EssenceMsgListResultGRPC) GetMsg

func (x *EssenceMsgListResultGRPC) GetMsg() string

func (*EssenceMsgListResultGRPC) GetRetcode

func (x *EssenceMsgListResultGRPC) GetRetcode() int64

func (*EssenceMsgListResultGRPC) GetStatus

func (x *EssenceMsgListResultGRPC) GetStatus() string

func (*EssenceMsgListResultGRPC) GetWording

func (x *EssenceMsgListResultGRPC) GetWording() string

func (*EssenceMsgListResultGRPC) ProtoMessage

func (*EssenceMsgListResultGRPC) ProtoMessage()

func (*EssenceMsgListResultGRPC) ProtoReflect

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

func (*EssenceMsgListResultGRPC) Reset

func (x *EssenceMsgListResultGRPC) Reset()

func (*EssenceMsgListResultGRPC) String

func (x *EssenceMsgListResultGRPC) String() string

func (*EssenceMsgListResultGRPC) ToStruct

type EventBase

type EventBase struct {
	Time     int64  `json:"time"`
	SelfId   int64  `json:"self_id"`
	PostType string `json:"post_type"`
}

func (*EventBase) ToGRPC

func (a *EventBase) ToGRPC() *EventBaseGRPC

type EventBaseGRPC

type EventBaseGRPC struct {

	// 用于传递api实例,当grpc使用时,api实例会被传递到grpc服务端,用于调用api
	ApiCli   uint32 `protobuf:"varint,1,opt,name=api_cli,json=apiCli,proto3" json:"api_cli,omitempty"`
	Time     int64  `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
	SelfId   int64  `protobuf:"varint,3,opt,name=self_id,json=selfId,proto3" json:"self_id,omitempty"`
	PostType string `protobuf:"bytes,4,opt,name=post_type,json=postType,proto3" json:"post_type,omitempty"`
	// contains filtered or unexported fields
}

func (*EventBaseGRPC) Descriptor deprecated

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

Deprecated: Use EventBaseGRPC.ProtoReflect.Descriptor instead.

func (*EventBaseGRPC) GetApiCli

func (x *EventBaseGRPC) GetApiCli() uint32

func (*EventBaseGRPC) GetPostType

func (x *EventBaseGRPC) GetPostType() string

func (*EventBaseGRPC) GetSelfId

func (x *EventBaseGRPC) GetSelfId() int64

func (*EventBaseGRPC) GetTime

func (x *EventBaseGRPC) GetTime() int64

func (*EventBaseGRPC) ProtoMessage

func (*EventBaseGRPC) ProtoMessage()

func (*EventBaseGRPC) ProtoReflect

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

func (*EventBaseGRPC) Reset

func (x *EventBaseGRPC) Reset()

func (*EventBaseGRPC) String

func (x *EventBaseGRPC) String() string

func (*EventBaseGRPC) ToStruct

func (a *EventBaseGRPC) ToStruct() *EventBase

type EventMeesageBaseGRPC

type EventMeesageBaseGRPC struct {
	EventBase   *EventBaseGRPC        `protobuf:"bytes,1,opt,name=eventBase,proto3" json:"eventBase,omitempty"`
	MessageType string                `protobuf:"bytes,2,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"`
	SubType     string                `protobuf:"bytes,3,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"`
	MessageId   int32                 `protobuf:"varint,4,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	UserId      int64                 `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Message     []*MessageSegmentGRPC `protobuf:"bytes,6,rep,name=message,proto3" json:"message,omitempty"`
	RawMessage  string                `protobuf:"bytes,7,opt,name=raw_message,json=rawMessage,proto3" json:"raw_message,omitempty"`
	Font        int32                 `protobuf:"varint,8,opt,name=font,proto3" json:"font,omitempty"`
	Sender      *SenderGRPC           `protobuf:"bytes,9,opt,name=sender,proto3" json:"sender,omitempty"`
	// contains filtered or unexported fields
}

func (*EventMeesageBaseGRPC) Descriptor deprecated

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

Deprecated: Use EventMeesageBaseGRPC.ProtoReflect.Descriptor instead.

func (*EventMeesageBaseGRPC) GetEventBase

func (x *EventMeesageBaseGRPC) GetEventBase() *EventBaseGRPC

func (*EventMeesageBaseGRPC) GetFont

func (x *EventMeesageBaseGRPC) GetFont() int32

func (*EventMeesageBaseGRPC) GetMessage

func (x *EventMeesageBaseGRPC) GetMessage() []*MessageSegmentGRPC

func (*EventMeesageBaseGRPC) GetMessageId

func (x *EventMeesageBaseGRPC) GetMessageId() int32

func (*EventMeesageBaseGRPC) GetMessageType

func (x *EventMeesageBaseGRPC) GetMessageType() string

func (*EventMeesageBaseGRPC) GetRawMessage

func (x *EventMeesageBaseGRPC) GetRawMessage() string

func (*EventMeesageBaseGRPC) GetSender

func (x *EventMeesageBaseGRPC) GetSender() *SenderGRPC

func (*EventMeesageBaseGRPC) GetSubType

func (x *EventMeesageBaseGRPC) GetSubType() string

func (*EventMeesageBaseGRPC) GetUserId

func (x *EventMeesageBaseGRPC) GetUserId() int64

func (*EventMeesageBaseGRPC) ProtoMessage

func (*EventMeesageBaseGRPC) ProtoMessage()

func (*EventMeesageBaseGRPC) ProtoReflect

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

func (*EventMeesageBaseGRPC) Reset

func (x *EventMeesageBaseGRPC) Reset()

func (*EventMeesageBaseGRPC) String

func (x *EventMeesageBaseGRPC) String() string

func (*EventMeesageBaseGRPC) ToStruct

func (a *EventMeesageBaseGRPC) ToStruct() *EventMessageBase

type EventMessageBase

type EventMessageBase struct {
	EventBase
	MessageType string          `json:"message_type"`
	SubType     string          `json:"sub_type"`
	MessageId   int32           `json:"message_id"`
	UserId      int64           `json:"user_id"`
	Message     MessageSegments `json:"message"`
	RawMessage  string          `json:"raw_message"`
	Font        int32           `json:"font"`
	Sender      *Sender         `json:"sender"`
}

func (*EventMessageBase) ToGRPC

type EventMessageGroup

type EventMessageGroup struct {
	EventMessageBase
	GroupId   int64      `json:"group_id"`
	Anonymous *Anonymous `json:"anonymous"`
}

func (*EventMessageGroup) ToGRPC

type EventMessageGroupGRPC

type EventMessageGroupGRPC struct {
	GroupId          int64                 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	Anonymous        *AnonymousGRPC        `protobuf:"bytes,2,opt,name=anonymous,proto3" json:"anonymous,omitempty"`
	EventMeesageBase *EventMeesageBaseGRPC `protobuf:"bytes,3,opt,name=eventMeesageBase,proto3" json:"eventMeesageBase,omitempty"`
	// contains filtered or unexported fields
}

func (*EventMessageGroupGRPC) Descriptor deprecated

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

Deprecated: Use EventMessageGroupGRPC.ProtoReflect.Descriptor instead.

func (*EventMessageGroupGRPC) GetAnonymous

func (x *EventMessageGroupGRPC) GetAnonymous() *AnonymousGRPC

func (*EventMessageGroupGRPC) GetEventMeesageBase

func (x *EventMessageGroupGRPC) GetEventMeesageBase() *EventMeesageBaseGRPC

func (*EventMessageGroupGRPC) GetGroupId

func (x *EventMessageGroupGRPC) GetGroupId() int64

func (*EventMessageGroupGRPC) ProtoMessage

func (*EventMessageGroupGRPC) ProtoMessage()

func (*EventMessageGroupGRPC) ProtoReflect

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

func (*EventMessageGroupGRPC) Reset

func (x *EventMessageGroupGRPC) Reset()

func (*EventMessageGroupGRPC) String

func (x *EventMessageGroupGRPC) String() string

func (*EventMessageGroupGRPC) ToStruct

type EventMessagePrivate

type EventMessagePrivate struct {
	EventMessageBase
}

func (*EventMessagePrivate) ToGRPC

type EventMessagePrivateGRPC

type EventMessagePrivateGRPC struct {
	EventMeesageBase *EventMeesageBaseGRPC `protobuf:"bytes,1,opt,name=eventMeesageBase,proto3" json:"eventMeesageBase,omitempty"`
	// contains filtered or unexported fields
}

func (*EventMessagePrivateGRPC) Descriptor deprecated

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

Deprecated: Use EventMessagePrivateGRPC.ProtoReflect.Descriptor instead.

func (*EventMessagePrivateGRPC) GetEventMeesageBase

func (x *EventMessagePrivateGRPC) GetEventMeesageBase() *EventMeesageBaseGRPC

func (*EventMessagePrivateGRPC) ProtoMessage

func (*EventMessagePrivateGRPC) ProtoMessage()

func (*EventMessagePrivateGRPC) ProtoReflect

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

func (*EventMessagePrivateGRPC) Reset

func (x *EventMessagePrivateGRPC) Reset()

func (*EventMessagePrivateGRPC) String

func (x *EventMessagePrivateGRPC) String() string

func (*EventMessagePrivateGRPC) ToStruct

type EventMetaBase

type EventMetaBase struct {
	EventBase
	MetaEventType string `json:"meta_event_type"`
}

func (*EventMetaBase) ToGRPC

func (e *EventMetaBase) ToGRPC() *EventMetaBaseGRPC

type EventMetaBaseGRPC

type EventMetaBaseGRPC struct {
	EventBase     *EventBaseGRPC `protobuf:"bytes,1,opt,name=eventBase,proto3" json:"eventBase,omitempty"`
	MetaEventType string         `protobuf:"bytes,2,opt,name=meta_event_type,json=metaEventType,proto3" json:"meta_event_type,omitempty"`
	// contains filtered or unexported fields
}

func (*EventMetaBaseGRPC) Descriptor deprecated

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

Deprecated: Use EventMetaBaseGRPC.ProtoReflect.Descriptor instead.

func (*EventMetaBaseGRPC) GetEventBase

func (x *EventMetaBaseGRPC) GetEventBase() *EventBaseGRPC

func (*EventMetaBaseGRPC) GetMetaEventType

func (x *EventMetaBaseGRPC) GetMetaEventType() string

func (*EventMetaBaseGRPC) ProtoMessage

func (*EventMetaBaseGRPC) ProtoMessage()

func (*EventMetaBaseGRPC) ProtoReflect

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

func (*EventMetaBaseGRPC) Reset

func (x *EventMetaBaseGRPC) Reset()

func (*EventMetaBaseGRPC) String

func (x *EventMetaBaseGRPC) String() string

func (*EventMetaBaseGRPC) ToStruct

func (e *EventMetaBaseGRPC) ToStruct() *EventMetaBase

type EventMetaHeartbeat

type EventMetaHeartbeat struct {
	EventMetaBase
	Status *EventMetaHeartbeatStatus `json:"status"`
	//到下次心跳的间隔,单位毫秒
	Interval uint64 `json:"interval"`
}

func (*EventMetaHeartbeat) ToGRPC

type EventMetaHeartbeatGRPC

type EventMetaHeartbeatGRPC struct {
	EventMetaBase *EventMetaBaseGRPC            `protobuf:"bytes,1,opt,name=eventMetaBase,proto3" json:"eventMetaBase,omitempty"`
	Status        *EventMetaHeartbeatStatusGRPC `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	//到下次心跳的间隔,单位毫秒
	Interval uint64 `protobuf:"varint,3,opt,name=interval,proto3" json:"interval,omitempty"`
	// contains filtered or unexported fields
}

func (*EventMetaHeartbeatGRPC) Descriptor deprecated

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

Deprecated: Use EventMetaHeartbeatGRPC.ProtoReflect.Descriptor instead.

func (*EventMetaHeartbeatGRPC) GetEventMetaBase

func (x *EventMetaHeartbeatGRPC) GetEventMetaBase() *EventMetaBaseGRPC

func (*EventMetaHeartbeatGRPC) GetInterval

func (x *EventMetaHeartbeatGRPC) GetInterval() uint64

func (*EventMetaHeartbeatGRPC) GetStatus

func (*EventMetaHeartbeatGRPC) ProtoMessage

func (*EventMetaHeartbeatGRPC) ProtoMessage()

func (*EventMetaHeartbeatGRPC) ProtoReflect

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

func (*EventMetaHeartbeatGRPC) Reset

func (x *EventMetaHeartbeatGRPC) Reset()

func (*EventMetaHeartbeatGRPC) String

func (x *EventMetaHeartbeatGRPC) String() string

func (*EventMetaHeartbeatGRPC) ToStruct

type EventMetaHeartbeatStatus

type EventMetaHeartbeatStatus struct {
	AppEnabled     bool                          `json:"app_enabled"`
	AppGood        bool                          `json:"app_good"`
	AppInitialized bool                          `json:"app_initialized"`
	Good           bool                          `json:"good"`
	Online         bool                          `json:"online"`
	PluginsGood    bool                          `json:"plugin_good"`
	Stat           *EventMetaHeartbeatStatusStat `json:"stat"`
}

func (*EventMetaHeartbeatStatus) ToGRPC

type EventMetaHeartbeatStatusGRPC

type EventMetaHeartbeatStatusGRPC struct {
	AppEnabled     bool                              `protobuf:"varint,1,opt,name=app_enabled,json=appEnabled,proto3" json:"app_enabled,omitempty"`
	AppGood        bool                              `protobuf:"varint,2,opt,name=app_good,json=appGood,proto3" json:"app_good,omitempty"`
	AppInitialized bool                              `protobuf:"varint,3,opt,name=app_initialized,json=appInitialized,proto3" json:"app_initialized,omitempty"`
	Good           bool                              `protobuf:"varint,4,opt,name=good,proto3" json:"good,omitempty"`
	Online         bool                              `protobuf:"varint,5,opt,name=online,proto3" json:"online,omitempty"`
	PluginsGood    bool                              `protobuf:"varint,6,opt,name=plugins_good,json=pluginsGood,proto3" json:"plugins_good,omitempty"`
	Stat           *EventMetaHeartbeatStatusStatGRPC `protobuf:"bytes,7,opt,name=stat,proto3" json:"stat,omitempty"`
	// contains filtered or unexported fields
}

func (*EventMetaHeartbeatStatusGRPC) Descriptor deprecated

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

Deprecated: Use EventMetaHeartbeatStatusGRPC.ProtoReflect.Descriptor instead.

func (*EventMetaHeartbeatStatusGRPC) GetAppEnabled

func (x *EventMetaHeartbeatStatusGRPC) GetAppEnabled() bool

func (*EventMetaHeartbeatStatusGRPC) GetAppGood

func (x *EventMetaHeartbeatStatusGRPC) GetAppGood() bool

func (*EventMetaHeartbeatStatusGRPC) GetAppInitialized

func (x *EventMetaHeartbeatStatusGRPC) GetAppInitialized() bool

func (*EventMetaHeartbeatStatusGRPC) GetGood

func (x *EventMetaHeartbeatStatusGRPC) GetGood() bool

func (*EventMetaHeartbeatStatusGRPC) GetOnline

func (x *EventMetaHeartbeatStatusGRPC) GetOnline() bool

func (*EventMetaHeartbeatStatusGRPC) GetPluginsGood

func (x *EventMetaHeartbeatStatusGRPC) GetPluginsGood() bool

func (*EventMetaHeartbeatStatusGRPC) GetStat

func (*EventMetaHeartbeatStatusGRPC) ProtoMessage

func (*EventMetaHeartbeatStatusGRPC) ProtoMessage()

func (*EventMetaHeartbeatStatusGRPC) ProtoReflect

func (*EventMetaHeartbeatStatusGRPC) Reset

func (x *EventMetaHeartbeatStatusGRPC) Reset()

func (*EventMetaHeartbeatStatusGRPC) String

func (*EventMetaHeartbeatStatusGRPC) ToStruct

type EventMetaHeartbeatStatusStat

type EventMetaHeartbeatStatusStat struct {
	PacketReceived  uint64 `json:"packet_received"`
	PacketSent      uint64 `json:"packet_sent"`
	PacketLost      uint64 `json:"packet_lost"`
	MessageReceived uint64 `json:"message_received"`
	MessageSent     uint64 `json:"message_sent"`
	DisconnectTimes uint64 `json:"disconnect_times"`
	LostTimes       uint64 `json:"lost_times"`
	LastMessageTime uint64 `json:"last_message_time"`
}

func (*EventMetaHeartbeatStatusStat) ToGRPC

type EventMetaHeartbeatStatusStatGRPC

type EventMetaHeartbeatStatusStatGRPC struct {
	PacketReceived  uint64 `protobuf:"varint,1,opt,name=packet_received,json=packetReceived,proto3" json:"packet_received,omitempty"`
	PacketSent      uint64 `protobuf:"varint,2,opt,name=packet_sent,json=packetSent,proto3" json:"packet_sent,omitempty"`
	PacketLost      uint64 `protobuf:"varint,3,opt,name=packet_lost,json=packetLost,proto3" json:"packet_lost,omitempty"`
	MessageReceived uint64 `protobuf:"varint,4,opt,name=message_received,json=messageReceived,proto3" json:"message_received,omitempty"`
	MessageSent     uint64 `protobuf:"varint,5,opt,name=message_sent,json=messageSent,proto3" json:"message_sent,omitempty"`
	DisconnectTimes uint64 `protobuf:"varint,6,opt,name=disconnect_times,json=disconnectTimes,proto3" json:"disconnect_times,omitempty"`
	LostTimes       uint64 `protobuf:"varint,7,opt,name=lost_times,json=lostTimes,proto3" json:"lost_times,omitempty"`
	LastMessageTime uint64 `protobuf:"varint,8,opt,name=last_message_time,json=lastMessageTime,proto3" json:"last_message_time,omitempty"`
	// contains filtered or unexported fields
}

func (*EventMetaHeartbeatStatusStatGRPC) Descriptor deprecated

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

Deprecated: Use EventMetaHeartbeatStatusStatGRPC.ProtoReflect.Descriptor instead.

func (*EventMetaHeartbeatStatusStatGRPC) GetDisconnectTimes

func (x *EventMetaHeartbeatStatusStatGRPC) GetDisconnectTimes() uint64

func (*EventMetaHeartbeatStatusStatGRPC) GetLastMessageTime

func (x *EventMetaHeartbeatStatusStatGRPC) GetLastMessageTime() uint64

func (*EventMetaHeartbeatStatusStatGRPC) GetLostTimes

func (x *EventMetaHeartbeatStatusStatGRPC) GetLostTimes() uint64

func (*EventMetaHeartbeatStatusStatGRPC) GetMessageReceived

func (x *EventMetaHeartbeatStatusStatGRPC) GetMessageReceived() uint64

func (*EventMetaHeartbeatStatusStatGRPC) GetMessageSent

func (x *EventMetaHeartbeatStatusStatGRPC) GetMessageSent() uint64

func (*EventMetaHeartbeatStatusStatGRPC) GetPacketLost

func (x *EventMetaHeartbeatStatusStatGRPC) GetPacketLost() uint64

func (*EventMetaHeartbeatStatusStatGRPC) GetPacketReceived

func (x *EventMetaHeartbeatStatusStatGRPC) GetPacketReceived() uint64

func (*EventMetaHeartbeatStatusStatGRPC) GetPacketSent

func (x *EventMetaHeartbeatStatusStatGRPC) GetPacketSent() uint64

func (*EventMetaHeartbeatStatusStatGRPC) ProtoMessage

func (*EventMetaHeartbeatStatusStatGRPC) ProtoMessage()

func (*EventMetaHeartbeatStatusStatGRPC) ProtoReflect

func (*EventMetaHeartbeatStatusStatGRPC) Reset

func (*EventMetaHeartbeatStatusStatGRPC) String

func (*EventMetaHeartbeatStatusStatGRPC) ToStruct

type EventMetaLifecycle

type EventMetaLifecycle struct {
	EventMetaBase
	/*
		enable、disable、connect	事件子类型,分别表示 OneBot 启用、停用、WebSocket 连接成功

		注意,目前生命周期元事件中,只有 HTTP POST 的情况下可以收到 enable 和 disable

		只有正向 WebSocket 和反向 WebSocket 可以收到 connect。
	*/
	SubType string `json:"sub_type"`
}

func (*EventMetaLifecycle) ToGRPC

type EventMetaLifecycleGRPC

type EventMetaLifecycleGRPC struct {
	EventMetaBase *EventMetaBaseGRPC `protobuf:"bytes,1,opt,name=eventMetaBase,proto3" json:"eventMetaBase,omitempty"`
	//
	//enable、disable、connect	事件子类型,分别表示 OneBot 启用、停用、WebSocket 连接成功
	//
	//注意,目前生命周期元事件中,只有 HTTP POST 的情况下可以收到 enable 和 disable
	//
	//只有正向 WebSocket 和反向 WebSocket 可以收到 connect。
	SubType string `protobuf:"bytes,2,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"`
	// contains filtered or unexported fields
}

func (*EventMetaLifecycleGRPC) Descriptor deprecated

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

Deprecated: Use EventMetaLifecycleGRPC.ProtoReflect.Descriptor instead.

func (*EventMetaLifecycleGRPC) GetEventMetaBase

func (x *EventMetaLifecycleGRPC) GetEventMetaBase() *EventMetaBaseGRPC

func (*EventMetaLifecycleGRPC) GetSubType

func (x *EventMetaLifecycleGRPC) GetSubType() string

func (*EventMetaLifecycleGRPC) ProtoMessage

func (*EventMetaLifecycleGRPC) ProtoMessage()

func (*EventMetaLifecycleGRPC) ProtoReflect

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

func (*EventMetaLifecycleGRPC) Reset

func (x *EventMetaLifecycleGRPC) Reset()

func (*EventMetaLifecycleGRPC) String

func (x *EventMetaLifecycleGRPC) String() string

func (*EventMetaLifecycleGRPC) ToStruct

type EventNoticeBase

type EventNoticeBase struct {
	EventBase
	NoticeType string `json:"notice_type"`
}

func (*EventNoticeBase) ToGRPC

func (e *EventNoticeBase) ToGRPC() *EventNoticeBaseGRPC

type EventNoticeBaseGRPC

type EventNoticeBaseGRPC struct {
	EventBase  *EventBaseGRPC `protobuf:"bytes,1,opt,name=eventBase,proto3" json:"eventBase,omitempty"`
	NoticeType string         `protobuf:"bytes,2,opt,name=notice_type,json=noticeType,proto3" json:"notice_type,omitempty"`
	// contains filtered or unexported fields
}

func (*EventNoticeBaseGRPC) Descriptor deprecated

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

Deprecated: Use EventNoticeBaseGRPC.ProtoReflect.Descriptor instead.

func (*EventNoticeBaseGRPC) GetEventBase

func (x *EventNoticeBaseGRPC) GetEventBase() *EventBaseGRPC

func (*EventNoticeBaseGRPC) GetNoticeType

func (x *EventNoticeBaseGRPC) GetNoticeType() string

func (*EventNoticeBaseGRPC) ProtoMessage

func (*EventNoticeBaseGRPC) ProtoMessage()

func (*EventNoticeBaseGRPC) ProtoReflect

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

func (*EventNoticeBaseGRPC) Reset

func (x *EventNoticeBaseGRPC) Reset()

func (*EventNoticeBaseGRPC) String

func (x *EventNoticeBaseGRPC) String() string

func (*EventNoticeBaseGRPC) ToStruct

func (e *EventNoticeBaseGRPC) ToStruct() *EventNoticeBase

type EventNoticeFriendAdd

type EventNoticeFriendAdd struct {
	EventNoticeBase
	//新添加好友 QQ 号
	UserId int64 `json:"user_id"`
}

好友添加

func (*EventNoticeFriendAdd) ToGRPC

type EventNoticeFriendAddGRPC

type EventNoticeFriendAddGRPC struct {
	EventNoticeBase *EventNoticeBaseGRPC `protobuf:"bytes,1,opt,name=eventNoticeBase,proto3" json:"eventNoticeBase,omitempty"`
	//新添加好友 QQ 号
	UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

好友添加

func (*EventNoticeFriendAddGRPC) Descriptor deprecated

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

Deprecated: Use EventNoticeFriendAddGRPC.ProtoReflect.Descriptor instead.

func (*EventNoticeFriendAddGRPC) GetEventNoticeBase

func (x *EventNoticeFriendAddGRPC) GetEventNoticeBase() *EventNoticeBaseGRPC

func (*EventNoticeFriendAddGRPC) GetUserId

func (x *EventNoticeFriendAddGRPC) GetUserId() int64

func (*EventNoticeFriendAddGRPC) ProtoMessage

func (*EventNoticeFriendAddGRPC) ProtoMessage()

func (*EventNoticeFriendAddGRPC) ProtoReflect

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

func (*EventNoticeFriendAddGRPC) Reset

func (x *EventNoticeFriendAddGRPC) Reset()

func (*EventNoticeFriendAddGRPC) String

func (x *EventNoticeFriendAddGRPC) String() string

func (*EventNoticeFriendAddGRPC) ToStruct

type EventNoticeFriendRecall

type EventNoticeFriendRecall struct {
	EventNoticeBase
	//好友 QQ 号
	UserId int64 `json:"user_id"`
	//被撤回的消息 Id
	MessageId int64 `json:"message_id"`
}

好友消息撤回

func (*EventNoticeFriendRecall) ToGRPC

type EventNoticeFriendRecallGRPC

type EventNoticeFriendRecallGRPC struct {
	EventNoticeBase *EventNoticeBaseGRPC `protobuf:"bytes,1,opt,name=eventNoticeBase,proto3" json:"eventNoticeBase,omitempty"`
	//好友 QQ 号
	UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	//被撤回的消息 Id
	MessageId int64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

好友消息撤回

func (*EventNoticeFriendRecallGRPC) Descriptor deprecated

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

Deprecated: Use EventNoticeFriendRecallGRPC.ProtoReflect.Descriptor instead.

func (*EventNoticeFriendRecallGRPC) GetEventNoticeBase

func (x *EventNoticeFriendRecallGRPC) GetEventNoticeBase() *EventNoticeBaseGRPC

func (*EventNoticeFriendRecallGRPC) GetMessageId

func (x *EventNoticeFriendRecallGRPC) GetMessageId() int64

func (*EventNoticeFriendRecallGRPC) GetUserId

func (x *EventNoticeFriendRecallGRPC) GetUserId() int64

func (*EventNoticeFriendRecallGRPC) ProtoMessage

func (*EventNoticeFriendRecallGRPC) ProtoMessage()

func (*EventNoticeFriendRecallGRPC) ProtoReflect

func (*EventNoticeFriendRecallGRPC) Reset

func (x *EventNoticeFriendRecallGRPC) Reset()

func (*EventNoticeFriendRecallGRPC) String

func (x *EventNoticeFriendRecallGRPC) String() string

func (*EventNoticeFriendRecallGRPC) ToStruct

type EventNoticeGroupAdmin

type EventNoticeGroupAdmin struct {
	EventNoticeGroupBase
	//set、unset	事件子类型,分别表示设置和取消管理员
	SubType string `json:"sub_type"`
	//管理员 QQ 号
	UserId int64 `json:"user_id"`
}

func (*EventNoticeGroupAdmin) ToGRPC

type EventNoticeGroupAdminGRPC

type EventNoticeGroupAdminGRPC struct {
	EventNoticeGroupBase *EventNoticeGroupBaseGRPC `protobuf:"bytes,1,opt,name=eventNoticeGroupBase,proto3" json:"eventNoticeGroupBase,omitempty"`
	//set、unset	事件子类型,分别表示设置和取消管理员
	SubType string `protobuf:"bytes,2,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"`
	//管理员 QQ 号
	UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*EventNoticeGroupAdminGRPC) Descriptor deprecated

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

Deprecated: Use EventNoticeGroupAdminGRPC.ProtoReflect.Descriptor instead.

func (*EventNoticeGroupAdminGRPC) GetEventNoticeGroupBase

func (x *EventNoticeGroupAdminGRPC) GetEventNoticeGroupBase() *EventNoticeGroupBaseGRPC

func (*EventNoticeGroupAdminGRPC) GetSubType

func (x *EventNoticeGroupAdminGRPC) GetSubType() string

func (*EventNoticeGroupAdminGRPC) GetUserId

func (x *EventNoticeGroupAdminGRPC) GetUserId() int64

func (*EventNoticeGroupAdminGRPC) ProtoMessage

func (*EventNoticeGroupAdminGRPC) ProtoMessage()

func (*EventNoticeGroupAdminGRPC) ProtoReflect

func (*EventNoticeGroupAdminGRPC) Reset

func (x *EventNoticeGroupAdminGRPC) Reset()

func (*EventNoticeGroupAdminGRPC) String

func (x *EventNoticeGroupAdminGRPC) String() string

func (*EventNoticeGroupAdminGRPC) ToStruct

type EventNoticeGroupBan

type EventNoticeGroupBan struct {
	EventNoticeGroupBase
	//ban、lift_ban	事件子类型,分别表示禁言、解除禁言
	SubType string `json:"sub_type"`
	//加入者 QQ 号
	UserId int64 `json:"user_id"`
	//操作者 QQ 号
	OperatorId int64 `json:"operator_id"`
	//禁言时长,单位秒
	Duration int64 `json:"duration"`
}

群禁言

func (*EventNoticeGroupBan) ToGRPC

type EventNoticeGroupBanGRPC

type EventNoticeGroupBanGRPC struct {
	EventNoticeGroupBase *EventNoticeGroupBaseGRPC `protobuf:"bytes,1,opt,name=eventNoticeGroupBase,proto3" json:"eventNoticeGroupBase,omitempty"`
	//ban、lift_ban	事件子类型,分别表示禁言、解除禁言
	SubType string `protobuf:"bytes,2,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"`
	//加入者 QQ 号
	UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	//操作者 QQ 号
	OperatorId int64 `protobuf:"varint,4,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	//禁言时长,单位秒
	Duration int64 `protobuf:"varint,5,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

群禁言

func (*EventNoticeGroupBanGRPC) Descriptor deprecated

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

Deprecated: Use EventNoticeGroupBanGRPC.ProtoReflect.Descriptor instead.

func (*EventNoticeGroupBanGRPC) GetDuration

func (x *EventNoticeGroupBanGRPC) GetDuration() int64

func (*EventNoticeGroupBanGRPC) GetEventNoticeGroupBase

func (x *EventNoticeGroupBanGRPC) GetEventNoticeGroupBase() *EventNoticeGroupBaseGRPC

func (*EventNoticeGroupBanGRPC) GetOperatorId

func (x *EventNoticeGroupBanGRPC) GetOperatorId() int64

func (*EventNoticeGroupBanGRPC) GetSubType

func (x *EventNoticeGroupBanGRPC) GetSubType() string

func (*EventNoticeGroupBanGRPC) GetUserId

func (x *EventNoticeGroupBanGRPC) GetUserId() int64

func (*EventNoticeGroupBanGRPC) ProtoMessage

func (*EventNoticeGroupBanGRPC) ProtoMessage()

func (*EventNoticeGroupBanGRPC) ProtoReflect

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

func (*EventNoticeGroupBanGRPC) Reset

func (x *EventNoticeGroupBanGRPC) Reset()

func (*EventNoticeGroupBanGRPC) String

func (x *EventNoticeGroupBanGRPC) String() string

func (*EventNoticeGroupBanGRPC) ToStruct

type EventNoticeGroupBase

type EventNoticeGroupBase struct {
	EventNoticeBase
	//群号
	GroupId int64 `json:"group_id"`
}

func (*EventNoticeGroupBase) ToGRPC

type EventNoticeGroupBaseGRPC

type EventNoticeGroupBaseGRPC struct {
	EventNoticeBase *EventNoticeBaseGRPC `protobuf:"bytes,1,opt,name=eventNoticeBase,proto3" json:"eventNoticeBase,omitempty"`
	//群号
	GroupId int64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*EventNoticeGroupBaseGRPC) Descriptor deprecated

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

Deprecated: Use EventNoticeGroupBaseGRPC.ProtoReflect.Descriptor instead.

func (*EventNoticeGroupBaseGRPC) GetEventNoticeBase

func (x *EventNoticeGroupBaseGRPC) GetEventNoticeBase() *EventNoticeBaseGRPC

func (*EventNoticeGroupBaseGRPC) GetGroupId

func (x *EventNoticeGroupBaseGRPC) GetGroupId() int64

func (*EventNoticeGroupBaseGRPC) ProtoMessage

func (*EventNoticeGroupBaseGRPC) ProtoMessage()

func (*EventNoticeGroupBaseGRPC) ProtoReflect

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

func (*EventNoticeGroupBaseGRPC) Reset

func (x *EventNoticeGroupBaseGRPC) Reset()

func (*EventNoticeGroupBaseGRPC) String

func (x *EventNoticeGroupBaseGRPC) String() string

func (*EventNoticeGroupBaseGRPC) ToStruct

type EventNoticeGroupDecrease

type EventNoticeGroupDecrease struct {
	EventNoticeGroupBase
	//leave、kick、kick_me	事件子类型,分别表示主动退群、成员被踢、登录号被踢
	SubType string `json:"sub_type"`
	//离开者 QQ 号
	UserId int64 `json:"user_id"`
	//操作者 QQ 号(如果是主动退群,则和 user_id 相同)
	OperatorId int64 `json:"operator_id"`
}

群成员减少

func (*EventNoticeGroupDecrease) ToGRPC

type EventNoticeGroupDecreaseGRPC

type EventNoticeGroupDecreaseGRPC struct {
	EventNoticeGroupBase *EventNoticeGroupBaseGRPC `protobuf:"bytes,1,opt,name=eventNoticeGroupBase,proto3" json:"eventNoticeGroupBase,omitempty"`
	//leave、kick、kick_me	事件子类型,分别表示主动退群、成员被踢、登录号被踢
	SubType string `protobuf:"bytes,2,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"`
	//离开者 QQ 号
	UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	//操作者 QQ 号(如果是主动退群,则和 user_id 相同)
	OperatorId int64 `protobuf:"varint,4,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	// contains filtered or unexported fields
}

群成员减少

func (*EventNoticeGroupDecreaseGRPC) Descriptor deprecated

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

Deprecated: Use EventNoticeGroupDecreaseGRPC.ProtoReflect.Descriptor instead.

func (*EventNoticeGroupDecreaseGRPC) GetEventNoticeGroupBase

func (x *EventNoticeGroupDecreaseGRPC) GetEventNoticeGroupBase() *EventNoticeGroupBaseGRPC

func (*EventNoticeGroupDecreaseGRPC) GetOperatorId

func (x *EventNoticeGroupDecreaseGRPC) GetOperatorId() int64

func (*EventNoticeGroupDecreaseGRPC) GetSubType

func (x *EventNoticeGroupDecreaseGRPC) GetSubType() string

func (*EventNoticeGroupDecreaseGRPC) GetUserId

func (x *EventNoticeGroupDecreaseGRPC) GetUserId() int64

func (*EventNoticeGroupDecreaseGRPC) ProtoMessage

func (*EventNoticeGroupDecreaseGRPC) ProtoMessage()

func (*EventNoticeGroupDecreaseGRPC) ProtoReflect

func (*EventNoticeGroupDecreaseGRPC) Reset

func (x *EventNoticeGroupDecreaseGRPC) Reset()

func (*EventNoticeGroupDecreaseGRPC) String

func (*EventNoticeGroupDecreaseGRPC) ToStruct

type EventNoticeGroupIncrease

type EventNoticeGroupIncrease struct {
	EventNoticeGroupBase
	//approve、invite	事件子类型,分别表示管理员已同意入群、管理员邀请入群
	SubType string `json:"sub_type"`
	//加入者 QQ 号
	UserId int64 `json:"user_id"`
	//操作者 QQ 号
	OperatorId int64 `json:"operator_id"`
}

群成员增加

func (*EventNoticeGroupIncrease) ToGRPC

type EventNoticeGroupIncreaseGRPC

type EventNoticeGroupIncreaseGRPC struct {
	EventNoticeGroupBase *EventNoticeGroupBaseGRPC `protobuf:"bytes,1,opt,name=eventNoticeGroupBase,proto3" json:"eventNoticeGroupBase,omitempty"`
	//approve、invite	事件子类型,分别表示管理员已同意入群、管理员邀请入群
	SubType string `protobuf:"bytes,2,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"`
	//加入者 QQ 号
	UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	//操作者 QQ 号
	OperatorId int64 `protobuf:"varint,4,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	// contains filtered or unexported fields
}

群成员增加

func (*EventNoticeGroupIncreaseGRPC) Descriptor deprecated

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

Deprecated: Use EventNoticeGroupIncreaseGRPC.ProtoReflect.Descriptor instead.

func (*EventNoticeGroupIncreaseGRPC) GetEventNoticeGroupBase

func (x *EventNoticeGroupIncreaseGRPC) GetEventNoticeGroupBase() *EventNoticeGroupBaseGRPC

func (*EventNoticeGroupIncreaseGRPC) GetOperatorId

func (x *EventNoticeGroupIncreaseGRPC) GetOperatorId() int64

func (*EventNoticeGroupIncreaseGRPC) GetSubType

func (x *EventNoticeGroupIncreaseGRPC) GetSubType() string

func (*EventNoticeGroupIncreaseGRPC) GetUserId

func (x *EventNoticeGroupIncreaseGRPC) GetUserId() int64

func (*EventNoticeGroupIncreaseGRPC) ProtoMessage

func (*EventNoticeGroupIncreaseGRPC) ProtoMessage()

func (*EventNoticeGroupIncreaseGRPC) ProtoReflect

func (*EventNoticeGroupIncreaseGRPC) Reset

func (x *EventNoticeGroupIncreaseGRPC) Reset()

func (*EventNoticeGroupIncreaseGRPC) String

func (*EventNoticeGroupIncreaseGRPC) ToStruct

type EventNoticeGroupNotifyHonor

type EventNoticeGroupNotifyHonor struct {
	EventNoticeNotifyGroupBase
	//talkative、performer、emotion	荣誉类型,分别表示龙王、群聊之火、快乐源泉
	HonorType string `json:"honor_type"`
	//成员 QQ 号
	UserId int64 `json:"user_id"`
}

群成员荣誉变更

func (*EventNoticeGroupNotifyHonor) ToGRPC

type EventNoticeGroupNotifyHonorGRPC

type EventNoticeGroupNotifyHonorGRPC struct {
	EventNoticeNotifyGroupBase *EventNoticeNotifyGroupBaseGRPC `protobuf:"bytes,1,opt,name=eventNoticeNotifyGroupBase,proto3" json:"eventNoticeNotifyGroupBase,omitempty"`
	//talkative、performer、emotion	荣誉类型,分别表示龙王、群聊之火、快乐源泉
	HonorType string `protobuf:"bytes,2,opt,name=honor_type,json=honorType,proto3" json:"honor_type,omitempty"`
	//成员 QQ 号
	UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

群成员荣誉变更

func (*EventNoticeGroupNotifyHonorGRPC) Descriptor deprecated

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

Deprecated: Use EventNoticeGroupNotifyHonorGRPC.ProtoReflect.Descriptor instead.

func (*EventNoticeGroupNotifyHonorGRPC) GetEventNoticeNotifyGroupBase

func (x *EventNoticeGroupNotifyHonorGRPC) GetEventNoticeNotifyGroupBase() *EventNoticeNotifyGroupBaseGRPC

func (*EventNoticeGroupNotifyHonorGRPC) GetHonorType

func (x *EventNoticeGroupNotifyHonorGRPC) GetHonorType() string

func (*EventNoticeGroupNotifyHonorGRPC) GetUserId

func (x *EventNoticeGroupNotifyHonorGRPC) GetUserId() int64

func (*EventNoticeGroupNotifyHonorGRPC) ProtoMessage

func (*EventNoticeGroupNotifyHonorGRPC) ProtoMessage()

func (*EventNoticeGroupNotifyHonorGRPC) ProtoReflect

func (*EventNoticeGroupNotifyHonorGRPC) Reset

func (*EventNoticeGroupNotifyHonorGRPC) String

func (*EventNoticeGroupNotifyHonorGRPC) ToStruct

type EventNoticeGroupNotifyLuckyKing

type EventNoticeGroupNotifyLuckyKing struct {
	EventNoticeNotifyGroupBase
	//红包发送者 QQ 号
	UserId int64 `json:"user_id"`
	//运气王 QQ 号
	TargetId int64 `json:"target_id"`
}

群红包运气王

func (*EventNoticeGroupNotifyLuckyKing) ToGRPC

type EventNoticeGroupNotifyLuckyKingGRPC

type EventNoticeGroupNotifyLuckyKingGRPC struct {
	EventNoticeNotifyGroupBase *EventNoticeNotifyGroupBaseGRPC `protobuf:"bytes,1,opt,name=eventNoticeNotifyGroupBase,proto3" json:"eventNoticeNotifyGroupBase,omitempty"`
	//红包发送者 QQ 号
	UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	//运气王 QQ 号
	TargetId int64 `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// contains filtered or unexported fields
}

群红包运气王

func (*EventNoticeGroupNotifyLuckyKingGRPC) Descriptor deprecated

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

Deprecated: Use EventNoticeGroupNotifyLuckyKingGRPC.ProtoReflect.Descriptor instead.

func (*EventNoticeGroupNotifyLuckyKingGRPC) GetEventNoticeNotifyGroupBase

func (x *EventNoticeGroupNotifyLuckyKingGRPC) GetEventNoticeNotifyGroupBase() *EventNoticeNotifyGroupBaseGRPC

func (*EventNoticeGroupNotifyLuckyKingGRPC) GetTargetId

func (x *EventNoticeGroupNotifyLuckyKingGRPC) GetTargetId() int64

func (*EventNoticeGroupNotifyLuckyKingGRPC) GetUserId

func (*EventNoticeGroupNotifyLuckyKingGRPC) ProtoMessage

func (*EventNoticeGroupNotifyLuckyKingGRPC) ProtoMessage()

func (*EventNoticeGroupNotifyLuckyKingGRPC) ProtoReflect

func (*EventNoticeGroupNotifyLuckyKingGRPC) Reset

func (*EventNoticeGroupNotifyLuckyKingGRPC) String

func (*EventNoticeGroupNotifyLuckyKingGRPC) ToStruct

type EventNoticeGroupNotifyPoke

type EventNoticeGroupNotifyPoke struct {
	EventNoticeNotifyGroupBase
	//发送者 QQ 号
	UserId int64 `json:"user_id"`
	//被戳者 QQ 号
	TargetId int64 `json:"target_id"`
}

群内戳一戳

func (*EventNoticeGroupNotifyPoke) ToGRPC

type EventNoticeGroupNotifyPokeGRPC

type EventNoticeGroupNotifyPokeGRPC struct {
	EventNoticeNotifyGroupBase *EventNoticeNotifyGroupBaseGRPC `protobuf:"bytes,1,opt,name=eventNoticeNotifyGroupBase,proto3" json:"eventNoticeNotifyGroupBase,omitempty"`
	//发送者 QQ 号
	UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	//被戳者 QQ 号
	TargetId int64 `protobuf:"varint,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// contains filtered or unexported fields
}

群内戳一戳

func (*EventNoticeGroupNotifyPokeGRPC) Descriptor deprecated

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

Deprecated: Use EventNoticeGroupNotifyPokeGRPC.ProtoReflect.Descriptor instead.

func (*EventNoticeGroupNotifyPokeGRPC) GetEventNoticeNotifyGroupBase

func (x *EventNoticeGroupNotifyPokeGRPC) GetEventNoticeNotifyGroupBase() *EventNoticeNotifyGroupBaseGRPC

func (*EventNoticeGroupNotifyPokeGRPC) GetTargetId

func (x *EventNoticeGroupNotifyPokeGRPC) GetTargetId() int64

func (*EventNoticeGroupNotifyPokeGRPC) GetUserId

func (x *EventNoticeGroupNotifyPokeGRPC) GetUserId() int64

func (*EventNoticeGroupNotifyPokeGRPC) ProtoMessage

func (*EventNoticeGroupNotifyPokeGRPC) ProtoMessage()

func (*EventNoticeGroupNotifyPokeGRPC) ProtoReflect

func (*EventNoticeGroupNotifyPokeGRPC) Reset

func (x *EventNoticeGroupNotifyPokeGRPC) Reset()

func (*EventNoticeGroupNotifyPokeGRPC) String

func (*EventNoticeGroupNotifyPokeGRPC) ToStruct

type EventNoticeGroupRecall

type EventNoticeGroupRecall struct {
	EventNoticeGroupBase
	//消息发送者 QQ 号
	UserId int64 `json:"user_id"`
	//操作者 QQ 号
	OperatorId int64 `json:"operator_id"`
	//被撤回的消息 Id
	MessageId int64 `json:"message_id"`
}

群消息撤回

func (*EventNoticeGroupRecall) ToGRPC

type EventNoticeGroupRecallGRPC

type EventNoticeGroupRecallGRPC struct {
	EventNoticeGroupBase *EventNoticeGroupBaseGRPC `protobuf:"bytes,1,opt,name=eventNoticeGroupBase,proto3" json:"eventNoticeGroupBase,omitempty"`
	//消息发送者 QQ 号
	UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	//操作者 QQ 号
	OperatorId int64 `protobuf:"varint,3,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"`
	//被撤回的消息 Id
	MessageId int64 `protobuf:"varint,4,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

群消息撤回

func (*EventNoticeGroupRecallGRPC) Descriptor deprecated

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

Deprecated: Use EventNoticeGroupRecallGRPC.ProtoReflect.Descriptor instead.

func (*EventNoticeGroupRecallGRPC) GetEventNoticeGroupBase

func (x *EventNoticeGroupRecallGRPC) GetEventNoticeGroupBase() *EventNoticeGroupBaseGRPC

func (*EventNoticeGroupRecallGRPC) GetMessageId

func (x *EventNoticeGroupRecallGRPC) GetMessageId() int64

func (*EventNoticeGroupRecallGRPC) GetOperatorId

func (x *EventNoticeGroupRecallGRPC) GetOperatorId() int64

func (*EventNoticeGroupRecallGRPC) GetUserId

func (x *EventNoticeGroupRecallGRPC) GetUserId() int64

func (*EventNoticeGroupRecallGRPC) ProtoMessage

func (*EventNoticeGroupRecallGRPC) ProtoMessage()

func (*EventNoticeGroupRecallGRPC) ProtoReflect

func (*EventNoticeGroupRecallGRPC) Reset

func (x *EventNoticeGroupRecallGRPC) Reset()

func (*EventNoticeGroupRecallGRPC) String

func (x *EventNoticeGroupRecallGRPC) String() string

func (*EventNoticeGroupRecallGRPC) ToStruct

type EventNoticeGroupUpload

type EventNoticeGroupUpload struct {
	EventNoticeGroupBase
	//发送者 QQ 号
	UserId int64   `json:"user_id"`
	File   *QQFile `json:"file"`
}

func (*EventNoticeGroupUpload) ToGRPC

type EventNoticeGroupUploadGRPC

type EventNoticeGroupUploadGRPC struct {
	EventNoticeGroupBase *EventNoticeGroupBaseGRPC `protobuf:"bytes,1,opt,name=eventNoticeGroupBase,proto3" json:"eventNoticeGroupBase,omitempty"`
	//发送者 QQ 号
	UserId int64       `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	File   *QQFileGRPC `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

func (*EventNoticeGroupUploadGRPC) Descriptor deprecated

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

Deprecated: Use EventNoticeGroupUploadGRPC.ProtoReflect.Descriptor instead.

func (*EventNoticeGroupUploadGRPC) GetEventNoticeGroupBase

func (x *EventNoticeGroupUploadGRPC) GetEventNoticeGroupBase() *EventNoticeGroupBaseGRPC

func (*EventNoticeGroupUploadGRPC) GetFile

func (x *EventNoticeGroupUploadGRPC) GetFile() *QQFileGRPC

func (*EventNoticeGroupUploadGRPC) GetUserId

func (x *EventNoticeGroupUploadGRPC) GetUserId() int64

func (*EventNoticeGroupUploadGRPC) ProtoMessage

func (*EventNoticeGroupUploadGRPC) ProtoMessage()

func (*EventNoticeGroupUploadGRPC) ProtoReflect

func (*EventNoticeGroupUploadGRPC) Reset

func (x *EventNoticeGroupUploadGRPC) Reset()

func (*EventNoticeGroupUploadGRPC) String

func (x *EventNoticeGroupUploadGRPC) String() string

func (*EventNoticeGroupUploadGRPC) ToStruct

type EventNoticeNotifyBase

type EventNoticeNotifyBase struct {
	EventNoticeBase
	// honor,lucky_king,poke 群荣誉,红包运气王,戳一戳
	SubType string `json:"sub_type"`
}

func (*EventNoticeNotifyBase) ToGRPC

type EventNoticeNotifyBaseGRPC

type EventNoticeNotifyBaseGRPC struct {
	EventNoticeBase *EventNoticeBaseGRPC `protobuf:"bytes,1,opt,name=eventNoticeBase,proto3" json:"eventNoticeBase,omitempty"`
	// honor,lucky_king,poke 群荣誉,红包运气王,戳一戳
	SubType string `protobuf:"bytes,2,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"`
	// contains filtered or unexported fields
}

func (*EventNoticeNotifyBaseGRPC) Descriptor deprecated

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

Deprecated: Use EventNoticeNotifyBaseGRPC.ProtoReflect.Descriptor instead.

func (*EventNoticeNotifyBaseGRPC) GetEventNoticeBase

func (x *EventNoticeNotifyBaseGRPC) GetEventNoticeBase() *EventNoticeBaseGRPC

func (*EventNoticeNotifyBaseGRPC) GetSubType

func (x *EventNoticeNotifyBaseGRPC) GetSubType() string

func (*EventNoticeNotifyBaseGRPC) ProtoMessage

func (*EventNoticeNotifyBaseGRPC) ProtoMessage()

func (*EventNoticeNotifyBaseGRPC) ProtoReflect

func (*EventNoticeNotifyBaseGRPC) Reset

func (x *EventNoticeNotifyBaseGRPC) Reset()

func (*EventNoticeNotifyBaseGRPC) String

func (x *EventNoticeNotifyBaseGRPC) String() string

func (*EventNoticeNotifyBaseGRPC) ToStruct

type EventNoticeNotifyGroupBase

type EventNoticeNotifyGroupBase struct {
	EventNoticeGroupBase
	// honor,lucky_king,poke 群荣誉,红包运气王,戳一戳
	SubType string `json:"sub_type"`
}

func (*EventNoticeNotifyGroupBase) ToGRPC

type EventNoticeNotifyGroupBaseGRPC

type EventNoticeNotifyGroupBaseGRPC struct {
	EventNoticeGroupBase *EventNoticeGroupBaseGRPC `protobuf:"bytes,1,opt,name=eventNoticeGroupBase,proto3" json:"eventNoticeGroupBase,omitempty"`
	// honor,lucky_king,poke 群荣誉,红包运气王,戳一戳
	SubType string `protobuf:"bytes,2,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"`
	// contains filtered or unexported fields
}

func (*EventNoticeNotifyGroupBaseGRPC) Descriptor deprecated

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

Deprecated: Use EventNoticeNotifyGroupBaseGRPC.ProtoReflect.Descriptor instead.

func (*EventNoticeNotifyGroupBaseGRPC) GetEventNoticeGroupBase

func (x *EventNoticeNotifyGroupBaseGRPC) GetEventNoticeGroupBase() *EventNoticeGroupBaseGRPC

func (*EventNoticeNotifyGroupBaseGRPC) GetSubType

func (x *EventNoticeNotifyGroupBaseGRPC) GetSubType() string

func (*EventNoticeNotifyGroupBaseGRPC) ProtoMessage

func (*EventNoticeNotifyGroupBaseGRPC) ProtoMessage()

func (*EventNoticeNotifyGroupBaseGRPC) ProtoReflect

func (*EventNoticeNotifyGroupBaseGRPC) Reset

func (x *EventNoticeNotifyGroupBaseGRPC) Reset()

func (*EventNoticeNotifyGroupBaseGRPC) String

func (*EventNoticeNotifyGroupBaseGRPC) ToStruct

type EventRequestBase

type EventRequestBase struct {
	EventBase
	//请求类型
	RequestType string `json:"request_type"`
}

func (*EventRequestBase) ToGRPC

type EventRequestBaseGRPC

type EventRequestBaseGRPC struct {
	EventBase *EventBaseGRPC `protobuf:"bytes,1,opt,name=eventBase,proto3" json:"eventBase,omitempty"`
	//请求类型
	RequestType string `protobuf:"bytes,2,opt,name=request_type,json=requestType,proto3" json:"request_type,omitempty"`
	// contains filtered or unexported fields
}

func (*EventRequestBaseGRPC) Descriptor deprecated

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

Deprecated: Use EventRequestBaseGRPC.ProtoReflect.Descriptor instead.

func (*EventRequestBaseGRPC) GetEventBase

func (x *EventRequestBaseGRPC) GetEventBase() *EventBaseGRPC

func (*EventRequestBaseGRPC) GetRequestType

func (x *EventRequestBaseGRPC) GetRequestType() string

func (*EventRequestBaseGRPC) ProtoMessage

func (*EventRequestBaseGRPC) ProtoMessage()

func (*EventRequestBaseGRPC) ProtoReflect

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

func (*EventRequestBaseGRPC) Reset

func (x *EventRequestBaseGRPC) Reset()

func (*EventRequestBaseGRPC) String

func (x *EventRequestBaseGRPC) String() string

func (*EventRequestBaseGRPC) ToStruct

func (e *EventRequestBaseGRPC) ToStruct() *EventRequestBase

type EventRequestFriend

type EventRequestFriend struct {
	EventRequestBase
	//发送请求的QQ
	UserId int64 `json:"user_id"`
	//验证信息
	Comment string `json:"comment"`
	//请求 flag,在调用处理请求的 API 时需要传入
	Flag string `json:"flag"`
}

func (*EventRequestFriend) ToGRPC

type EventRequestFriendGRPC

type EventRequestFriendGRPC struct {
	EventRequestBase *EventRequestBaseGRPC `protobuf:"bytes,1,opt,name=eventRequestBase,proto3" json:"eventRequestBase,omitempty"`
	//发送请求的QQ
	UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	//验证信息
	Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	//请求 flag,在调用处理请求的 API 时需要传入
	Flag string `protobuf:"bytes,4,opt,name=flag,proto3" json:"flag,omitempty"`
	// contains filtered or unexported fields
}

func (*EventRequestFriendGRPC) Descriptor deprecated

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

Deprecated: Use EventRequestFriendGRPC.ProtoReflect.Descriptor instead.

func (*EventRequestFriendGRPC) GetComment

func (x *EventRequestFriendGRPC) GetComment() string

func (*EventRequestFriendGRPC) GetEventRequestBase

func (x *EventRequestFriendGRPC) GetEventRequestBase() *EventRequestBaseGRPC

func (*EventRequestFriendGRPC) GetFlag

func (x *EventRequestFriendGRPC) GetFlag() string

func (*EventRequestFriendGRPC) GetUserId

func (x *EventRequestFriendGRPC) GetUserId() int64

func (*EventRequestFriendGRPC) ProtoMessage

func (*EventRequestFriendGRPC) ProtoMessage()

func (*EventRequestFriendGRPC) ProtoReflect

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

func (*EventRequestFriendGRPC) Reset

func (x *EventRequestFriendGRPC) Reset()

func (*EventRequestFriendGRPC) String

func (x *EventRequestFriendGRPC) String() string

func (*EventRequestFriendGRPC) ToStruct

type EventRequestGroup

type EventRequestGroup struct {
	EventRequestBase
	//add、invite	请求子类型,分别表示加群请求、邀请登录号入群
	SubType string `json:"sub_type"`
	//群号
	GroupId int64 `json:"group_id"`
	//发送请求的QQ
	UserId int64 `json:"user_id"`
	//验证信息
	Comment string `json:"comment"`
	//请求 flag,在调用处理请求的 API 时需要传入
	Flag string `json:"flag"`
}

func (*EventRequestGroup) ToGRPC

type EventRequestGroupGRPC

type EventRequestGroupGRPC struct {
	EventRequestBase *EventRequestBaseGRPC `protobuf:"bytes,1,opt,name=eventRequestBase,proto3" json:"eventRequestBase,omitempty"`
	//add、invite	请求子类型,分别表示加群请求、邀请登录号入群
	SubType string `protobuf:"bytes,2,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"`
	//群号
	GroupId int64 `protobuf:"varint,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	//发送请求的QQ
	UserId int64 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	//验证信息
	Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"`
	//请求 flag,在调用处理请求的 API 时需要传入
	Flag string `protobuf:"bytes,6,opt,name=flag,proto3" json:"flag,omitempty"`
	// contains filtered or unexported fields
}

func (*EventRequestGroupGRPC) Descriptor deprecated

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

Deprecated: Use EventRequestGroupGRPC.ProtoReflect.Descriptor instead.

func (*EventRequestGroupGRPC) GetComment

func (x *EventRequestGroupGRPC) GetComment() string

func (*EventRequestGroupGRPC) GetEventRequestBase

func (x *EventRequestGroupGRPC) GetEventRequestBase() *EventRequestBaseGRPC

func (*EventRequestGroupGRPC) GetFlag

func (x *EventRequestGroupGRPC) GetFlag() string

func (*EventRequestGroupGRPC) GetGroupId

func (x *EventRequestGroupGRPC) GetGroupId() int64

func (*EventRequestGroupGRPC) GetSubType

func (x *EventRequestGroupGRPC) GetSubType() string

func (*EventRequestGroupGRPC) GetUserId

func (x *EventRequestGroupGRPC) GetUserId() int64

func (*EventRequestGroupGRPC) ProtoMessage

func (*EventRequestGroupGRPC) ProtoMessage()

func (*EventRequestGroupGRPC) ProtoReflect

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

func (*EventRequestGroupGRPC) Reset

func (x *EventRequestGroupGRPC) Reset()

func (*EventRequestGroupGRPC) String

func (x *EventRequestGroupGRPC) String() string

func (*EventRequestGroupGRPC) ToStruct

type File

type File struct {
	// group_id	int32	群号
	GroupId int32 `json:"group_id"`
	// file_id	string	文件ID
	FileId string `json:"file_id"`
	// file_name	string	文件名
	FileName string `json:"file_name"`
	// busid	int32	文件类型
	Busid int32 `json:"busid"`
	// file_size	int64	文件大小
	FileSize int64 `json:"file_size"`
	// upload_time	int64	上传时间
	UploadTime int64 `json:"upload_time"`
	// dead_time	int64	过期时间,永久文件恒为0
	DeadTime int64 `json:"dead_time"`
	// modify_time	int64	最后修改时间
	ModifyTime int64 `json:"modify_time"`
	// download_times	int32	下载次数
	DownloadTimes int32 `json:"download_times"`
	// uploader	int64	上传者ID
	Uploader int64 `json:"uploader"`
	// uploader_name	string	上传者名字
	UploaderName string `json:"uploader_name"`
}

func (*File) ToGRPC

func (f *File) ToGRPC() *FileGRPC

type FileGRPC

type FileGRPC struct {

	// // group_id	int32	群号
	// GroupId int32 `json:"group_id"`
	GroupId int32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// // file_id	string	文件ID
	// FileId string `json:"file_id"`
	FileId string `protobuf:"bytes,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
	// // file_name	string	文件名
	// FileName string `json:"file_name"`
	FileName string `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	// // busid	int32	文件类型
	// Busid int32 `json:"busid"`
	Busid int32 `protobuf:"varint,4,opt,name=busid,proto3" json:"busid,omitempty"`
	// // file_size	int64	文件大小
	// FileSize int64 `json:"file_size"`
	FileSize int64 `protobuf:"varint,5,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
	// // upload_time	int64	上传时间
	// UploadTime int64 `json:"upload_time"`
	UploadTime int64 `protobuf:"varint,6,opt,name=upload_time,json=uploadTime,proto3" json:"upload_time,omitempty"`
	// // dead_time	int64	过期时间,永久文件恒为0
	// DeadTime int64 `json:"dead_time"`
	DeadTime int64 `protobuf:"varint,7,opt,name=dead_time,json=deadTime,proto3" json:"dead_time,omitempty"`
	// // modify_time	int64	最后修改时间
	// ModifyTime int64 `json:"modify_time"`
	ModifyTime int64 `protobuf:"varint,8,opt,name=modify_time,json=modifyTime,proto3" json:"modify_time,omitempty"`
	// // download_times	int32	下载次数
	// DownloadTimes int32 `json:"download_times"`
	DownloadTimes int32 `protobuf:"varint,9,opt,name=download_times,json=downloadTimes,proto3" json:"download_times,omitempty"`
	// // uploader	int64	上传者ID
	// Uploader int64 `json:"uploader"`
	Uploader int64 `protobuf:"varint,10,opt,name=uploader,proto3" json:"uploader,omitempty"`
	// // uploader_name	string	上传者名字
	// UploaderName string `json:"uploader_name"`
	UploaderName string `protobuf:"bytes,11,opt,name=uploader_name,json=uploaderName,proto3" json:"uploader_name,omitempty"`
	// contains filtered or unexported fields
}

func (*FileGRPC) Descriptor deprecated

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

Deprecated: Use FileGRPC.ProtoReflect.Descriptor instead.

func (*FileGRPC) GetBusid

func (x *FileGRPC) GetBusid() int32

func (*FileGRPC) GetDeadTime

func (x *FileGRPC) GetDeadTime() int64

func (*FileGRPC) GetDownloadTimes

func (x *FileGRPC) GetDownloadTimes() int32

func (*FileGRPC) GetFileId

func (x *FileGRPC) GetFileId() string

func (*FileGRPC) GetFileName

func (x *FileGRPC) GetFileName() string

func (*FileGRPC) GetFileSize

func (x *FileGRPC) GetFileSize() int64

func (*FileGRPC) GetGroupId

func (x *FileGRPC) GetGroupId() int32

func (*FileGRPC) GetModifyTime

func (x *FileGRPC) GetModifyTime() int64

func (*FileGRPC) GetUploadTime

func (x *FileGRPC) GetUploadTime() int64

func (*FileGRPC) GetUploader

func (x *FileGRPC) GetUploader() int64

func (*FileGRPC) GetUploaderName

func (x *FileGRPC) GetUploaderName() string

func (*FileGRPC) ProtoMessage

func (*FileGRPC) ProtoMessage()

func (*FileGRPC) ProtoReflect

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

func (*FileGRPC) Reset

func (x *FileGRPC) Reset()

func (*FileGRPC) String

func (x *FileGRPC) String() string

func (*FileGRPC) ToStruct

func (f *FileGRPC) ToStruct() *File

ToStruct

type FileUrl

type FileUrl struct {
	// url	string	文件下载链接
	Url string `json:"url"`
}

func (*FileUrl) ToGRPC

func (f *FileUrl) ToGRPC() *FileUrlGRPC

type FileUrlGRPC

type FileUrlGRPC struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*FileUrlGRPC) Descriptor deprecated

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

Deprecated: Use FileUrlGRPC.ProtoReflect.Descriptor instead.

func (*FileUrlGRPC) GetUrl

func (x *FileUrlGRPC) GetUrl() string

func (*FileUrlGRPC) ProtoMessage

func (*FileUrlGRPC) ProtoMessage()

func (*FileUrlGRPC) ProtoReflect

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

func (*FileUrlGRPC) Reset

func (x *FileUrlGRPC) Reset()

func (*FileUrlGRPC) String

func (x *FileUrlGRPC) String() string

func (*FileUrlGRPC) ToStruct

func (f *FileUrlGRPC) ToStruct() *FileUrl

type FileUrlResult

type FileUrlResult struct {
	Data *FileUrl `json:"data"`
	// retcode	int64	返回码
	Retcode int64 `json:"retcode"`
	// status	string	状态
	Status string `json:"status"`
	// msg	string	错误信息
	Msg string `json:"msg"`
	// wording	string	错误信息
	Wording string `json:"wording"`
}

func (*FileUrlResult) ToGRPC

func (f *FileUrlResult) ToGRPC() *FileUrlResultGRPC

type FileUrlResultGRPC

type FileUrlResultGRPC struct {
	Data    *FileUrlGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64        `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string       `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string       `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string       `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*FileUrlResultGRPC) Descriptor deprecated

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

Deprecated: Use FileUrlResultGRPC.ProtoReflect.Descriptor instead.

func (*FileUrlResultGRPC) GetData

func (x *FileUrlResultGRPC) GetData() *FileUrlGRPC

func (*FileUrlResultGRPC) GetMsg

func (x *FileUrlResultGRPC) GetMsg() string

func (*FileUrlResultGRPC) GetRetcode

func (x *FileUrlResultGRPC) GetRetcode() int64

func (*FileUrlResultGRPC) GetStatus

func (x *FileUrlResultGRPC) GetStatus() string

func (*FileUrlResultGRPC) GetWording

func (x *FileUrlResultGRPC) GetWording() string

func (*FileUrlResultGRPC) ProtoMessage

func (*FileUrlResultGRPC) ProtoMessage()

func (*FileUrlResultGRPC) ProtoReflect

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

func (*FileUrlResultGRPC) Reset

func (x *FileUrlResultGRPC) Reset()

func (*FileUrlResultGRPC) String

func (x *FileUrlResultGRPC) String() string

func (*FileUrlResultGRPC) ToStruct

func (f *FileUrlResultGRPC) ToStruct() *FileUrlResult

type Folder

type Folder struct {
	// group_id	int32	群号
	GroupId int32 `json:"group_id"`
	// folder_id	string	文件夹ID
	FolderId string `json:"folder_id"`
	// folder_name	string	文件名
	FolderName string `json:"folder_name"`
	// create_time	int64	创建时间
	CreateTime int64 `json:"create_time"`
	// creator	int64	创建者
	Creator int64 `json:"creator"`
	// creator_name	string	创建者名字
	CreatorName string `json:"creator_name"`
	// total_file_count	int32	子文件数量
	TotalFileCount int32 `json:"total_file_count"`
}

func (*Folder) ToGRPC

func (f *Folder) ToGRPC() *FolderGRPC

type FolderGRPC

type FolderGRPC struct {

	// // group_id	int32	群号
	// GroupId int32 `json:"group_id"`
	GroupId int32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// // folder_id	string	文件夹ID
	// FolderId string `json:"folder_id"`
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// // folder_name	string	文件名
	// FolderName string `json:"folder_name"`
	FolderName string `protobuf:"bytes,3,opt,name=folder_name,json=folderName,proto3" json:"folder_name,omitempty"`
	// // create_time	int64	创建时间
	// CreateTime int64 `json:"create_time"`
	CreateTime int64 `protobuf:"varint,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// // creator	int64	创建者
	// Creator int64 `json:"creator"`
	Creator int64 `protobuf:"varint,5,opt,name=creator,proto3" json:"creator,omitempty"`
	// // creator_name	string	创建者名字
	// CreatorName string `json:"creator_name"`
	CreatorName string `protobuf:"bytes,6,opt,name=creator_name,json=creatorName,proto3" json:"creator_name,omitempty"`
	// // total_file_count	int32	子文件数量
	// TotalFileCount int32 `json:"total_file_count"`
	TotalFileCount int32 `protobuf:"varint,7,opt,name=total_file_count,json=totalFileCount,proto3" json:"total_file_count,omitempty"`
	// contains filtered or unexported fields
}

func (*FolderGRPC) Descriptor deprecated

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

Deprecated: Use FolderGRPC.ProtoReflect.Descriptor instead.

func (*FolderGRPC) GetCreateTime

func (x *FolderGRPC) GetCreateTime() int64

func (*FolderGRPC) GetCreator

func (x *FolderGRPC) GetCreator() int64

func (*FolderGRPC) GetCreatorName

func (x *FolderGRPC) GetCreatorName() string

func (*FolderGRPC) GetFolderId

func (x *FolderGRPC) GetFolderId() string

func (*FolderGRPC) GetFolderName

func (x *FolderGRPC) GetFolderName() string

func (*FolderGRPC) GetGroupId

func (x *FolderGRPC) GetGroupId() int32

func (*FolderGRPC) GetTotalFileCount

func (x *FolderGRPC) GetTotalFileCount() int32

func (*FolderGRPC) ProtoMessage

func (*FolderGRPC) ProtoMessage()

func (*FolderGRPC) ProtoReflect

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

func (*FolderGRPC) Reset

func (x *FolderGRPC) Reset()

func (*FolderGRPC) String

func (x *FolderGRPC) String() string

func (*FolderGRPC) ToStruct

func (f *FolderGRPC) ToStruct() *Folder

ToStruct

type ForwardMessageData

type ForwardMessageData struct {
	Message MessageSegments `json:"message"`
}

func (*ForwardMessageData) ToGRPC

type ForwardMessageDataGRPC

type ForwardMessageDataGRPC struct {
	Message []*MessageSegmentGRPC `protobuf:"bytes,1,rep,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ForwardMessageDataGRPC) Descriptor deprecated

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

Deprecated: Use ForwardMessageDataGRPC.ProtoReflect.Descriptor instead.

func (*ForwardMessageDataGRPC) GetMessage

func (x *ForwardMessageDataGRPC) GetMessage() []*MessageSegmentGRPC

func (*ForwardMessageDataGRPC) ProtoMessage

func (*ForwardMessageDataGRPC) ProtoMessage()

func (*ForwardMessageDataGRPC) ProtoReflect

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

func (*ForwardMessageDataGRPC) Reset

func (x *ForwardMessageDataGRPC) Reset()

func (*ForwardMessageDataGRPC) String

func (x *ForwardMessageDataGRPC) String() string

func (*ForwardMessageDataGRPC) ToStruct

type ForwardMessageDataResult

type ForwardMessageDataResult struct {
	Data    *ForwardMessageData `json:"data"`
	Retcode int64               `json:"retcode"`
	Status  string              `json:"status"`
	Msg     string              `json:"msg"`
	Wording string              `json:"wording"`
}

func (*ForwardMessageDataResult) ToGRPC

type ForwardMessageDataResultGRPC

type ForwardMessageDataResultGRPC struct {
	Data    *ForwardMessageDataGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64                   `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string                  `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string                  `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string                  `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*ForwardMessageDataResultGRPC) Descriptor deprecated

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

Deprecated: Use ForwardMessageDataResultGRPC.ProtoReflect.Descriptor instead.

func (*ForwardMessageDataResultGRPC) GetData

func (*ForwardMessageDataResultGRPC) GetMsg

func (*ForwardMessageDataResultGRPC) GetRetcode

func (x *ForwardMessageDataResultGRPC) GetRetcode() int64

func (*ForwardMessageDataResultGRPC) GetStatus

func (x *ForwardMessageDataResultGRPC) GetStatus() string

func (*ForwardMessageDataResultGRPC) GetWording

func (x *ForwardMessageDataResultGRPC) GetWording() string

func (*ForwardMessageDataResultGRPC) ProtoMessage

func (*ForwardMessageDataResultGRPC) ProtoMessage()

func (*ForwardMessageDataResultGRPC) ProtoReflect

func (*ForwardMessageDataResultGRPC) Reset

func (x *ForwardMessageDataResultGRPC) Reset()

func (*ForwardMessageDataResultGRPC) String

func (*ForwardMessageDataResultGRPC) ToStruct

type Friend

type Friend struct {
	// user_id	int64	QQ 号
	UserId int64 `json:"user_id"`
	// nickname	string	昵称
	Nickname string `json:"nickname"`
	// remark	string	好友备注
	Remark string `json:"remark"`
}

func (*Friend) ToGRPC

func (f *Friend) ToGRPC() *FriendGRPC

ToGRPC

type FriendGRPC

type FriendGRPC struct {

	// 	UserId int64 `json:"user_id"`
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// 	Nickname string `json:"nickname"`
	Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
	// 	Remark string `json:"remark"`
	Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"`
	// contains filtered or unexported fields
}

func (*FriendGRPC) Descriptor deprecated

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

Deprecated: Use FriendGRPC.ProtoReflect.Descriptor instead.

func (*FriendGRPC) GetNickname

func (x *FriendGRPC) GetNickname() string

func (*FriendGRPC) GetRemark

func (x *FriendGRPC) GetRemark() string

func (*FriendGRPC) GetUserId

func (x *FriendGRPC) GetUserId() int64

func (*FriendGRPC) ProtoMessage

func (*FriendGRPC) ProtoMessage()

func (*FriendGRPC) ProtoReflect

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

func (*FriendGRPC) Reset

func (x *FriendGRPC) Reset()

func (*FriendGRPC) String

func (x *FriendGRPC) String() string

func (*FriendGRPC) ToStruct

func (f *FriendGRPC) ToStruct() *Friend

ToStruct

type FriendListResult

type FriendListResult struct {
	Data    []*Friend `json:"data"`
	Retcode int64     `json:"retcode"`
	Status  string    `json:"status"`
	Msg     string    `json:"msg"`
	Wording string    `json:"wording"`
}

func (*FriendListResult) ToGRPC

ToGRPC

type FriendListResultGRPC

type FriendListResultGRPC struct {

	// 	Data    []*Friend `json:"data"`
	Data []*FriendGRPC `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// 	Retcode int64     `json:"retcode"`
	Retcode int64 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	// 	Status  string    `json:"status"`
	Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// 	Msg     string    `json:"msg"`
	Msg string `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	// 	Wording string    `json:"wording"`
	Wording string `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*FriendListResultGRPC) Descriptor deprecated

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

Deprecated: Use FriendListResultGRPC.ProtoReflect.Descriptor instead.

func (*FriendListResultGRPC) GetData

func (x *FriendListResultGRPC) GetData() []*FriendGRPC

func (*FriendListResultGRPC) GetMsg

func (x *FriendListResultGRPC) GetMsg() string

func (*FriendListResultGRPC) GetRetcode

func (x *FriendListResultGRPC) GetRetcode() int64

func (*FriendListResultGRPC) GetStatus

func (x *FriendListResultGRPC) GetStatus() string

func (*FriendListResultGRPC) GetWording

func (x *FriendListResultGRPC) GetWording() string

func (*FriendListResultGRPC) ProtoMessage

func (*FriendListResultGRPC) ProtoMessage()

func (*FriendListResultGRPC) ProtoReflect

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

func (*FriendListResultGRPC) Reset

func (x *FriendListResultGRPC) Reset()

func (*FriendListResultGRPC) String

func (x *FriendListResultGRPC) String() string

func (*FriendListResultGRPC) ToStruct

func (f *FriendListResultGRPC) ToStruct() *FriendListResult

ToStruct

type GroupAtAllRemain

type GroupAtAllRemain struct {
	// can_at_all	bool	是否可以 @全体成员
	CanAtAll bool `json:"can_at_all"`
	// remain_at_all_count_for_group	int16	群内所有管理当天剩余 @全体成员 次数
	RemainAtAllCountForGroup int32 `json:"remain_at_all_count_for_group"`
	// remain_at_all_count_for_uin	int16	Bot 当天剩余 @全体成员 次数
	RemainAtAllCountForUin int32 `json:"remain_at_all_count_for_uin"`
}

func (*GroupAtAllRemain) ToGRPC

type GroupAtAllRemainGRPC

type GroupAtAllRemainGRPC struct {
	CanAtAll                 bool  `protobuf:"varint,1,opt,name=can_at_all,json=canAtAll,proto3" json:"can_at_all,omitempty"`
	RemainAtAllCountForGroup int32 `` /* 142-byte string literal not displayed */
	RemainAtAllCountForUin   int32 `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GroupAtAllRemainGRPC) Descriptor deprecated

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

Deprecated: Use GroupAtAllRemainGRPC.ProtoReflect.Descriptor instead.

func (*GroupAtAllRemainGRPC) GetCanAtAll

func (x *GroupAtAllRemainGRPC) GetCanAtAll() bool

func (*GroupAtAllRemainGRPC) GetRemainAtAllCountForGroup

func (x *GroupAtAllRemainGRPC) GetRemainAtAllCountForGroup() int32

func (*GroupAtAllRemainGRPC) GetRemainAtAllCountForUin

func (x *GroupAtAllRemainGRPC) GetRemainAtAllCountForUin() int32

func (*GroupAtAllRemainGRPC) ProtoMessage

func (*GroupAtAllRemainGRPC) ProtoMessage()

func (*GroupAtAllRemainGRPC) ProtoReflect

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

func (*GroupAtAllRemainGRPC) Reset

func (x *GroupAtAllRemainGRPC) Reset()

func (*GroupAtAllRemainGRPC) String

func (x *GroupAtAllRemainGRPC) String() string

func (*GroupAtAllRemainGRPC) ToStruct

func (a *GroupAtAllRemainGRPC) ToStruct() *GroupAtAllRemain

type GroupAtAllRemainResult

type GroupAtAllRemainResult struct {
	Data    *GroupAtAllRemain `json:"data"`
	Retcode int64             `json:"retcode"`
	Status  string            `json:"status"`
	Msg     string            `json:"msg"`
	Wording string            `json:"wording"`
}

func (*GroupAtAllRemainResult) ToGRPC

type GroupAtAllRemainResultGRPC

type GroupAtAllRemainResultGRPC struct {
	Data    *GroupAtAllRemainGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64                 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string                `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string                `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string                `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupAtAllRemainResultGRPC) Descriptor deprecated

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

Deprecated: Use GroupAtAllRemainResultGRPC.ProtoReflect.Descriptor instead.

func (*GroupAtAllRemainResultGRPC) GetData

func (*GroupAtAllRemainResultGRPC) GetMsg

func (x *GroupAtAllRemainResultGRPC) GetMsg() string

func (*GroupAtAllRemainResultGRPC) GetRetcode

func (x *GroupAtAllRemainResultGRPC) GetRetcode() int64

func (*GroupAtAllRemainResultGRPC) GetStatus

func (x *GroupAtAllRemainResultGRPC) GetStatus() string

func (*GroupAtAllRemainResultGRPC) GetWording

func (x *GroupAtAllRemainResultGRPC) GetWording() string

func (*GroupAtAllRemainResultGRPC) ProtoMessage

func (*GroupAtAllRemainResultGRPC) ProtoMessage()

func (*GroupAtAllRemainResultGRPC) ProtoReflect

func (*GroupAtAllRemainResultGRPC) Reset

func (x *GroupAtAllRemainResultGRPC) Reset()

func (*GroupAtAllRemainResultGRPC) String

func (x *GroupAtAllRemainResultGRPC) String() string

func (*GroupAtAllRemainResultGRPC) ToStruct

type GroupFileSystemInfo

type GroupFileSystemInfo struct {
	// file_count	int32	文件总数
	FileCount int32 `json:"file_count"`
	// limit_count	int32	文件上限
	LimitCount int32 `json:"limit_count"`
	// used_space	int64	已使用空间
	UsedSpace int64 `json:"used_space"`
	// total_space	int64	空间上限
	TotalSpace int64 `json:"total_space"`
}

func (*GroupFileSystemInfo) ToGRPC

type GroupFileSystemInfoGRPC

type GroupFileSystemInfoGRPC struct {
	FileCount  int32 `protobuf:"varint,1,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"`
	LimitCount int32 `protobuf:"varint,2,opt,name=limit_count,json=limitCount,proto3" json:"limit_count,omitempty"`
	UsedSpace  int64 `protobuf:"varint,3,opt,name=used_space,json=usedSpace,proto3" json:"used_space,omitempty"`
	TotalSpace int64 `protobuf:"varint,4,opt,name=total_space,json=totalSpace,proto3" json:"total_space,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupFileSystemInfoGRPC) Descriptor deprecated

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

Deprecated: Use GroupFileSystemInfoGRPC.ProtoReflect.Descriptor instead.

func (*GroupFileSystemInfoGRPC) GetFileCount

func (x *GroupFileSystemInfoGRPC) GetFileCount() int32

func (*GroupFileSystemInfoGRPC) GetLimitCount

func (x *GroupFileSystemInfoGRPC) GetLimitCount() int32

func (*GroupFileSystemInfoGRPC) GetTotalSpace

func (x *GroupFileSystemInfoGRPC) GetTotalSpace() int64

func (*GroupFileSystemInfoGRPC) GetUsedSpace

func (x *GroupFileSystemInfoGRPC) GetUsedSpace() int64

func (*GroupFileSystemInfoGRPC) ProtoMessage

func (*GroupFileSystemInfoGRPC) ProtoMessage()

func (*GroupFileSystemInfoGRPC) ProtoReflect

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

func (*GroupFileSystemInfoGRPC) Reset

func (x *GroupFileSystemInfoGRPC) Reset()

func (*GroupFileSystemInfoGRPC) String

func (x *GroupFileSystemInfoGRPC) String() string

func (*GroupFileSystemInfoGRPC) ToStruct

ToStruct

type GroupFileSystemInfoResult

type GroupFileSystemInfoResult struct {
	Data    *GroupFileSystemInfo `json:"data"`
	Retcode int64                `json:"retcode"`
	Status  string               `json:"status"`
	Msg     string               `json:"msg"`
	Wording string               `json:"wording"`
}

func (*GroupFileSystemInfoResult) ToGRPC

type GroupFileSystemInfoResultGRPC

type GroupFileSystemInfoResultGRPC struct {
	Data    *GroupFileSystemInfoGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64                    `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string                   `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string                   `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string                   `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupFileSystemInfoResultGRPC) Descriptor deprecated

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

Deprecated: Use GroupFileSystemInfoResultGRPC.ProtoReflect.Descriptor instead.

func (*GroupFileSystemInfoResultGRPC) GetData

func (*GroupFileSystemInfoResultGRPC) GetMsg

func (*GroupFileSystemInfoResultGRPC) GetRetcode

func (x *GroupFileSystemInfoResultGRPC) GetRetcode() int64

func (*GroupFileSystemInfoResultGRPC) GetStatus

func (x *GroupFileSystemInfoResultGRPC) GetStatus() string

func (*GroupFileSystemInfoResultGRPC) GetWording

func (x *GroupFileSystemInfoResultGRPC) GetWording() string

func (*GroupFileSystemInfoResultGRPC) ProtoMessage

func (*GroupFileSystemInfoResultGRPC) ProtoMessage()

func (*GroupFileSystemInfoResultGRPC) ProtoReflect

func (*GroupFileSystemInfoResultGRPC) Reset

func (x *GroupFileSystemInfoResultGRPC) Reset()

func (*GroupFileSystemInfoResultGRPC) String

func (*GroupFileSystemInfoResultGRPC) ToStruct

type GroupFiles

type GroupFiles struct {
	Files   []*File   `json:"files"`
	Folders []*Folder `json:"folders"`
}

func (*GroupFiles) ToGRPC

func (g *GroupFiles) ToGRPC() *GroupFilesGRPC

type GroupFilesGRPC

type GroupFilesGRPC struct {

	// Files   []*File   `json:"files"`
	Files []*FileGRPC `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
	// Folders []*Folder `json:"folders"`
	Folders []*FolderGRPC `protobuf:"bytes,2,rep,name=folders,proto3" json:"folders,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupFilesGRPC) Descriptor deprecated

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

Deprecated: Use GroupFilesGRPC.ProtoReflect.Descriptor instead.

func (*GroupFilesGRPC) GetFiles

func (x *GroupFilesGRPC) GetFiles() []*FileGRPC

func (*GroupFilesGRPC) GetFolders

func (x *GroupFilesGRPC) GetFolders() []*FolderGRPC

func (*GroupFilesGRPC) ProtoMessage

func (*GroupFilesGRPC) ProtoMessage()

func (*GroupFilesGRPC) ProtoReflect

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

func (*GroupFilesGRPC) Reset

func (x *GroupFilesGRPC) Reset()

func (*GroupFilesGRPC) String

func (x *GroupFilesGRPC) String() string

func (*GroupFilesGRPC) ToStruct

func (g *GroupFilesGRPC) ToStruct() *GroupFiles

ToStruct

type GroupFilesResult

type GroupFilesResult struct {
	Data *GroupFiles `json:"data"`
	// retcode	int64	返回码
	Retcode int64 `json:"retcode"`
	// status	string	状态
	Status string `json:"status"`
	// msg	string	错误信息
	Msg string `json:"msg"`
	// wording	string	错误信息
	Wording string `json:"wording"`
}

func (*GroupFilesResult) ToGRPC

type GroupFilesResultGRPC

type GroupFilesResultGRPC struct {
	Data    *GroupFilesGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64           `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string          `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string          `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string          `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}
type GroupFilesResult struct {
	Data *GroupFiles `json:"data"`
	// retcode	int64	返回码
	Retcode int64 `json:"retcode"`
	// status	string	状态
	Status string `json:"status"`
	// msg	string	错误信息
	Msg string `json:"msg"`
	// wording	string	错误信息
	Wording string `json:"wording"`
}

func (*GroupFilesResultGRPC) Descriptor deprecated

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

Deprecated: Use GroupFilesResultGRPC.ProtoReflect.Descriptor instead.

func (*GroupFilesResultGRPC) GetData

func (x *GroupFilesResultGRPC) GetData() *GroupFilesGRPC

func (*GroupFilesResultGRPC) GetMsg

func (x *GroupFilesResultGRPC) GetMsg() string

func (*GroupFilesResultGRPC) GetRetcode

func (x *GroupFilesResultGRPC) GetRetcode() int64

func (*GroupFilesResultGRPC) GetStatus

func (x *GroupFilesResultGRPC) GetStatus() string

func (*GroupFilesResultGRPC) GetWording

func (x *GroupFilesResultGRPC) GetWording() string

func (*GroupFilesResultGRPC) ProtoMessage

func (*GroupFilesResultGRPC) ProtoMessage()

func (*GroupFilesResultGRPC) ProtoReflect

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

func (*GroupFilesResultGRPC) Reset

func (x *GroupFilesResultGRPC) Reset()

func (*GroupFilesResultGRPC) String

func (x *GroupFilesResultGRPC) String() string

func (*GroupFilesResultGRPC) ToStruct

func (g *GroupFilesResultGRPC) ToStruct() *GroupFilesResult

type GroupHonorInfo

type GroupHonorInfo struct {
	GroupId          int64             `json:"group_id"`
	CurrentTalkative *CurrentTalkative `json:"current_talkative"`  //龙王
	TalkativeList    []*HonorOwnerInfo `json:"talkative_list"`     //历史龙王
	PerformerList    []*HonorOwnerInfo `json:"performer_list"`     //群聊之火
	LegendList       []*HonorOwnerInfo `json:"legend_list"`        //群聊炽焰
	StrongNewbieList []*HonorOwnerInfo `json:"strong_newbie_list"` //冒尖小春笋
	EmotionList      []*HonorOwnerInfo `json:"emotion_list"`       //快乐之源
}

func (*GroupHonorInfo) ToGRPC

func (a *GroupHonorInfo) ToGRPC() *GroupHonorInfoGRPC

type GroupHonorInfoGRPC

type GroupHonorInfoGRPC struct {
	GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	//龙王
	CurrentTalkative *CurrentTalkativeGRPC `protobuf:"bytes,2,opt,name=current_talkative,json=currentTalkative,proto3" json:"current_talkative,omitempty"`
	//历史龙王
	TalkativeList []*HonorOwnerInfoGRPC `protobuf:"bytes,3,rep,name=talkative_list,json=talkativeList,proto3" json:"talkative_list,omitempty"`
	//群聊之火
	PerformerList []*HonorOwnerInfoGRPC `protobuf:"bytes,4,rep,name=performer_list,json=performerList,proto3" json:"performer_list,omitempty"`
	//群聊炽焰
	LegendList []*HonorOwnerInfoGRPC `protobuf:"bytes,5,rep,name=legend_list,json=legendList,proto3" json:"legend_list,omitempty"`
	//冒尖小春笋
	StrongNewbieList []*HonorOwnerInfoGRPC `protobuf:"bytes,6,rep,name=strong_newbie_list,json=strongNewbieList,proto3" json:"strong_newbie_list,omitempty"`
	//快乐之源
	EmotionList []*HonorOwnerInfoGRPC `protobuf:"bytes,7,rep,name=emotion_list,json=emotionList,proto3" json:"emotion_list,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupHonorInfoGRPC) Descriptor deprecated

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

Deprecated: Use GroupHonorInfoGRPC.ProtoReflect.Descriptor instead.

func (*GroupHonorInfoGRPC) GetCurrentTalkative

func (x *GroupHonorInfoGRPC) GetCurrentTalkative() *CurrentTalkativeGRPC

func (*GroupHonorInfoGRPC) GetEmotionList

func (x *GroupHonorInfoGRPC) GetEmotionList() []*HonorOwnerInfoGRPC

func (*GroupHonorInfoGRPC) GetGroupId

func (x *GroupHonorInfoGRPC) GetGroupId() int64

func (*GroupHonorInfoGRPC) GetLegendList

func (x *GroupHonorInfoGRPC) GetLegendList() []*HonorOwnerInfoGRPC

func (*GroupHonorInfoGRPC) GetPerformerList

func (x *GroupHonorInfoGRPC) GetPerformerList() []*HonorOwnerInfoGRPC

func (*GroupHonorInfoGRPC) GetStrongNewbieList

func (x *GroupHonorInfoGRPC) GetStrongNewbieList() []*HonorOwnerInfoGRPC

func (*GroupHonorInfoGRPC) GetTalkativeList

func (x *GroupHonorInfoGRPC) GetTalkativeList() []*HonorOwnerInfoGRPC

func (*GroupHonorInfoGRPC) ProtoMessage

func (*GroupHonorInfoGRPC) ProtoMessage()

func (*GroupHonorInfoGRPC) ProtoReflect

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

func (*GroupHonorInfoGRPC) Reset

func (x *GroupHonorInfoGRPC) Reset()

func (*GroupHonorInfoGRPC) String

func (x *GroupHonorInfoGRPC) String() string

func (*GroupHonorInfoGRPC) ToStruct

func (a *GroupHonorInfoGRPC) ToStruct() *GroupHonorInfo

type GroupHonorInfoResult

type GroupHonorInfoResult struct {
	Data    *GroupHonorInfo `json:"data"`
	Retcode int64           `json:"retcode"`
	Status  string          `json:"status"`
	Msg     string          `json:"msg"`
	Wording string          `json:"wording"`
}

func (*GroupHonorInfoResult) ToGRPC

type GroupHonorInfoResultGRPC

type GroupHonorInfoResultGRPC struct {
	Data    *GroupHonorInfoGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64               `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string              `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string              `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string              `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupHonorInfoResultGRPC) Descriptor deprecated

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

Deprecated: Use GroupHonorInfoResultGRPC.ProtoReflect.Descriptor instead.

func (*GroupHonorInfoResultGRPC) GetData

func (*GroupHonorInfoResultGRPC) GetMsg

func (x *GroupHonorInfoResultGRPC) GetMsg() string

func (*GroupHonorInfoResultGRPC) GetRetcode

func (x *GroupHonorInfoResultGRPC) GetRetcode() int64

func (*GroupHonorInfoResultGRPC) GetStatus

func (x *GroupHonorInfoResultGRPC) GetStatus() string

func (*GroupHonorInfoResultGRPC) GetWording

func (x *GroupHonorInfoResultGRPC) GetWording() string

func (*GroupHonorInfoResultGRPC) ProtoMessage

func (*GroupHonorInfoResultGRPC) ProtoMessage()

func (*GroupHonorInfoResultGRPC) ProtoReflect

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

func (*GroupHonorInfoResultGRPC) Reset

func (x *GroupHonorInfoResultGRPC) Reset()

func (*GroupHonorInfoResultGRPC) String

func (x *GroupHonorInfoResultGRPC) String() string

func (*GroupHonorInfoResultGRPC) ToStruct

type GroupInfo

type GroupInfo struct {
	GroupId        int64  `json:"group_id"`
	GroupName      string `json:"group_name"`
	MemberCount    int32  `json:"member_count"`
	MaxMemberCount int32  `json:"max_member_count"`
}

func GroupInfoGRPCArray2GroupInfoArray

func GroupInfoGRPCArray2GroupInfoArray(source []*GroupInfoGRPC) []*GroupInfo

func (*GroupInfo) ToGRPC

func (g *GroupInfo) ToGRPC() *GroupInfoGRPC

type GroupInfoGRPC

type GroupInfoGRPC struct {
	GroupId        int64  `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	GroupName      string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	MemberCount    int32  `protobuf:"varint,3,opt,name=member_count,json=memberCount,proto3" json:"member_count,omitempty"`
	MaxMemberCount int32  `protobuf:"varint,4,opt,name=max_member_count,json=maxMemberCount,proto3" json:"max_member_count,omitempty"`
	// contains filtered or unexported fields
}

func GroupInfoArray2GroupInfoGRPCArray

func GroupInfoArray2GroupInfoGRPCArray(source []*GroupInfo) []*GroupInfoGRPC

func (*GroupInfoGRPC) Descriptor deprecated

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

Deprecated: Use GroupInfoGRPC.ProtoReflect.Descriptor instead.

func (*GroupInfoGRPC) GetGroupId

func (x *GroupInfoGRPC) GetGroupId() int64

func (*GroupInfoGRPC) GetGroupName

func (x *GroupInfoGRPC) GetGroupName() string

func (*GroupInfoGRPC) GetMaxMemberCount

func (x *GroupInfoGRPC) GetMaxMemberCount() int32

func (*GroupInfoGRPC) GetMemberCount

func (x *GroupInfoGRPC) GetMemberCount() int32

func (*GroupInfoGRPC) ProtoMessage

func (*GroupInfoGRPC) ProtoMessage()

func (*GroupInfoGRPC) ProtoReflect

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

func (*GroupInfoGRPC) Reset

func (x *GroupInfoGRPC) Reset()

func (*GroupInfoGRPC) String

func (x *GroupInfoGRPC) String() string

func (*GroupInfoGRPC) ToStruct

func (g *GroupInfoGRPC) ToStruct() *GroupInfo

type GroupInfoResult

type GroupInfoResult struct {
	Data    *GroupInfo `json:"data"`
	Retcode int64      `json:"retcode"`
	Status  string     `json:"status"`
	Msg     string     `json:"msg"`
	Wording string     `json:"wording"`
}

func (*GroupInfoResult) ToGRPC

func (a *GroupInfoResult) ToGRPC() *GroupInfoResultGRPC

type GroupInfoResultGRPC

type GroupInfoResultGRPC struct {
	Data    *GroupInfoGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64          `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string         `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string         `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string         `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupInfoResultGRPC) Descriptor deprecated

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

Deprecated: Use GroupInfoResultGRPC.ProtoReflect.Descriptor instead.

func (*GroupInfoResultGRPC) GetData

func (x *GroupInfoResultGRPC) GetData() *GroupInfoGRPC

func (*GroupInfoResultGRPC) GetMsg

func (x *GroupInfoResultGRPC) GetMsg() string

func (*GroupInfoResultGRPC) GetRetcode

func (x *GroupInfoResultGRPC) GetRetcode() int64

func (*GroupInfoResultGRPC) GetStatus

func (x *GroupInfoResultGRPC) GetStatus() string

func (*GroupInfoResultGRPC) GetWording

func (x *GroupInfoResultGRPC) GetWording() string

func (*GroupInfoResultGRPC) ProtoMessage

func (*GroupInfoResultGRPC) ProtoMessage()

func (*GroupInfoResultGRPC) ProtoReflect

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

func (*GroupInfoResultGRPC) Reset

func (x *GroupInfoResultGRPC) Reset()

func (*GroupInfoResultGRPC) String

func (x *GroupInfoResultGRPC) String() string

func (*GroupInfoResultGRPC) ToStruct

func (a *GroupInfoResultGRPC) ToStruct() *GroupInfoResult

type GroupListResult

type GroupListResult struct {
	Data    []*GroupInfo `json:"data"`
	Retcode int64        `json:"retcode"`
	Status  string       `json:"status"`
	Msg     string       `json:"msg"`
	Wording string       `json:"wording"`
}

func (*GroupListResult) ToGRPC

func (a *GroupListResult) ToGRPC() *GroupListResultGRPC

type GroupListResultGRPC

type GroupListResultGRPC struct {
	Data    []*GroupInfoGRPC `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	Retcode int64            `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string           `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string           `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string           `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupListResultGRPC) Descriptor deprecated

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

Deprecated: Use GroupListResultGRPC.ProtoReflect.Descriptor instead.

func (*GroupListResultGRPC) GetData

func (x *GroupListResultGRPC) GetData() []*GroupInfoGRPC

func (*GroupListResultGRPC) GetMsg

func (x *GroupListResultGRPC) GetMsg() string

func (*GroupListResultGRPC) GetRetcode

func (x *GroupListResultGRPC) GetRetcode() int64

func (*GroupListResultGRPC) GetStatus

func (x *GroupListResultGRPC) GetStatus() string

func (*GroupListResultGRPC) GetWording

func (x *GroupListResultGRPC) GetWording() string

func (*GroupListResultGRPC) ProtoMessage

func (*GroupListResultGRPC) ProtoMessage()

func (*GroupListResultGRPC) ProtoReflect

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

func (*GroupListResultGRPC) Reset

func (x *GroupListResultGRPC) Reset()

func (*GroupListResultGRPC) String

func (x *GroupListResultGRPC) String() string

func (*GroupListResultGRPC) ToStruct

func (a *GroupListResultGRPC) ToStruct() *GroupListResult

type GroupMemberInfo

type GroupMemberInfo struct {
	GroupId         int64  `json:"group_id"`
	UserId          int64  `json:"user_id"`
	Nickname        string `json:"nickname"`
	Card            string `json:"card"`
	Sex             string `json:"sex"`
	Age             int32  `json:"age"`
	Area            string `json:"area"`
	JoinTime        int32  `json:"join_time"`
	LastSentTime    int32  `json:"last_sent_time"`
	Level           string `json:"level"`
	Unfriendly      bool   `json:"unfriendly"`
	Title           string `json:"title"`
	TitleExpireTime int32  `json:"title_expire_time"`
	CardChangeable  bool   `json:"card_changeable"`
}

func GroupMemberInfoGRPCArray2GroupMemberInfoArray

func GroupMemberInfoGRPCArray2GroupMemberInfoArray(source []*GroupMemberInfoGRPC) []*GroupMemberInfo

func (*GroupMemberInfo) ToGRPC

func (a *GroupMemberInfo) ToGRPC() *GroupMemberInfoGRPC

type GroupMemberInfoGRPC

type GroupMemberInfoGRPC struct {
	GroupId         int64  `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	UserId          int64  `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Nickname        string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Card            string `protobuf:"bytes,4,opt,name=card,proto3" json:"card,omitempty"`
	Sex             string `protobuf:"bytes,5,opt,name=sex,proto3" json:"sex,omitempty"`
	Age             int32  `protobuf:"varint,6,opt,name=age,proto3" json:"age,omitempty"`
	Area            string `protobuf:"bytes,7,opt,name=area,proto3" json:"area,omitempty"`
	JoinTime        int32  `protobuf:"varint,8,opt,name=join_time,json=joinTime,proto3" json:"join_time,omitempty"`
	LastSentTime    int32  `protobuf:"varint,9,opt,name=last_sent_time,json=lastSentTime,proto3" json:"last_sent_time,omitempty"`
	Level           string `protobuf:"bytes,10,opt,name=level,proto3" json:"level,omitempty"`
	Unfriendly      bool   `protobuf:"varint,11,opt,name=unfriendly,proto3" json:"unfriendly,omitempty"`
	Title           string `protobuf:"bytes,12,opt,name=title,proto3" json:"title,omitempty"`
	TitleExpireTime int32  `protobuf:"varint,13,opt,name=title_expire_time,json=titleExpireTime,proto3" json:"title_expire_time,omitempty"`
	CardChangeable  bool   `protobuf:"varint,14,opt,name=card_changeable,json=cardChangeable,proto3" json:"card_changeable,omitempty"`
	// contains filtered or unexported fields
}

func GroupMemberInfoArray2GroupMemberInfoGRPCArray

func GroupMemberInfoArray2GroupMemberInfoGRPCArray(source []*GroupMemberInfo) []*GroupMemberInfoGRPC

func (*GroupMemberInfoGRPC) Descriptor deprecated

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

Deprecated: Use GroupMemberInfoGRPC.ProtoReflect.Descriptor instead.

func (*GroupMemberInfoGRPC) GetAge

func (x *GroupMemberInfoGRPC) GetAge() int32

func (*GroupMemberInfoGRPC) GetArea

func (x *GroupMemberInfoGRPC) GetArea() string

func (*GroupMemberInfoGRPC) GetCard

func (x *GroupMemberInfoGRPC) GetCard() string

func (*GroupMemberInfoGRPC) GetCardChangeable

func (x *GroupMemberInfoGRPC) GetCardChangeable() bool

func (*GroupMemberInfoGRPC) GetGroupId

func (x *GroupMemberInfoGRPC) GetGroupId() int64

func (*GroupMemberInfoGRPC) GetJoinTime

func (x *GroupMemberInfoGRPC) GetJoinTime() int32

func (*GroupMemberInfoGRPC) GetLastSentTime

func (x *GroupMemberInfoGRPC) GetLastSentTime() int32

func (*GroupMemberInfoGRPC) GetLevel

func (x *GroupMemberInfoGRPC) GetLevel() string

func (*GroupMemberInfoGRPC) GetNickname

func (x *GroupMemberInfoGRPC) GetNickname() string

func (*GroupMemberInfoGRPC) GetSex

func (x *GroupMemberInfoGRPC) GetSex() string

func (*GroupMemberInfoGRPC) GetTitle

func (x *GroupMemberInfoGRPC) GetTitle() string

func (*GroupMemberInfoGRPC) GetTitleExpireTime

func (x *GroupMemberInfoGRPC) GetTitleExpireTime() int32

func (*GroupMemberInfoGRPC) GetUnfriendly

func (x *GroupMemberInfoGRPC) GetUnfriendly() bool

func (*GroupMemberInfoGRPC) GetUserId

func (x *GroupMemberInfoGRPC) GetUserId() int64

func (*GroupMemberInfoGRPC) ProtoMessage

func (*GroupMemberInfoGRPC) ProtoMessage()

func (*GroupMemberInfoGRPC) ProtoReflect

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

func (*GroupMemberInfoGRPC) Reset

func (x *GroupMemberInfoGRPC) Reset()

func (*GroupMemberInfoGRPC) String

func (x *GroupMemberInfoGRPC) String() string

func (*GroupMemberInfoGRPC) ToStruct

func (a *GroupMemberInfoGRPC) ToStruct() *GroupMemberInfo

type GroupMemberInfoResult

type GroupMemberInfoResult struct {
	Data    *GroupMemberInfo `json:"data"`
	Retcode int64            `json:"retcode"`
	Status  string           `json:"status"`
	Msg     string           `json:"msg"`
	Wording string           `json:"wording"`
}

func (*GroupMemberInfoResult) ToGRPC

type GroupMemberInfoResultGRPC

type GroupMemberInfoResultGRPC struct {
	Data    *GroupMemberInfoGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64                `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string               `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string               `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string               `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupMemberInfoResultGRPC) Descriptor deprecated

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

Deprecated: Use GroupMemberInfoResultGRPC.ProtoReflect.Descriptor instead.

func (*GroupMemberInfoResultGRPC) GetData

func (*GroupMemberInfoResultGRPC) GetMsg

func (x *GroupMemberInfoResultGRPC) GetMsg() string

func (*GroupMemberInfoResultGRPC) GetRetcode

func (x *GroupMemberInfoResultGRPC) GetRetcode() int64

func (*GroupMemberInfoResultGRPC) GetStatus

func (x *GroupMemberInfoResultGRPC) GetStatus() string

func (*GroupMemberInfoResultGRPC) GetWording

func (x *GroupMemberInfoResultGRPC) GetWording() string

func (*GroupMemberInfoResultGRPC) ProtoMessage

func (*GroupMemberInfoResultGRPC) ProtoMessage()

func (*GroupMemberInfoResultGRPC) ProtoReflect

func (*GroupMemberInfoResultGRPC) Reset

func (x *GroupMemberInfoResultGRPC) Reset()

func (*GroupMemberInfoResultGRPC) String

func (x *GroupMemberInfoResultGRPC) String() string

func (*GroupMemberInfoResultGRPC) ToStruct

type GroupMemberListResult

type GroupMemberListResult struct {
	Data    []*GroupMemberInfo `json:"data"`
	Retcode int64              `json:"retcode"`
	Status  string             `json:"status"`
	Msg     string             `json:"msg"`
	Wording string             `json:"wording"`
}

func (*GroupMemberListResult) ToGRPC

type GroupMemberListResultGRPC

type GroupMemberListResultGRPC struct {
	Data    []*GroupMemberInfoGRPC `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	Retcode int64                  `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string                 `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string                 `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string                 `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupMemberListResultGRPC) Descriptor deprecated

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

Deprecated: Use GroupMemberListResultGRPC.ProtoReflect.Descriptor instead.

func (*GroupMemberListResultGRPC) GetData

func (*GroupMemberListResultGRPC) GetMsg

func (x *GroupMemberListResultGRPC) GetMsg() string

func (*GroupMemberListResultGRPC) GetRetcode

func (x *GroupMemberListResultGRPC) GetRetcode() int64

func (*GroupMemberListResultGRPC) GetStatus

func (x *GroupMemberListResultGRPC) GetStatus() string

func (*GroupMemberListResultGRPC) GetWording

func (x *GroupMemberListResultGRPC) GetWording() string

func (*GroupMemberListResultGRPC) ProtoMessage

func (*GroupMemberListResultGRPC) ProtoMessage()

func (*GroupMemberListResultGRPC) ProtoReflect

func (*GroupMemberListResultGRPC) Reset

func (x *GroupMemberListResultGRPC) Reset()

func (*GroupMemberListResultGRPC) String

func (x *GroupMemberListResultGRPC) String() string

func (*GroupMemberListResultGRPC) ToStruct

type GroupMsg

type GroupMsg struct {
	GroupId    int64           `json:"group_id"`
	Message    MessageSegments `json:"message"`
	AutoEscape bool            `json:"auto_escape"`
}

func (*GroupMsg) ToGRPC

func (msg *GroupMsg) ToGRPC() *GroupMsgGRPC

type GroupMsgGRPC

type GroupMsgGRPC struct {
	GroupId    int64                 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	Message    []*MessageSegmentGRPC `protobuf:"bytes,2,rep,name=message,proto3" json:"message,omitempty"`
	AutoEscape bool                  `protobuf:"varint,3,opt,name=auto_escape,json=autoEscape,proto3" json:"auto_escape,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupMsgGRPC) Descriptor deprecated

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

Deprecated: Use GroupMsgGRPC.ProtoReflect.Descriptor instead.

func (*GroupMsgGRPC) GetAutoEscape

func (x *GroupMsgGRPC) GetAutoEscape() bool

func (*GroupMsgGRPC) GetGroupId

func (x *GroupMsgGRPC) GetGroupId() int64

func (*GroupMsgGRPC) GetMessage

func (x *GroupMsgGRPC) GetMessage() []*MessageSegmentGRPC

func (*GroupMsgGRPC) ProtoMessage

func (*GroupMsgGRPC) ProtoMessage()

func (*GroupMsgGRPC) ProtoReflect

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

func (*GroupMsgGRPC) Reset

func (x *GroupMsgGRPC) Reset()

func (*GroupMsgGRPC) String

func (x *GroupMsgGRPC) String() string

func (*GroupMsgGRPC) ToStruct

func (msg *GroupMsgGRPC) ToStruct() *GroupMsg

type GroupNotice

type GroupNotice struct {
	// sender_id	int64	公告发表者
	SenderId int64 `json:"sender_id"`
	// publish_time	int64	公告发表时间
	PublishTime int64 `json:"publish_time"`
	// message	object	公告内容
	Message *GroupNoticeMessage `json:"message"`
}

func (*GroupNotice) ToGRPC

func (a *GroupNotice) ToGRPC() *GroupNoticeGRPC

type GroupNoticeGRPC

type GroupNoticeGRPC struct {
	SenderId    int64                   `protobuf:"varint,1,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
	PublishTime int64                   `protobuf:"varint,2,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"`
	Message     *GroupNoticeMessageGRPC `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupNoticeGRPC) Descriptor deprecated

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

Deprecated: Use GroupNoticeGRPC.ProtoReflect.Descriptor instead.

func (*GroupNoticeGRPC) GetMessage

func (x *GroupNoticeGRPC) GetMessage() *GroupNoticeMessageGRPC

func (*GroupNoticeGRPC) GetPublishTime

func (x *GroupNoticeGRPC) GetPublishTime() int64

func (*GroupNoticeGRPC) GetSenderId

func (x *GroupNoticeGRPC) GetSenderId() int64

func (*GroupNoticeGRPC) ProtoMessage

func (*GroupNoticeGRPC) ProtoMessage()

func (*GroupNoticeGRPC) ProtoReflect

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

func (*GroupNoticeGRPC) Reset

func (x *GroupNoticeGRPC) Reset()

func (*GroupNoticeGRPC) String

func (x *GroupNoticeGRPC) String() string

func (*GroupNoticeGRPC) ToStruct

func (a *GroupNoticeGRPC) ToStruct() *GroupNotice

type GroupNoticeMessage

type GroupNoticeMessage struct {
	// text	string	公告内容
	Text string `json:"text"`
	// images	array	公告图片
	Images []string `json:"images"`
}

func (*GroupNoticeMessage) ToGRPC

type GroupNoticeMessageGRPC

type GroupNoticeMessageGRPC struct {
	Text   string   `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	Images []string `protobuf:"bytes,2,rep,name=images,proto3" json:"images,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupNoticeMessageGRPC) Descriptor deprecated

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

Deprecated: Use GroupNoticeMessageGRPC.ProtoReflect.Descriptor instead.

func (*GroupNoticeMessageGRPC) GetImages

func (x *GroupNoticeMessageGRPC) GetImages() []string

func (*GroupNoticeMessageGRPC) GetText

func (x *GroupNoticeMessageGRPC) GetText() string

func (*GroupNoticeMessageGRPC) ProtoMessage

func (*GroupNoticeMessageGRPC) ProtoMessage()

func (*GroupNoticeMessageGRPC) ProtoReflect

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

func (*GroupNoticeMessageGRPC) Reset

func (x *GroupNoticeMessageGRPC) Reset()

func (*GroupNoticeMessageGRPC) String

func (x *GroupNoticeMessageGRPC) String() string

func (*GroupNoticeMessageGRPC) ToStruct

type GroupNoticeResult

type GroupNoticeResult struct {
	Data    *GroupNotice `json:"data"`
	Retcode int64        `json:"retcode"`
	Status  string       `json:"status"`
	Msg     string       `json:"msg"`
	Wording string       `json:"wording"`
}

func (*GroupNoticeResult) ToGRPC

type GroupNoticeResultGRPC

type GroupNoticeResultGRPC struct {
	Data    *GroupNoticeGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64            `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string           `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string           `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string           `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupNoticeResultGRPC) Descriptor deprecated

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

Deprecated: Use GroupNoticeResultGRPC.ProtoReflect.Descriptor instead.

func (*GroupNoticeResultGRPC) GetData

func (x *GroupNoticeResultGRPC) GetData() *GroupNoticeGRPC

func (*GroupNoticeResultGRPC) GetMsg

func (x *GroupNoticeResultGRPC) GetMsg() string

func (*GroupNoticeResultGRPC) GetRetcode

func (x *GroupNoticeResultGRPC) GetRetcode() int64

func (*GroupNoticeResultGRPC) GetStatus

func (x *GroupNoticeResultGRPC) GetStatus() string

func (*GroupNoticeResultGRPC) GetWording

func (x *GroupNoticeResultGRPC) GetWording() string

func (*GroupNoticeResultGRPC) ProtoMessage

func (*GroupNoticeResultGRPC) ProtoMessage()

func (*GroupNoticeResultGRPC) ProtoReflect

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

func (*GroupNoticeResultGRPC) Reset

func (x *GroupNoticeResultGRPC) Reset()

func (*GroupNoticeResultGRPC) String

func (x *GroupNoticeResultGRPC) String() string

func (*GroupNoticeResultGRPC) ToStruct

type GroupSystemMsg

type GroupSystemMsg struct {
	InvitedRequests []*InvitedRequest `json:"invited_requests"`
	JoinRequests    []*JoinRequest    `json:"join_requests"`
}

func (*GroupSystemMsg) ToGRPC

func (a *GroupSystemMsg) ToGRPC() *GroupSystemMsgGRPC

type GroupSystemMsgGRPC

type GroupSystemMsgGRPC struct {
	InvitedRequests []*InvitedRequestGRPC `protobuf:"bytes,1,rep,name=invited_requests,json=invitedRequests,proto3" json:"invited_requests,omitempty"`
	JoinRequests    []*JoinRequestGRPC    `protobuf:"bytes,2,rep,name=join_requests,json=joinRequests,proto3" json:"join_requests,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupSystemMsgGRPC) Descriptor deprecated

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

Deprecated: Use GroupSystemMsgGRPC.ProtoReflect.Descriptor instead.

func (*GroupSystemMsgGRPC) GetInvitedRequests

func (x *GroupSystemMsgGRPC) GetInvitedRequests() []*InvitedRequestGRPC

func (*GroupSystemMsgGRPC) GetJoinRequests

func (x *GroupSystemMsgGRPC) GetJoinRequests() []*JoinRequestGRPC

func (*GroupSystemMsgGRPC) ProtoMessage

func (*GroupSystemMsgGRPC) ProtoMessage()

func (*GroupSystemMsgGRPC) ProtoReflect

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

func (*GroupSystemMsgGRPC) Reset

func (x *GroupSystemMsgGRPC) Reset()

func (*GroupSystemMsgGRPC) String

func (x *GroupSystemMsgGRPC) String() string

func (*GroupSystemMsgGRPC) ToStruct

func (a *GroupSystemMsgGRPC) ToStruct() *GroupSystemMsg

type GroupSystemMsgResult

type GroupSystemMsgResult struct {
	Data    *GroupSystemMsg `json:"data"`
	Retcode int64           `json:"retcode"`
	Status  string          `json:"status"`
	Msg     string          `json:"msg"`
	Wording string          `json:"wording"`
}

func (*GroupSystemMsgResult) ToGRPC

type GroupSystemMsgResultGRPC

type GroupSystemMsgResultGRPC struct {
	Data    *GroupSystemMsgGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64               `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string              `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string              `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string              `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupSystemMsgResultGRPC) Descriptor deprecated

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

Deprecated: Use GroupSystemMsgResultGRPC.ProtoReflect.Descriptor instead.

func (*GroupSystemMsgResultGRPC) GetData

func (*GroupSystemMsgResultGRPC) GetMsg

func (x *GroupSystemMsgResultGRPC) GetMsg() string

func (*GroupSystemMsgResultGRPC) GetRetcode

func (x *GroupSystemMsgResultGRPC) GetRetcode() int64

func (*GroupSystemMsgResultGRPC) GetStatus

func (x *GroupSystemMsgResultGRPC) GetStatus() string

func (*GroupSystemMsgResultGRPC) GetWording

func (x *GroupSystemMsgResultGRPC) GetWording() string

func (*GroupSystemMsgResultGRPC) ProtoMessage

func (*GroupSystemMsgResultGRPC) ProtoMessage()

func (*GroupSystemMsgResultGRPC) ProtoReflect

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

func (*GroupSystemMsgResultGRPC) Reset

func (x *GroupSystemMsgResultGRPC) Reset()

func (*GroupSystemMsgResultGRPC) String

func (x *GroupSystemMsgResultGRPC) String() string

func (*GroupSystemMsgResultGRPC) ToStruct

type HonorOwnerInfo

type HonorOwnerInfo struct {
	UserId      int64  `json:"user_id"`
	Nickname    string `json:"nickname"`
	Avatar      string `json:"avatar"`
	Description string `json:"description"`
}

func HonorOwnerInfoGRPCArray2HonorOwnerInfoArray

func HonorOwnerInfoGRPCArray2HonorOwnerInfoArray(source []*HonorOwnerInfoGRPC) []*HonorOwnerInfo

func (*HonorOwnerInfo) ToGRPC

func (a *HonorOwnerInfo) ToGRPC() *HonorOwnerInfoGRPC

type HonorOwnerInfoGRPC

type HonorOwnerInfoGRPC struct {
	UserId      int64  `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Nickname    string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Avatar      string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func HonorOwnerInfoArray2HonorOwnerInfoGRPCArray

func HonorOwnerInfoArray2HonorOwnerInfoGRPCArray(source []*HonorOwnerInfo) []*HonorOwnerInfoGRPC

func (*HonorOwnerInfoGRPC) Descriptor deprecated

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

Deprecated: Use HonorOwnerInfoGRPC.ProtoReflect.Descriptor instead.

func (*HonorOwnerInfoGRPC) GetAvatar

func (x *HonorOwnerInfoGRPC) GetAvatar() string

func (*HonorOwnerInfoGRPC) GetDescription

func (x *HonorOwnerInfoGRPC) GetDescription() string

func (*HonorOwnerInfoGRPC) GetNickname

func (x *HonorOwnerInfoGRPC) GetNickname() string

func (*HonorOwnerInfoGRPC) GetUserId

func (x *HonorOwnerInfoGRPC) GetUserId() int64

func (*HonorOwnerInfoGRPC) ProtoMessage

func (*HonorOwnerInfoGRPC) ProtoMessage()

func (*HonorOwnerInfoGRPC) ProtoReflect

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

func (*HonorOwnerInfoGRPC) Reset

func (x *HonorOwnerInfoGRPC) Reset()

func (*HonorOwnerInfoGRPC) String

func (x *HonorOwnerInfoGRPC) String() string

func (*HonorOwnerInfoGRPC) ToStruct

func (a *HonorOwnerInfoGRPC) ToStruct() *HonorOwnerInfo

type Image

type Image struct {
	Size     int32  `json:"size"`
	Filename string `json:"filename"`
	Url      string `json:"url"`
}

func (*Image) ToGRPC

func (a *Image) ToGRPC() *ImageGRPC

type ImageGRPC

type ImageGRPC struct {
	Size     int32  `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
	Url      string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageGRPC) Descriptor deprecated

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

Deprecated: Use ImageGRPC.ProtoReflect.Descriptor instead.

func (*ImageGRPC) GetFilename

func (x *ImageGRPC) GetFilename() string

func (*ImageGRPC) GetSize

func (x *ImageGRPC) GetSize() int32

func (*ImageGRPC) GetUrl

func (x *ImageGRPC) GetUrl() string

func (*ImageGRPC) ProtoMessage

func (*ImageGRPC) ProtoMessage()

func (*ImageGRPC) ProtoReflect

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

func (*ImageGRPC) Reset

func (x *ImageGRPC) Reset()

func (*ImageGRPC) String

func (x *ImageGRPC) String() string

func (*ImageGRPC) ToStruct

func (a *ImageGRPC) ToStruct() *Image

type ImageResult

type ImageResult struct {
	Data    *Image `json:"data"`
	Retcode int64  `json:"retcode"`
	Status  string `json:"status"`
	Msg     string `json:"msg"`
	Wording string `json:"wording"`
}

func (*ImageResult) ToGRPC

func (a *ImageResult) ToGRPC() *ImageResultGRPC

type ImageResultGRPC

type ImageResultGRPC struct {
	Retcode int64      `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string     `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string     `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string     `protobuf:"bytes,4,opt,name=wording,proto3" json:"wording,omitempty"`
	Data    *ImageGRPC `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageResultGRPC) Descriptor deprecated

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

Deprecated: Use ImageResultGRPC.ProtoReflect.Descriptor instead.

func (*ImageResultGRPC) GetData

func (x *ImageResultGRPC) GetData() *ImageGRPC

func (*ImageResultGRPC) GetMsg

func (x *ImageResultGRPC) GetMsg() string

func (*ImageResultGRPC) GetRetcode

func (x *ImageResultGRPC) GetRetcode() int64

func (*ImageResultGRPC) GetStatus

func (x *ImageResultGRPC) GetStatus() string

func (*ImageResultGRPC) GetWording

func (x *ImageResultGRPC) GetWording() string

func (*ImageResultGRPC) ProtoMessage

func (*ImageResultGRPC) ProtoMessage()

func (*ImageResultGRPC) ProtoReflect

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

func (*ImageResultGRPC) Reset

func (x *ImageResultGRPC) Reset()

func (*ImageResultGRPC) String

func (x *ImageResultGRPC) String() string

func (*ImageResultGRPC) ToStruct

func (a *ImageResultGRPC) ToStruct() *ImageResult

type InvitedRequest

type InvitedRequest struct {
	// request_id	int64	请求ID
	RequestId int64 `json:"request_id"`
	// invitor_uin	int64	邀请者
	InvitorUin int64 `json:"invitor_uin"`
	// invitor_nick	string	邀请者昵称
	InvitorNick string `json:"invitor_nick"`
	// group_id	int64	群号
	GroupId int64 `json:"group_id"`
	// group_name	string	群名
	GroupName string `json:"group_name"`
	// checked	bool	是否已被处理
	Checked bool `json:"checked"`
	// actor	int64	处理者, 未处理为0
	Actor int64 `json:"actor"`
}

func InvitedRequestGRPCArray2InvitedRequestArray

func InvitedRequestGRPCArray2InvitedRequestArray(source []*InvitedRequestGRPC) []*InvitedRequest

func (*InvitedRequest) ToGRPC

func (a *InvitedRequest) ToGRPC() *InvitedRequestGRPC

type InvitedRequestGRPC

type InvitedRequestGRPC struct {
	RequestId   int64  `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	InvitorUin  int64  `protobuf:"varint,2,opt,name=invitor_uin,json=invitorUin,proto3" json:"invitor_uin,omitempty"`
	InvitorNick string `protobuf:"bytes,3,opt,name=invitor_nick,json=invitorNick,proto3" json:"invitor_nick,omitempty"`
	GroupId     int64  `protobuf:"varint,4,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	GroupName   string `protobuf:"bytes,5,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	Checked     bool   `protobuf:"varint,6,opt,name=checked,proto3" json:"checked,omitempty"`
	Actor       int64  `protobuf:"varint,7,opt,name=actor,proto3" json:"actor,omitempty"`
	// contains filtered or unexported fields
}

func InvitedRequestArray2InvitedRequestGRPCArray

func InvitedRequestArray2InvitedRequestGRPCArray(source []*InvitedRequest) []*InvitedRequestGRPC

func (*InvitedRequestGRPC) Descriptor deprecated

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

Deprecated: Use InvitedRequestGRPC.ProtoReflect.Descriptor instead.

func (*InvitedRequestGRPC) GetActor

func (x *InvitedRequestGRPC) GetActor() int64

func (*InvitedRequestGRPC) GetChecked

func (x *InvitedRequestGRPC) GetChecked() bool

func (*InvitedRequestGRPC) GetGroupId

func (x *InvitedRequestGRPC) GetGroupId() int64

func (*InvitedRequestGRPC) GetGroupName

func (x *InvitedRequestGRPC) GetGroupName() string

func (*InvitedRequestGRPC) GetInvitorNick

func (x *InvitedRequestGRPC) GetInvitorNick() string

func (*InvitedRequestGRPC) GetInvitorUin

func (x *InvitedRequestGRPC) GetInvitorUin() int64

func (*InvitedRequestGRPC) GetRequestId

func (x *InvitedRequestGRPC) GetRequestId() int64

func (*InvitedRequestGRPC) ProtoMessage

func (*InvitedRequestGRPC) ProtoMessage()

func (*InvitedRequestGRPC) ProtoReflect

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

func (*InvitedRequestGRPC) Reset

func (x *InvitedRequestGRPC) Reset()

func (*InvitedRequestGRPC) String

func (x *InvitedRequestGRPC) String() string

func (*InvitedRequestGRPC) ToStruct

func (a *InvitedRequestGRPC) ToStruct() *InvitedRequest

type JoinRequest

type JoinRequest struct {
	// request_id	int64	请求ID
	RequestId int64 `json:"request_id"`
	// requester_uin	int64	请求者ID
	RequesterUin int64 `json:"requester_uin"`
	// requester_nick	string	请求者昵称
	RequesterNick string `json:"requester_nick"`
	// message	string	验证消息
	Message string `json:"message"`
	// group_id	int64	群号
	GroupId int64 `json:"group_id"`
	// group_name	string	群名
	GroupName string `json:"group_name"`
	// checked	bool	是否已被处理
	Checked bool `json:"checked"`
	// actor	int64	处理者, 未处理为0
	Actor int64 `json:"actor"`
}

func JoinRequestGRPCArray2JoinRequestArray

func JoinRequestGRPCArray2JoinRequestArray(source []*JoinRequestGRPC) []*JoinRequest

func (*JoinRequest) ToGRPC

func (a *JoinRequest) ToGRPC() *JoinRequestGRPC

type JoinRequestGRPC

type JoinRequestGRPC struct {
	RequestId     int64  `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	RequesterUin  int64  `protobuf:"varint,2,opt,name=requester_uin,json=requesterUin,proto3" json:"requester_uin,omitempty"`
	RequesterNick string `protobuf:"bytes,3,opt,name=requester_nick,json=requesterNick,proto3" json:"requester_nick,omitempty"`
	Message       string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	GroupId       int64  `protobuf:"varint,5,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	GroupName     string `protobuf:"bytes,6,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	Checked       bool   `protobuf:"varint,7,opt,name=checked,proto3" json:"checked,omitempty"`
	Actor         int64  `protobuf:"varint,8,opt,name=actor,proto3" json:"actor,omitempty"`
	// contains filtered or unexported fields
}

func JoinRequestArray2JoinRequestGRPCArray

func JoinRequestArray2JoinRequestGRPCArray(source []*JoinRequest) []*JoinRequestGRPC

func (*JoinRequestGRPC) Descriptor deprecated

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

Deprecated: Use JoinRequestGRPC.ProtoReflect.Descriptor instead.

func (*JoinRequestGRPC) GetActor

func (x *JoinRequestGRPC) GetActor() int64

func (*JoinRequestGRPC) GetChecked

func (x *JoinRequestGRPC) GetChecked() bool

func (*JoinRequestGRPC) GetGroupId

func (x *JoinRequestGRPC) GetGroupId() int64

func (*JoinRequestGRPC) GetGroupName

func (x *JoinRequestGRPC) GetGroupName() string

func (*JoinRequestGRPC) GetMessage

func (x *JoinRequestGRPC) GetMessage() string

func (*JoinRequestGRPC) GetRequestId

func (x *JoinRequestGRPC) GetRequestId() int64

func (*JoinRequestGRPC) GetRequesterNick

func (x *JoinRequestGRPC) GetRequesterNick() string

func (*JoinRequestGRPC) GetRequesterUin

func (x *JoinRequestGRPC) GetRequesterUin() int64

func (*JoinRequestGRPC) ProtoMessage

func (*JoinRequestGRPC) ProtoMessage()

func (*JoinRequestGRPC) ProtoReflect

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

func (*JoinRequestGRPC) Reset

func (x *JoinRequestGRPC) Reset()

func (*JoinRequestGRPC) String

func (x *JoinRequestGRPC) String() string

func (*JoinRequestGRPC) ToStruct

func (a *JoinRequestGRPC) ToStruct() *JoinRequest

type MessageData

type MessageData struct {
	//发送时间
	Time int64 `json:"time"`
	//消息类型,同 消息事件
	MessageType string `json:"message_type"`
	//消息 Id
	MessageId int64 `json:"message_id"`
	//消息真实 Id
	RealId int64 `json:"real_id"`
	//发送人信息,同 消息事件
	Sender *Sender `json:"sender"`
	//消息内容
	Message MessageSegments `json:"message"`
}

func (*MessageData) ToGRPC

func (a *MessageData) ToGRPC() *MessageDataGRPC

type MessageDataGRPC

type MessageDataGRPC struct {

	//发送时间
	Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
	//消息类型,同 消息事件
	MessageType string `protobuf:"bytes,2,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"`
	//消息 Id
	MessageId int64 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	//消息真实 Id
	RealId int64 `protobuf:"varint,4,opt,name=real_id,json=realId,proto3" json:"real_id,omitempty"`
	//发送人信息,同 消息事件
	Sender *SenderGRPC `protobuf:"bytes,5,opt,name=sender,proto3" json:"sender,omitempty"`
	//消息内容
	Message []*MessageSegmentGRPC `protobuf:"bytes,6,rep,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageDataGRPC) Descriptor deprecated

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

Deprecated: Use MessageDataGRPC.ProtoReflect.Descriptor instead.

func (*MessageDataGRPC) GetMessage

func (x *MessageDataGRPC) GetMessage() []*MessageSegmentGRPC

func (*MessageDataGRPC) GetMessageId

func (x *MessageDataGRPC) GetMessageId() int64

func (*MessageDataGRPC) GetMessageType

func (x *MessageDataGRPC) GetMessageType() string

func (*MessageDataGRPC) GetRealId

func (x *MessageDataGRPC) GetRealId() int64

func (*MessageDataGRPC) GetSender

func (x *MessageDataGRPC) GetSender() *SenderGRPC

func (*MessageDataGRPC) GetTime

func (x *MessageDataGRPC) GetTime() int64

func (*MessageDataGRPC) ProtoMessage

func (*MessageDataGRPC) ProtoMessage()

func (*MessageDataGRPC) ProtoReflect

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

func (*MessageDataGRPC) Reset

func (x *MessageDataGRPC) Reset()

func (*MessageDataGRPC) String

func (x *MessageDataGRPC) String() string

func (*MessageDataGRPC) ToStruct

func (a *MessageDataGRPC) ToStruct() *MessageData

type MessageDataResult

type MessageDataResult struct {
	Data    *MessageData `json:"data"`
	Retcode int64        `json:"retcode"`
	Status  string       `json:"status"`
	Msg     string       `json:"msg"`
	Wording string       `json:"wording"`
}

func (*MessageDataResult) ToGRPC

type MessageDataResultGRPC

type MessageDataResultGRPC struct {
	Data    *MessageDataGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64            `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string           `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string           `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string           `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageDataResultGRPC) Descriptor deprecated

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

Deprecated: Use MessageDataResultGRPC.ProtoReflect.Descriptor instead.

func (*MessageDataResultGRPC) GetData

func (x *MessageDataResultGRPC) GetData() *MessageDataGRPC

func (*MessageDataResultGRPC) GetMsg

func (x *MessageDataResultGRPC) GetMsg() string

func (*MessageDataResultGRPC) GetRetcode

func (x *MessageDataResultGRPC) GetRetcode() int64

func (*MessageDataResultGRPC) GetStatus

func (x *MessageDataResultGRPC) GetStatus() string

func (*MessageDataResultGRPC) GetWording

func (x *MessageDataResultGRPC) GetWording() string

func (*MessageDataResultGRPC) ProtoMessage

func (*MessageDataResultGRPC) ProtoMessage()

func (*MessageDataResultGRPC) ProtoReflect

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

func (*MessageDataResultGRPC) Reset

func (x *MessageDataResultGRPC) Reset()

func (*MessageDataResultGRPC) String

func (x *MessageDataResultGRPC) String() string

func (*MessageDataResultGRPC) ToStruct

type MessageElement

type MessageElement interface {
	Type() string
	Enabled() bool
	ProcessGRPC(msg *MessageSegmentGRPC)
	ToCQCode() string
}

type MessageElementAnonymous

type MessageElementAnonymous struct {
	// ignore		✓	0 1	可选, 表示无法匿名时是否继续发送
	Ignore string `json:"ignore,omitempty"`
}

func (*MessageElementAnonymous) Enabled

func (msg *MessageElementAnonymous) Enabled() bool

func (*MessageElementAnonymous) ProcessGRPC

func (msg *MessageElementAnonymous) ProcessGRPC(segment *MessageSegmentGRPC)

func (*MessageElementAnonymous) ToCQCode

func (msg *MessageElementAnonymous) ToCQCode() string

func (*MessageElementAnonymous) ToGRPC

func (*MessageElementAnonymous) Type

func (msg *MessageElementAnonymous) Type() string

type MessageElementAnonymousGRPC

type MessageElementAnonymousGRPC struct {
	Ignore string `protobuf:"bytes,1,opt,name=ignore,proto3" json:"ignore,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementAnonymousGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementAnonymousGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementAnonymousGRPC) GetIgnore

func (x *MessageElementAnonymousGRPC) GetIgnore() string

func (*MessageElementAnonymousGRPC) ProtoMessage

func (*MessageElementAnonymousGRPC) ProtoMessage()

func (*MessageElementAnonymousGRPC) ProtoReflect

func (*MessageElementAnonymousGRPC) Reset

func (x *MessageElementAnonymousGRPC) Reset()

func (*MessageElementAnonymousGRPC) String

func (x *MessageElementAnonymousGRPC) String() string

func (*MessageElementAnonymousGRPC) ToStruct

type MessageElementAt

type MessageElementAt struct {
	Qq   string `json:"qq"`
	Name string `json:"name"`
}

func (*MessageElementAt) Enabled

func (msg *MessageElementAt) Enabled() bool

func (*MessageElementAt) ProcessGRPC

func (msg *MessageElementAt) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementAt) ToCQCode

func (msg *MessageElementAt) ToCQCode() string

ToCQCode

func (*MessageElementAt) ToGRPC

func (msg *MessageElementAt) ToGRPC() *MessageElementAtGRPC

func (*MessageElementAt) Type

func (msg *MessageElementAt) Type() string

type MessageElementAtGRPC

type MessageElementAtGRPC struct {
	Qq   string `protobuf:"bytes,1,opt,name=qq,proto3" json:"qq,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementAtGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementAtGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementAtGRPC) GetName

func (x *MessageElementAtGRPC) GetName() string

func (*MessageElementAtGRPC) GetQq

func (x *MessageElementAtGRPC) GetQq() string

func (*MessageElementAtGRPC) ProtoMessage

func (*MessageElementAtGRPC) ProtoMessage()

func (*MessageElementAtGRPC) ProtoReflect

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

func (*MessageElementAtGRPC) Reset

func (x *MessageElementAtGRPC) Reset()

func (*MessageElementAtGRPC) String

func (x *MessageElementAtGRPC) String() string

func (*MessageElementAtGRPC) ToStruct

func (msg *MessageElementAtGRPC) ToStruct() *MessageElementAt

type MessageElementCardimage

type MessageElementCardimage struct {
	// file	string	和image的file字段对齐, 支持也是一样的
	File string `json:"file"`
	// minwidth	int64	默认不填为400, 最小width
	Minwidth int64 `json:"minwidth"`
	// minheight	int64	默认不填为400, 最小height
	Minheight int64 `json:"minheight"`
	// maxwidth	int64	默认不填为500, 最大width
	Maxwidth int64 `json:"maxwidth"`
	// maxheight	int64	默认不填为1000, 最大height
	Maxheight int64 `json:"maxheight"`
	// source	string	分享来源的名称, 可以留空
	Source string `json:"source"`
	// icon	string	分享来源的icon图标url, 可以留空
	Icon string `json:"icon"`
}

func (*MessageElementCardimage) Enabled

func (msg *MessageElementCardimage) Enabled() bool

func (*MessageElementCardimage) ProcessGRPC

func (msg *MessageElementCardimage) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementCardimage) ToCQCode

func (msg *MessageElementCardimage) ToCQCode() string

func (*MessageElementCardimage) ToGRPC

func (*MessageElementCardimage) Type

func (msg *MessageElementCardimage) Type() string

type MessageElementCardimageGRPC

type MessageElementCardimageGRPC struct {

	// file	string	和image的file字段对齐, 支持也是一样的
	File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	// minwidth	int64	默认不填为400, 最小width
	Minwidth int64 `protobuf:"varint,2,opt,name=minwidth,proto3" json:"minwidth,omitempty"`
	// minheight	int64	默认不填为400, 最小height
	Minheight int64 `protobuf:"varint,3,opt,name=minheight,proto3" json:"minheight,omitempty"`
	// maxwidth	int64	默认不填为500, 最大width
	Maxwidth int64 `protobuf:"varint,4,opt,name=maxwidth,proto3" json:"maxwidth,omitempty"`
	// maxheight	int64	默认不填为1000, 最大height
	Maxheight int64 `protobuf:"varint,5,opt,name=maxheight,proto3" json:"maxheight,omitempty"`
	// source	string	分享来源的名称, 可以留空
	Source string `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"`
	// icon	string	分享来源的icon图标url, 可以留空
	Icon string `protobuf:"bytes,7,opt,name=icon,proto3" json:"icon,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementCardimageGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementCardimageGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementCardimageGRPC) GetFile

func (x *MessageElementCardimageGRPC) GetFile() string

func (*MessageElementCardimageGRPC) GetIcon

func (x *MessageElementCardimageGRPC) GetIcon() string

func (*MessageElementCardimageGRPC) GetMaxheight

func (x *MessageElementCardimageGRPC) GetMaxheight() int64

func (*MessageElementCardimageGRPC) GetMaxwidth

func (x *MessageElementCardimageGRPC) GetMaxwidth() int64

func (*MessageElementCardimageGRPC) GetMinheight

func (x *MessageElementCardimageGRPC) GetMinheight() int64

func (*MessageElementCardimageGRPC) GetMinwidth

func (x *MessageElementCardimageGRPC) GetMinwidth() int64

func (*MessageElementCardimageGRPC) GetSource

func (x *MessageElementCardimageGRPC) GetSource() string

func (*MessageElementCardimageGRPC) ProtoMessage

func (*MessageElementCardimageGRPC) ProtoMessage()

func (*MessageElementCardimageGRPC) ProtoReflect

func (*MessageElementCardimageGRPC) Reset

func (x *MessageElementCardimageGRPC) Reset()

func (*MessageElementCardimageGRPC) String

func (x *MessageElementCardimageGRPC) String() string

func (*MessageElementCardimageGRPC) ToStruct

type MessageElementContact

type MessageElementContact struct {
	ContactType string `json:"type"`
	Id          string `json:"id"`
}

func (*MessageElementContact) Enabled

func (msg *MessageElementContact) Enabled() bool

func (*MessageElementContact) ProcessGRPC

func (msg *MessageElementContact) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementContact) ToCQCode

func (msg *MessageElementContact) ToCQCode() string

func (*MessageElementContact) ToGRPC

func (*MessageElementContact) Type

func (msg *MessageElementContact) Type() string

type MessageElementContactGRPC

type MessageElementContactGRPC struct {
	ContactType string `protobuf:"bytes,1,opt,name=contact_type,json=type,proto3" json:"contact_type,omitempty"`
	Id          string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementContactGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementContactGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementContactGRPC) GetContactType

func (x *MessageElementContactGRPC) GetContactType() string

func (*MessageElementContactGRPC) GetId

func (x *MessageElementContactGRPC) GetId() string

func (*MessageElementContactGRPC) ProtoMessage

func (*MessageElementContactGRPC) ProtoMessage()

func (*MessageElementContactGRPC) ProtoReflect

func (*MessageElementContactGRPC) Reset

func (x *MessageElementContactGRPC) Reset()

func (*MessageElementContactGRPC) String

func (x *MessageElementContactGRPC) String() string

func (*MessageElementContactGRPC) ToStruct

type MessageElementDice

type MessageElementDice struct {
}

掷骰子魔法表情

func (*MessageElementDice) Enabled

func (msg *MessageElementDice) Enabled() bool

func (*MessageElementDice) ProcessGRPC

func (msg *MessageElementDice) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementDice) ToCQCode

func (msg *MessageElementDice) ToCQCode() string

func (*MessageElementDice) ToGRPC

func (*MessageElementDice) Type

func (msg *MessageElementDice) Type() string

掷骰子魔法表情

type MessageElementDiceGRPC

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

掷骰子魔法表情

func (*MessageElementDiceGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementDiceGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementDiceGRPC) ProtoMessage

func (*MessageElementDiceGRPC) ProtoMessage()

func (*MessageElementDiceGRPC) ProtoReflect

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

func (*MessageElementDiceGRPC) Reset

func (x *MessageElementDiceGRPC) Reset()

func (*MessageElementDiceGRPC) String

func (x *MessageElementDiceGRPC) String() string

func (*MessageElementDiceGRPC) ToStruct

func (msg *MessageElementDiceGRPC) ToStruct() *MessageElementDice

type MessageElementFace

type MessageElementFace struct {
	Id string `json:"id"`
}

func (*MessageElementFace) Enabled

func (msg *MessageElementFace) Enabled() bool

func (*MessageElementFace) ProcessGRPC

func (msg *MessageElementFace) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementFace) ToCQCode

func (msg *MessageElementFace) ToCQCode() string

func (*MessageElementFace) ToGRPC

func (*MessageElementFace) Type

func (msg *MessageElementFace) Type() string

type MessageElementFaceGRPC

type MessageElementFaceGRPC struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementFaceGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementFaceGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementFaceGRPC) GetId

func (x *MessageElementFaceGRPC) GetId() string

func (*MessageElementFaceGRPC) ProtoMessage

func (*MessageElementFaceGRPC) ProtoMessage()

func (*MessageElementFaceGRPC) ProtoReflect

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

func (*MessageElementFaceGRPC) Reset

func (x *MessageElementFaceGRPC) Reset()

func (*MessageElementFaceGRPC) String

func (x *MessageElementFaceGRPC) String() string

func (*MessageElementFaceGRPC) ToStruct

func (msg *MessageElementFaceGRPC) ToStruct() *MessageElementFace

type MessageElementForward

type MessageElementForward struct {
	// id	string	合并转发ID, 需要通过 /get_forward_msg API获取转发的具体内容
	Id string `json:"id"`
}

func (*MessageElementForward) Enabled

func (msg *MessageElementForward) Enabled() bool

func (*MessageElementForward) ProcessGRPC

func (msg *MessageElementForward) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementForward) ToCQCode

func (msg *MessageElementForward) ToCQCode() string

func (*MessageElementForward) ToGRPC

func (*MessageElementForward) Type

func (msg *MessageElementForward) Type() string

type MessageElementForwardGRPC

type MessageElementForwardGRPC struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementForwardGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementForwardGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementForwardGRPC) GetId

func (x *MessageElementForwardGRPC) GetId() string

func (*MessageElementForwardGRPC) ProtoMessage

func (*MessageElementForwardGRPC) ProtoMessage()

func (*MessageElementForwardGRPC) ProtoReflect

func (*MessageElementForwardGRPC) Reset

func (x *MessageElementForwardGRPC) Reset()

func (*MessageElementForwardGRPC) String

func (x *MessageElementForwardGRPC) String() string

func (*MessageElementForwardGRPC) ToStruct

type MessageElementGift

type MessageElementGift struct {
	// qq	int64	接收礼物的成员
	Qq int64 `json:"qq"`
	// id	int	礼物的类型
	// 0	甜 Wink
	// 1	快乐肥宅水
	// 2	幸运手链
	// 3	卡布奇诺
	// 4	猫咪手表
	// 5	绒绒手套
	// 6	彩虹糖果
	// 7	坚强
	// 8	告白话筒
	// 9	牵你的手
	// 10	可爱猫咪
	// 11	神秘面具
	// 12	我超忙的
	// 13	爱心口罩
	Id int64 `json:"id"`
}

func (*MessageElementGift) Enabled

func (msg *MessageElementGift) Enabled() bool

func (*MessageElementGift) ProcessGRPC

func (msg *MessageElementGift) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementGift) ToCQCode

func (msg *MessageElementGift) ToCQCode() string

func (*MessageElementGift) ToGRPC

func (*MessageElementGift) Type

func (msg *MessageElementGift) Type() string

type MessageElementGiftGRPC

type MessageElementGiftGRPC struct {

	// qq	int64	接收礼物的成员
	Qq int64 `protobuf:"varint,1,opt,name=Qq,proto3" json:"Qq,omitempty"`
	// id	int	礼物的类型
	// 0	甜 Wink
	// 1	快乐肥宅水
	// 2	幸运手链
	// 3	卡布奇诺
	// 4	猫咪手表
	// 5	绒绒手套
	// 6	彩虹糖果
	// 7	坚强
	// 8	告白话筒
	// 9	牵你的手
	// 10	可爱猫咪
	// 11	神秘面具
	// 12	我超忙的
	// 13	爱心口罩
	Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementGiftGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementGiftGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementGiftGRPC) GetId

func (x *MessageElementGiftGRPC) GetId() int64

func (*MessageElementGiftGRPC) GetQq

func (x *MessageElementGiftGRPC) GetQq() int64

func (*MessageElementGiftGRPC) ProtoMessage

func (*MessageElementGiftGRPC) ProtoMessage()

func (*MessageElementGiftGRPC) ProtoReflect

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

func (*MessageElementGiftGRPC) Reset

func (x *MessageElementGiftGRPC) Reset()

func (*MessageElementGiftGRPC) String

func (x *MessageElementGiftGRPC) String() string

func (*MessageElementGiftGRPC) ToStruct

func (msg *MessageElementGiftGRPC) ToStruct() *MessageElementGift

type MessageElementImage

type MessageElementImage struct {
	// 图片文件名
	File string `json:"file"`
	// 图片类型, flash 表示闪照, show 表示秀图, 默认普通图片
	ImageType string `json:"type"`
	// 图片子类型, 只出现在群聊
	// 0	正常图片
	// 1	表情包, 在客户端会被分类到表情包图片并缩放显示
	// 2	热图
	// 3	斗图
	// 4	智图?
	// 7	贴图
	// 8	自拍
	// 9	贴图广告?
	// 10	有待测试
	// 13	热搜图
	SubType string `json:"sub_type"`
	// 图片 URL
	Url string `json:"url"`
	// 是否使用缓存 0/1 只在通过网络 URL 发送时有效, 表示是否使用已缓存的文件, 默认 1
	Cache string `json:"cache"`
	// 发送秀图时的特效id, 默认为40000
	// 40000	普通
	// 40001	幻影
	// 40002	抖动
	// 40003	生日
	// 40004	爱你
	// 40005	征友
	Id string `json:"id"`
	// 通过网络下载图片时的线程数, 默认单线程. (在资源不支持并发时会自动处理)
	C string `json:"c"`
}

func (*MessageElementImage) Enabled

func (msg *MessageElementImage) Enabled() bool

func (*MessageElementImage) ProcessGRPC

func (msg *MessageElementImage) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementImage) ToCQCode

func (msg *MessageElementImage) ToCQCode() string

func (*MessageElementImage) ToGRPC

ToGRPC

func (*MessageElementImage) Type

func (msg *MessageElementImage) Type() string

type MessageElementImageGRPC

type MessageElementImageGRPC struct {

	// 文件名
	File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	// 图片类型
	ImageType string `protobuf:"bytes,2,opt,name=image_type,json=type,proto3" json:"image_type,omitempty"`
	// 图片子类型, 只出现在群聊
	// 0	正常图片
	// 1	表情包, 在客户端会被分类到表情包图片并缩放显示
	// 2	热图
	// 3	斗图
	// 4	智图?
	// 7	贴图
	// 8	自拍
	// 9	贴图广告?
	// 10	有待测试
	// 13	热搜图
	SubType string `protobuf:"bytes,3,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"`
	// 图片 URL
	Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
	// 是否使用缓存 0/1 只在通过网络 URL 发送时有效, 表示是否使用已缓存的文件, 默认 1
	Cache string `protobuf:"bytes,5,opt,name=cache,proto3" json:"cache,omitempty"`
	// 发送秀图时的特效id, 默认为40000
	// 40000	普通
	// 40001	幻影
	// 40002	抖动
	// 40003	生日
	// 40004	爱你
	// 40005	征友
	Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
	// 通过网络下载图片时的线程数, 默认单线程. (在资源不支持并发时会自动处理)
	C string `protobuf:"bytes,7,opt,name=c,proto3" json:"c,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementImageGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementImageGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementImageGRPC) GetC

func (x *MessageElementImageGRPC) GetC() string

func (*MessageElementImageGRPC) GetCache

func (x *MessageElementImageGRPC) GetCache() string

func (*MessageElementImageGRPC) GetFile

func (x *MessageElementImageGRPC) GetFile() string

func (*MessageElementImageGRPC) GetId

func (x *MessageElementImageGRPC) GetId() string

func (*MessageElementImageGRPC) GetImageType

func (x *MessageElementImageGRPC) GetImageType() string

func (*MessageElementImageGRPC) GetSubType

func (x *MessageElementImageGRPC) GetSubType() string

func (*MessageElementImageGRPC) GetUrl

func (x *MessageElementImageGRPC) GetUrl() string

func (*MessageElementImageGRPC) ProtoMessage

func (*MessageElementImageGRPC) ProtoMessage()

func (*MessageElementImageGRPC) ProtoReflect

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

func (*MessageElementImageGRPC) Reset

func (x *MessageElementImageGRPC) Reset()

func (*MessageElementImageGRPC) String

func (x *MessageElementImageGRPC) String() string

func (*MessageElementImageGRPC) ToStruct

type MessageElementJson

type MessageElementJson struct {
	// data	string	json内容, json的所有字符串记得实体化处理(转义)
	Data string `json:"data"`
	// resid	int32	默认不填为0, 走小程序通道, 填了走富文本通道发送
	Resid int32 `json:"resid"`
}

func (*MessageElementJson) Enabled

func (msg *MessageElementJson) Enabled() bool

func (*MessageElementJson) ProcessGRPC

func (msg *MessageElementJson) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementJson) ToCQCode

func (msg *MessageElementJson) ToCQCode() string

func (*MessageElementJson) ToGRPC

func (*MessageElementJson) Type

func (msg *MessageElementJson) Type() string

type MessageElementJsonGRPC

type MessageElementJsonGRPC struct {
	Data  string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Resid int32  `protobuf:"varint,2,opt,name=resid,proto3" json:"resid,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementJsonGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementJsonGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementJsonGRPC) GetData

func (x *MessageElementJsonGRPC) GetData() string

func (*MessageElementJsonGRPC) GetResid

func (x *MessageElementJsonGRPC) GetResid() int32

func (*MessageElementJsonGRPC) ProtoMessage

func (*MessageElementJsonGRPC) ProtoMessage()

func (*MessageElementJsonGRPC) ProtoReflect

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

func (*MessageElementJsonGRPC) Reset

func (x *MessageElementJsonGRPC) Reset()

func (*MessageElementJsonGRPC) String

func (x *MessageElementJsonGRPC) String() string

func (*MessageElementJsonGRPC) ToStruct

func (msg *MessageElementJsonGRPC) ToStruct() *MessageElementJson

type MessageElementLocation

type MessageElementLocation struct {
	Lat     string `json:"lat"`
	Lon     string `json:"lon"`
	Title   string `json:"title"`
	Content string `json:"content"`
}

func (*MessageElementLocation) Enabled

func (msg *MessageElementLocation) Enabled() bool

func (*MessageElementLocation) ProcessGRPC

func (msg *MessageElementLocation) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementLocation) ToCQCode

func (msg *MessageElementLocation) ToCQCode() string

func (*MessageElementLocation) ToGRPC

func (*MessageElementLocation) Type

func (msg *MessageElementLocation) Type() string

type MessageElementLocationGRPC

type MessageElementLocationGRPC struct {
	Lat     string `protobuf:"bytes,1,opt,name=lat,proto3" json:"lat,omitempty"`
	Lon     string `protobuf:"bytes,2,opt,name=lon,proto3" json:"lon,omitempty"`
	Title   string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementLocationGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementLocationGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementLocationGRPC) GetContent

func (x *MessageElementLocationGRPC) GetContent() string

func (*MessageElementLocationGRPC) GetLat

func (x *MessageElementLocationGRPC) GetLat() string

func (*MessageElementLocationGRPC) GetLon

func (x *MessageElementLocationGRPC) GetLon() string

func (*MessageElementLocationGRPC) GetTitle

func (x *MessageElementLocationGRPC) GetTitle() string

func (*MessageElementLocationGRPC) ProtoMessage

func (*MessageElementLocationGRPC) ProtoMessage()

func (*MessageElementLocationGRPC) ProtoReflect

func (*MessageElementLocationGRPC) Reset

func (x *MessageElementLocationGRPC) Reset()

func (*MessageElementLocationGRPC) String

func (x *MessageElementLocationGRPC) String() string

func (*MessageElementLocationGRPC) ToStruct

type MessageElementMusic

type MessageElementMusic struct {
	// qq 163 xm / custom 分别表示使用 QQ 音乐、网易云音乐、虾米音乐
	MusicType string `json:"type"`
	// 歌曲 ID qq 163 xm 时支持
	Id string `json:"id"`
	// 歌曲 类型为 custom 时支持
	// 点击后跳转目标 URL
	Url string `json:"url"`
	// 歌曲 类型为 custom 时支持
	// 音乐 URL
	Audio string `json:"audio"`
	// 歌曲 类型为 custom 时支持
	// 标题
	Title string `json:"title"`
	// 歌曲 类型为 custom 时支持
	// 发送时可选, 内容描述
	Content string `json:"content"`
	// 歌曲 类型为 custom 时支持
	// 发送时可选, 图片 URL
	Image string `json:"image"`
}

func (*MessageElementMusic) Enabled

func (msg *MessageElementMusic) Enabled() bool

func (*MessageElementMusic) ProcessGRPC

func (msg *MessageElementMusic) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementMusic) ToCQCode

func (msg *MessageElementMusic) ToCQCode() string

func (*MessageElementMusic) ToGRPC

func (*MessageElementMusic) Type

func (msg *MessageElementMusic) Type() string

type MessageElementMusicGRPC

type MessageElementMusicGRPC struct {
	MusicType string `protobuf:"bytes,1,opt,name=music_type,json=type,proto3" json:"music_type,omitempty"`
	Id        string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Url       string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	Audio     string `protobuf:"bytes,4,opt,name=audio,proto3" json:"audio,omitempty"`
	Title     string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	Content   string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"`
	Image     string `protobuf:"bytes,7,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementMusicGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementMusicGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementMusicGRPC) GetAudio

func (x *MessageElementMusicGRPC) GetAudio() string

func (*MessageElementMusicGRPC) GetContent

func (x *MessageElementMusicGRPC) GetContent() string

func (*MessageElementMusicGRPC) GetId

func (x *MessageElementMusicGRPC) GetId() string

func (*MessageElementMusicGRPC) GetImage

func (x *MessageElementMusicGRPC) GetImage() string

func (*MessageElementMusicGRPC) GetMusicType

func (x *MessageElementMusicGRPC) GetMusicType() string

func (*MessageElementMusicGRPC) GetTitle

func (x *MessageElementMusicGRPC) GetTitle() string

func (*MessageElementMusicGRPC) GetUrl

func (x *MessageElementMusicGRPC) GetUrl() string

func (*MessageElementMusicGRPC) ProtoMessage

func (*MessageElementMusicGRPC) ProtoMessage()

func (*MessageElementMusicGRPC) ProtoReflect

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

func (*MessageElementMusicGRPC) Reset

func (x *MessageElementMusicGRPC) Reset()

func (*MessageElementMusicGRPC) String

func (x *MessageElementMusicGRPC) String() string

func (*MessageElementMusicGRPC) ToStruct

type MessageElementNode

type MessageElementNode struct {
	// id	int32	转发消息id	直接引用他人的消息合并转发, 实际查看顺序为原消息发送顺序 与下面的自定义消息二选一
	Id string `json:"id,omitempty"`
	// name	string	发送者显示名字	用于自定义消息 (自定义消息并合并转发, 实际查看顺序为自定义消息段顺序)
	Name string `json:"name"`
	// uin	int64	发送者QQ号	用于自定义消息
	Uin int64 `json:"uin"`
	// content	message	具体消息	用于自定义消息 不支持转发套娃
	Content *MessageSegment `json:"content"`
	// seq	message	具体消息	用于自定义消息
	Seq *MessageSegment `json:"seq"`
}

func (*MessageElementNode) Enabled

func (msg *MessageElementNode) Enabled() bool

func (*MessageElementNode) ProcessGRPC

func (msg *MessageElementNode) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementNode) ToCQCode

func (msg *MessageElementNode) ToCQCode() string

func (*MessageElementNode) ToGRPC

func (*MessageElementNode) Type

func (msg *MessageElementNode) Type() string

type MessageElementNodeGRPC

type MessageElementNodeGRPC struct {

	// id	int32	转发消息id	直接引用他人的消息合并转发, 实际查看顺序为原消息发送顺序 与下面的自定义消息二选一
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// name	string	发送者显示名字	用于自定义消息 (自定义消息并合并转发, 实际查看顺序为自定义消息段顺序)
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// uin	int64	发送者QQ号	用于自定义消息
	Uin int64 `protobuf:"varint,3,opt,name=uin,proto3" json:"uin,omitempty"`
	// content	message	具体消息	用于自定义消息 不支持转发套娃
	Content *MessageSegmentGRPC `protobuf:"bytes,4,opt,name=content,proto3,oneof" json:"content,omitempty"`
	Seq     *MessageSegmentGRPC `protobuf:"bytes,5,opt,name=seq,proto3,oneof" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementNodeGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementNodeGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementNodeGRPC) GetContent

func (x *MessageElementNodeGRPC) GetContent() *MessageSegmentGRPC

func (*MessageElementNodeGRPC) GetId

func (x *MessageElementNodeGRPC) GetId() string

func (*MessageElementNodeGRPC) GetName

func (x *MessageElementNodeGRPC) GetName() string

func (*MessageElementNodeGRPC) GetSeq

func (*MessageElementNodeGRPC) GetUin

func (x *MessageElementNodeGRPC) GetUin() int64

func (*MessageElementNodeGRPC) ProtoMessage

func (*MessageElementNodeGRPC) ProtoMessage()

func (*MessageElementNodeGRPC) ProtoReflect

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

func (*MessageElementNodeGRPC) Reset

func (x *MessageElementNodeGRPC) Reset()

func (*MessageElementNodeGRPC) String

func (x *MessageElementNodeGRPC) String() string

func (*MessageElementNodeGRPC) ToStruct

func (msg *MessageElementNodeGRPC) ToStruct() *MessageElementNode

type MessageElementPoke

type MessageElementPoke struct {
	//qq	int64	需要戳的成员
	Qq int64 `json:"qq"`
}

func (*MessageElementPoke) Enabled

func (msg *MessageElementPoke) Enabled() bool

func (*MessageElementPoke) ProcessGRPC

func (msg *MessageElementPoke) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementPoke) ToCQCode

func (msg *MessageElementPoke) ToCQCode() string

func (*MessageElementPoke) ToGRPC

func (*MessageElementPoke) Type

func (msg *MessageElementPoke) Type() string

type MessageElementPokeGRPC

type MessageElementPokeGRPC struct {
	Qq int64 `protobuf:"varint,1,opt,name=qq,proto3" json:"qq,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementPokeGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementPokeGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementPokeGRPC) GetQq

func (x *MessageElementPokeGRPC) GetQq() int64

func (*MessageElementPokeGRPC) ProtoMessage

func (*MessageElementPokeGRPC) ProtoMessage()

func (*MessageElementPokeGRPC) ProtoReflect

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

func (*MessageElementPokeGRPC) Reset

func (x *MessageElementPokeGRPC) Reset()

func (*MessageElementPokeGRPC) String

func (x *MessageElementPokeGRPC) String() string

func (*MessageElementPokeGRPC) ToStruct

func (msg *MessageElementPokeGRPC) ToStruct() *MessageElementPoke

type MessageElementRecord

type MessageElementRecord struct {
	// file	✓	✓[1]	-	语音文件名
	File string `json:"file"`
	// magic	✓	✓	0 1	发送时可选, 默认 0, 设置为 1 表示变声
	Magic string `json:"magic"`
	// url	✓		-	语音 URL
	Url string `json:"url"`
	// cache		✓	0 1	只在通过网络 URL 发送时有效, 表示是否使用已缓存的文件, 默认 1
	Cache string `json:"cache"`
	// proxy		✓	0 1	只在通过网络 URL 发送时有效, 表示是否通过代理下载文件 ( 需通过环境变量或配置文件配置代理 ) , 默认 1
	Proxy string `json:"proxy"`
	// timeout		✓	-	只在通过网络 URL 发送时有效, 单位秒, 表示下载网络文件的超时时间 , 默认不超时
	Timeout string `json:"timeout"`
}

func (*MessageElementRecord) Enabled

func (msg *MessageElementRecord) Enabled() bool

func (*MessageElementRecord) ProcessGRPC

func (msg *MessageElementRecord) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementRecord) ToCQCode

func (msg *MessageElementRecord) ToCQCode() string

func (*MessageElementRecord) ToGRPC

func (*MessageElementRecord) Type

func (msg *MessageElementRecord) Type() string

type MessageElementRecordGRPC

type MessageElementRecordGRPC struct {

	// file	✓	✓[1]	-	语音文件名
	File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	// magic	✓	✓	0 1	发送时可选, 默认 0, 设置为 1 表示变声
	Magic string `protobuf:"bytes,2,opt,name=magic,proto3" json:"magic,omitempty"`
	// url	✓		-	语音 URL
	Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	// cache		✓	0 1	只在通过网络 URL 发送时有效, 表示是否使用已缓存的文件, 默认 1
	Cache string `protobuf:"bytes,4,opt,name=cache,proto3" json:"cache,omitempty"`
	// proxy		✓	0 1	只在通过网络 URL 发送时有效, 表示是否通过代理下载文件 ( 需通过环境变量或配置文件配置代理 ) , 默认 1
	Proxy string `protobuf:"bytes,5,opt,name=proxy,proto3" json:"proxy,omitempty"`
	// timeout		✓	-	只在通过网络 URL 发送时有效, 单位秒, 表示下载网络文件的超时时间 , 默认不超时
	Timeout string `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementRecordGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementRecordGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementRecordGRPC) GetCache

func (x *MessageElementRecordGRPC) GetCache() string

func (*MessageElementRecordGRPC) GetFile

func (x *MessageElementRecordGRPC) GetFile() string

func (*MessageElementRecordGRPC) GetMagic

func (x *MessageElementRecordGRPC) GetMagic() string

func (*MessageElementRecordGRPC) GetProxy

func (x *MessageElementRecordGRPC) GetProxy() string

func (*MessageElementRecordGRPC) GetTimeout

func (x *MessageElementRecordGRPC) GetTimeout() string

func (*MessageElementRecordGRPC) GetUrl

func (x *MessageElementRecordGRPC) GetUrl() string

func (*MessageElementRecordGRPC) ProtoMessage

func (*MessageElementRecordGRPC) ProtoMessage()

func (*MessageElementRecordGRPC) ProtoReflect

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

func (*MessageElementRecordGRPC) Reset

func (x *MessageElementRecordGRPC) Reset()

func (*MessageElementRecordGRPC) String

func (x *MessageElementRecordGRPC) String() string

func (*MessageElementRecordGRPC) ToStruct

type MessageElementRedbag

type MessageElementRedbag struct {
	// title	string	祝福语/口令
	Title string `json:"title"`
}

func (*MessageElementRedbag) Enabled

func (msg *MessageElementRedbag) Enabled() bool

func (*MessageElementRedbag) ProcessGRPC

func (msg *MessageElementRedbag) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementRedbag) ToCQCode

func (msg *MessageElementRedbag) ToCQCode() string

func (*MessageElementRedbag) ToGRPC

func (*MessageElementRedbag) Type

func (msg *MessageElementRedbag) Type() string

type MessageElementRedbagGRPC

type MessageElementRedbagGRPC struct {
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementRedbagGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementRedbagGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementRedbagGRPC) GetTitle

func (x *MessageElementRedbagGRPC) GetTitle() string

func (*MessageElementRedbagGRPC) ProtoMessage

func (*MessageElementRedbagGRPC) ProtoMessage()

func (*MessageElementRedbagGRPC) ProtoReflect

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

func (*MessageElementRedbagGRPC) Reset

func (x *MessageElementRedbagGRPC) Reset()

func (*MessageElementRedbagGRPC) String

func (x *MessageElementRedbagGRPC) String() string

func (*MessageElementRedbagGRPC) ToStruct

type MessageElementReply

type MessageElementReply struct {
	// id	int	回复时所引用的消息id, 必须为本群消息.
	Id int64 `json:"id"`
	// 	text	string	自定义回复的信息
	Text string `json:"text"`
	// qq	int64	自定义回复时的自定义QQ, 如果使用自定义信息必须指定.
	QQ int64 `json:"qq"`
	// time	int64	自定义回复时的时间, 格式为Unix时间
	Time int64 `json:"time"`
	// seq	int64	起始消息序号, 可通过 get_msg 获得
	Seq int64 `json:"seq"`
}

func (*MessageElementReply) Enabled

func (msg *MessageElementReply) Enabled() bool

func (*MessageElementReply) ProcessGRPC

func (msg *MessageElementReply) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementReply) ToCQCode

func (msg *MessageElementReply) ToCQCode() string

func (*MessageElementReply) ToGRPC

func (*MessageElementReply) Type

func (msg *MessageElementReply) Type() string

type MessageElementReplyGRPC

type MessageElementReplyGRPC struct {

	// id	int	回复时所引用的消息id, 必须为本群消息.
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 	text	string	自定义回复的信息
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// qq	int64	自定义回复时的自定义QQ, 如果使用自定义信息必须指定.
	Qq int64 `protobuf:"varint,3,opt,name=qq,proto3" json:"qq,omitempty"`
	// time	int64	自定义回复时的时间, 格式为Unix时间
	Time int64 `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"`
	// seq	int64	起始消息序号, 可通过 get_msg 获得
	Seq int64 `protobuf:"varint,5,opt,name=seq,proto3" json:"seq,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementReplyGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementReplyGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementReplyGRPC) GetId

func (x *MessageElementReplyGRPC) GetId() int64

func (*MessageElementReplyGRPC) GetQq

func (x *MessageElementReplyGRPC) GetQq() int64

func (*MessageElementReplyGRPC) GetSeq

func (x *MessageElementReplyGRPC) GetSeq() int64

func (*MessageElementReplyGRPC) GetText

func (x *MessageElementReplyGRPC) GetText() string

func (*MessageElementReplyGRPC) GetTime

func (x *MessageElementReplyGRPC) GetTime() int64

func (*MessageElementReplyGRPC) ProtoMessage

func (*MessageElementReplyGRPC) ProtoMessage()

func (*MessageElementReplyGRPC) ProtoReflect

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

func (*MessageElementReplyGRPC) Reset

func (x *MessageElementReplyGRPC) Reset()

func (*MessageElementReplyGRPC) String

func (x *MessageElementReplyGRPC) String() string

func (*MessageElementReplyGRPC) ToStruct

type MessageElementRps

type MessageElementRps struct {
}

func (*MessageElementRps) Enabled

func (msg *MessageElementRps) Enabled() bool

func (*MessageElementRps) ProcessGRPC

func (msg *MessageElementRps) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementRps) ToCQCode

func (msg *MessageElementRps) ToCQCode() string

func (*MessageElementRps) ToGRPC

func (*MessageElementRps) Type

func (msg *MessageElementRps) Type() string

type MessageElementRpsGRPC

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

func (*MessageElementRpsGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementRpsGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementRpsGRPC) ProtoMessage

func (*MessageElementRpsGRPC) ProtoMessage()

func (*MessageElementRpsGRPC) ProtoReflect

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

func (*MessageElementRpsGRPC) Reset

func (x *MessageElementRpsGRPC) Reset()

func (*MessageElementRpsGRPC) String

func (x *MessageElementRpsGRPC) String() string

func (*MessageElementRpsGRPC) ToStruct

func (msg *MessageElementRpsGRPC) ToStruct() *MessageElementRps

type MessageElementShake

type MessageElementShake struct {
}

func (*MessageElementShake) Enabled

func (msg *MessageElementShake) Enabled() bool

func (*MessageElementShake) ProcessGRPC

func (msg *MessageElementShake) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementShake) ToCQCode

func (msg *MessageElementShake) ToCQCode() string

func (*MessageElementShake) ToGRPC

func (*MessageElementShake) Type

func (msg *MessageElementShake) Type() string

type MessageElementShakeGRPC

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

func (*MessageElementShakeGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementShakeGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementShakeGRPC) ProtoMessage

func (*MessageElementShakeGRPC) ProtoMessage()

func (*MessageElementShakeGRPC) ProtoReflect

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

func (*MessageElementShakeGRPC) Reset

func (x *MessageElementShakeGRPC) Reset()

func (*MessageElementShakeGRPC) String

func (x *MessageElementShakeGRPC) String() string

func (*MessageElementShakeGRPC) ToStruct

type MessageElementShare

type MessageElementShare struct {
	Url     string `json:"url"`
	Title   string `json:"title"`
	Content string `json:"content"`
	Image   string `json:"image"`
}

func (*MessageElementShare) Enabled

func (msg *MessageElementShare) Enabled() bool

func (*MessageElementShare) ProcessGRPC

func (msg *MessageElementShare) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementShare) ToCQCode

func (msg *MessageElementShare) ToCQCode() string

func (*MessageElementShare) ToGRPC

func (*MessageElementShare) Type

func (msg *MessageElementShare) Type() string

type MessageElementShareGRPC

type MessageElementShareGRPC struct {
	Url     string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Title   string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	Image   string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementShareGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementShareGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementShareGRPC) GetContent

func (x *MessageElementShareGRPC) GetContent() string

func (*MessageElementShareGRPC) GetImage

func (x *MessageElementShareGRPC) GetImage() string

func (*MessageElementShareGRPC) GetTitle

func (x *MessageElementShareGRPC) GetTitle() string

func (*MessageElementShareGRPC) GetUrl

func (x *MessageElementShareGRPC) GetUrl() string

func (*MessageElementShareGRPC) ProtoMessage

func (*MessageElementShareGRPC) ProtoMessage()

func (*MessageElementShareGRPC) ProtoReflect

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

func (*MessageElementShareGRPC) Reset

func (x *MessageElementShareGRPC) Reset()

func (*MessageElementShareGRPC) String

func (x *MessageElementShareGRPC) String() string

func (*MessageElementShareGRPC) ToStruct

type MessageElementText

type MessageElementText struct {
	Text string `json:"text"`
}

func (*MessageElementText) Enabled

func (msg *MessageElementText) Enabled() bool

func (*MessageElementText) ProcessGRPC

func (msg *MessageElementText) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementText) ToCQCode

func (msg *MessageElementText) ToCQCode() string

func (*MessageElementText) ToGRPC

func (*MessageElementText) Type

func (msg *MessageElementText) Type() string

type MessageElementTextGRPC

type MessageElementTextGRPC struct {
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementTextGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementTextGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementTextGRPC) GetText

func (x *MessageElementTextGRPC) GetText() string

func (*MessageElementTextGRPC) ProtoMessage

func (*MessageElementTextGRPC) ProtoMessage()

func (*MessageElementTextGRPC) ProtoReflect

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

func (*MessageElementTextGRPC) Reset

func (x *MessageElementTextGRPC) Reset()

func (*MessageElementTextGRPC) String

func (x *MessageElementTextGRPC) String() string

func (*MessageElementTextGRPC) ToStruct

func (msg *MessageElementTextGRPC) ToStruct() *MessageElementText

type MessageElementTts

type MessageElementTts struct {
	// text	string	内容
	Text string `json:"text"`
}

func (*MessageElementTts) Enabled

func (msg *MessageElementTts) Enabled() bool

func (*MessageElementTts) ProcessGRPC

func (msg *MessageElementTts) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementTts) ToCQCode

func (msg *MessageElementTts) ToCQCode() string

func (*MessageElementTts) ToGRPC

func (*MessageElementTts) Type

func (msg *MessageElementTts) Type() string

type MessageElementTtsGRPC

type MessageElementTtsGRPC struct {
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementTtsGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementTtsGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementTtsGRPC) GetText

func (x *MessageElementTtsGRPC) GetText() string

func (*MessageElementTtsGRPC) ProtoMessage

func (*MessageElementTtsGRPC) ProtoMessage()

func (*MessageElementTtsGRPC) ProtoReflect

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

func (*MessageElementTtsGRPC) Reset

func (x *MessageElementTtsGRPC) Reset()

func (*MessageElementTtsGRPC) String

func (x *MessageElementTtsGRPC) String() string

func (*MessageElementTtsGRPC) ToStruct

func (msg *MessageElementTtsGRPC) ToStruct() *MessageElementTts

type MessageElementVideo

type MessageElementVideo struct {
	// file	string	-	视频地址, 支持http和file发送
	File string `json:"file"`
	// cover	string	-	视频封面, 支持http, file和base64发送, 格式必须为jpg
	Cover string `json:"cover"`
	// c	int	2 3	通过网络下载视频时的线程数, 默认单线程. (在资源不支持并发时会自动处理)
	C uint32 `json:"c"`
}

func (*MessageElementVideo) Enabled

func (msg *MessageElementVideo) Enabled() bool

func (*MessageElementVideo) ProcessGRPC

func (msg *MessageElementVideo) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementVideo) ToCQCode

func (msg *MessageElementVideo) ToCQCode() string

func (*MessageElementVideo) ToGRPC

func (*MessageElementVideo) Type

func (msg *MessageElementVideo) Type() string

type MessageElementVideoGRPC

type MessageElementVideoGRPC struct {

	// file	string	-	视频地址, 支持http和file发送
	File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	// cover	string	-	视频封面, 支持http, file和base64发送, 格式必须为jpg
	Cover string `protobuf:"bytes,2,opt,name=cover,proto3" json:"cover,omitempty"`
	// c	int	2 3	通过网络下载视频时的线程数, 默认单线程. (在资源不支持并发时会自动处理)
	C uint32 `protobuf:"varint,3,opt,name=c,proto3" json:"c,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementVideoGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementVideoGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementVideoGRPC) GetC

func (x *MessageElementVideoGRPC) GetC() uint32

func (*MessageElementVideoGRPC) GetCover

func (x *MessageElementVideoGRPC) GetCover() string

func (*MessageElementVideoGRPC) GetFile

func (x *MessageElementVideoGRPC) GetFile() string

func (*MessageElementVideoGRPC) ProtoMessage

func (*MessageElementVideoGRPC) ProtoMessage()

func (*MessageElementVideoGRPC) ProtoReflect

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

func (*MessageElementVideoGRPC) Reset

func (x *MessageElementVideoGRPC) Reset()

func (*MessageElementVideoGRPC) String

func (x *MessageElementVideoGRPC) String() string

func (*MessageElementVideoGRPC) ToStruct

type MessageElementXml

type MessageElementXml struct {
	// data	string	xml内容, xml中的value部分, 记得实体化处理
	Data string `json:"data"`
	// resid	int32	可能为空, 或空字符串
	Resid int32 `json:"resid"`
}

func (*MessageElementXml) Enabled

func (msg *MessageElementXml) Enabled() bool

func (*MessageElementXml) ProcessGRPC

func (msg *MessageElementXml) ProcessGRPC(segment *MessageSegmentGRPC)

ProcessGRPC

func (*MessageElementXml) ToCQCode

func (msg *MessageElementXml) ToCQCode() string

func (*MessageElementXml) ToGRPC

func (*MessageElementXml) Type

func (msg *MessageElementXml) Type() string

type MessageElementXmlGRPC

type MessageElementXmlGRPC struct {
	Data  string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Resid int32  `protobuf:"varint,2,opt,name=resid,proto3" json:"resid,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageElementXmlGRPC) Descriptor deprecated

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

Deprecated: Use MessageElementXmlGRPC.ProtoReflect.Descriptor instead.

func (*MessageElementXmlGRPC) GetData

func (x *MessageElementXmlGRPC) GetData() string

func (*MessageElementXmlGRPC) GetResid

func (x *MessageElementXmlGRPC) GetResid() int32

func (*MessageElementXmlGRPC) ProtoMessage

func (*MessageElementXmlGRPC) ProtoMessage()

func (*MessageElementXmlGRPC) ProtoReflect

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

func (*MessageElementXmlGRPC) Reset

func (x *MessageElementXmlGRPC) Reset()

func (*MessageElementXmlGRPC) String

func (x *MessageElementXmlGRPC) String() string

func (*MessageElementXmlGRPC) ToStruct

func (msg *MessageElementXmlGRPC) ToStruct() *MessageElementXml

type MessageSegment

type MessageSegment struct {
	Type string         `json:"type"`
	Data MessageElement `json:"data"`
}

func MessageSegmentGRPCArray2MessageSegmentArray

func MessageSegmentGRPCArray2MessageSegmentArray(source []*MessageSegmentGRPC) []*MessageSegment

func ParseCQCode

func ParseCQCode(cqCode string) (*MessageSegment, error)

func ParseStringMessage

func ParseStringMessage(strMsg string) ([]*MessageSegment, error)

func (*MessageSegment) ToCQCode

func (msg *MessageSegment) ToCQCode() string

func (*MessageSegment) ToGRPC

func (msg *MessageSegment) ToGRPC() *MessageSegmentGRPC

func (*MessageSegment) UnmarshalJSON

func (msgSeg *MessageSegment) UnmarshalJSON(data []byte) error

type MessageSegmentGRPC

type MessageSegmentGRPC struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Types that are assignable to Data:
	//	*MessageSegmentGRPC_MessageElementAnonymous
	//	*MessageSegmentGRPC_MessageElementAt
	//	*MessageSegmentGRPC_MessageElementCardimage
	//	*MessageSegmentGRPC_MessageElementContact
	//	*MessageSegmentGRPC_MessageElementDice
	//	*MessageSegmentGRPC_MessageElementFace
	//	*MessageSegmentGRPC_MessageElementForward
	//	*MessageSegmentGRPC_MessageElementGift
	//	*MessageSegmentGRPC_MessageElementImage
	//	*MessageSegmentGRPC_MessageElementJson
	//	*MessageSegmentGRPC_MessageElementLocation
	//	*MessageSegmentGRPC_MessageElementMusic
	//	*MessageSegmentGRPC_MessageElementPoke
	//	*MessageSegmentGRPC_MessageElementRecord
	//	*MessageSegmentGRPC_MessageElementRedbag
	//	*MessageSegmentGRPC_MessageElementReply
	//	*MessageSegmentGRPC_MessageElementRps
	//	*MessageSegmentGRPC_MessageElementShake
	//	*MessageSegmentGRPC_MessageElementShare
	//	*MessageSegmentGRPC_MessageElementText
	//	*MessageSegmentGRPC_MessageElementTts
	//	*MessageSegmentGRPC_MessageElementVideo
	//	*MessageSegmentGRPC_MessageElementXml
	//	*MessageSegmentGRPC_MessageElementNode
	Data isMessageSegmentGRPC_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func MessageSegmentArray2MessageSegmentGRPCArray

func MessageSegmentArray2MessageSegmentGRPCArray(source []*MessageSegment) []*MessageSegmentGRPC

func (*MessageSegmentGRPC) Descriptor deprecated

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

Deprecated: Use MessageSegmentGRPC.ProtoReflect.Descriptor instead.

func (*MessageSegmentGRPC) GetData

func (m *MessageSegmentGRPC) GetData() isMessageSegmentGRPC_Data

func (*MessageSegmentGRPC) GetMessageElementAnonymous

func (x *MessageSegmentGRPC) GetMessageElementAnonymous() *MessageElementAnonymousGRPC

func (*MessageSegmentGRPC) GetMessageElementAt

func (x *MessageSegmentGRPC) GetMessageElementAt() *MessageElementAtGRPC

func (*MessageSegmentGRPC) GetMessageElementCardimage

func (x *MessageSegmentGRPC) GetMessageElementCardimage() *MessageElementCardimageGRPC

func (*MessageSegmentGRPC) GetMessageElementContact

func (x *MessageSegmentGRPC) GetMessageElementContact() *MessageElementContactGRPC

func (*MessageSegmentGRPC) GetMessageElementDice

func (x *MessageSegmentGRPC) GetMessageElementDice() *MessageElementDiceGRPC

func (*MessageSegmentGRPC) GetMessageElementFace

func (x *MessageSegmentGRPC) GetMessageElementFace() *MessageElementFaceGRPC

func (*MessageSegmentGRPC) GetMessageElementForward

func (x *MessageSegmentGRPC) GetMessageElementForward() *MessageElementForwardGRPC

func (*MessageSegmentGRPC) GetMessageElementGift

func (x *MessageSegmentGRPC) GetMessageElementGift() *MessageElementGiftGRPC

func (*MessageSegmentGRPC) GetMessageElementImage

func (x *MessageSegmentGRPC) GetMessageElementImage() *MessageElementImageGRPC

func (*MessageSegmentGRPC) GetMessageElementJson

func (x *MessageSegmentGRPC) GetMessageElementJson() *MessageElementJsonGRPC

func (*MessageSegmentGRPC) GetMessageElementLocation

func (x *MessageSegmentGRPC) GetMessageElementLocation() *MessageElementLocationGRPC

func (*MessageSegmentGRPC) GetMessageElementMusic

func (x *MessageSegmentGRPC) GetMessageElementMusic() *MessageElementMusicGRPC

func (*MessageSegmentGRPC) GetMessageElementNode

func (x *MessageSegmentGRPC) GetMessageElementNode() *MessageElementNodeGRPC

func (*MessageSegmentGRPC) GetMessageElementPoke

func (x *MessageSegmentGRPC) GetMessageElementPoke() *MessageElementPokeGRPC

func (*MessageSegmentGRPC) GetMessageElementRecord

func (x *MessageSegmentGRPC) GetMessageElementRecord() *MessageElementRecordGRPC

func (*MessageSegmentGRPC) GetMessageElementRedbag

func (x *MessageSegmentGRPC) GetMessageElementRedbag() *MessageElementRedbagGRPC

func (*MessageSegmentGRPC) GetMessageElementReply

func (x *MessageSegmentGRPC) GetMessageElementReply() *MessageElementReplyGRPC

func (*MessageSegmentGRPC) GetMessageElementRps

func (x *MessageSegmentGRPC) GetMessageElementRps() *MessageElementRpsGRPC

func (*MessageSegmentGRPC) GetMessageElementShake

func (x *MessageSegmentGRPC) GetMessageElementShake() *MessageElementShakeGRPC

func (*MessageSegmentGRPC) GetMessageElementShare

func (x *MessageSegmentGRPC) GetMessageElementShare() *MessageElementShareGRPC

func (*MessageSegmentGRPC) GetMessageElementText

func (x *MessageSegmentGRPC) GetMessageElementText() *MessageElementTextGRPC

func (*MessageSegmentGRPC) GetMessageElementTts

func (x *MessageSegmentGRPC) GetMessageElementTts() *MessageElementTtsGRPC

func (*MessageSegmentGRPC) GetMessageElementVideo

func (x *MessageSegmentGRPC) GetMessageElementVideo() *MessageElementVideoGRPC

func (*MessageSegmentGRPC) GetMessageElementXml

func (x *MessageSegmentGRPC) GetMessageElementXml() *MessageElementXmlGRPC

func (*MessageSegmentGRPC) GetType

func (x *MessageSegmentGRPC) GetType() string

func (*MessageSegmentGRPC) ProtoMessage

func (*MessageSegmentGRPC) ProtoMessage()

func (*MessageSegmentGRPC) ProtoReflect

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

func (*MessageSegmentGRPC) Reset

func (x *MessageSegmentGRPC) Reset()

func (*MessageSegmentGRPC) String

func (x *MessageSegmentGRPC) String() string

func (*MessageSegmentGRPC) ToStruct

func (msg *MessageSegmentGRPC) ToStruct() *MessageSegment

type MessageSegmentGRPC_MessageElementAnonymous

type MessageSegmentGRPC_MessageElementAnonymous struct {
	MessageElementAnonymous *MessageElementAnonymousGRPC `protobuf:"bytes,2,opt,name=message_element_anonymous,json=messageElementAnonymous,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementAt

type MessageSegmentGRPC_MessageElementAt struct {
	MessageElementAt *MessageElementAtGRPC `protobuf:"bytes,3,opt,name=message_element_at,json=messageElementAt,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementCardimage

type MessageSegmentGRPC_MessageElementCardimage struct {
	MessageElementCardimage *MessageElementCardimageGRPC `protobuf:"bytes,4,opt,name=message_element_cardimage,json=messageElementCardimage,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementContact

type MessageSegmentGRPC_MessageElementContact struct {
	MessageElementContact *MessageElementContactGRPC `protobuf:"bytes,5,opt,name=message_element_contact,json=messageElementContact,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementDice

type MessageSegmentGRPC_MessageElementDice struct {
	MessageElementDice *MessageElementDiceGRPC `protobuf:"bytes,6,opt,name=message_element_dice,json=messageElementDice,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementFace

type MessageSegmentGRPC_MessageElementFace struct {
	MessageElementFace *MessageElementFaceGRPC `protobuf:"bytes,7,opt,name=message_element_face,json=messageElementFace,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementForward

type MessageSegmentGRPC_MessageElementForward struct {
	MessageElementForward *MessageElementForwardGRPC `protobuf:"bytes,8,opt,name=message_element_forward,json=messageElementForward,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementGift

type MessageSegmentGRPC_MessageElementGift struct {
	MessageElementGift *MessageElementGiftGRPC `protobuf:"bytes,9,opt,name=message_element_gift,json=messageElementGift,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementImage

type MessageSegmentGRPC_MessageElementImage struct {
	MessageElementImage *MessageElementImageGRPC `protobuf:"bytes,10,opt,name=message_element_image,json=messageElementImage,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementJson

type MessageSegmentGRPC_MessageElementJson struct {
	MessageElementJson *MessageElementJsonGRPC `protobuf:"bytes,11,opt,name=message_element_json,json=messageElementJson,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementLocation

type MessageSegmentGRPC_MessageElementLocation struct {
	MessageElementLocation *MessageElementLocationGRPC `protobuf:"bytes,12,opt,name=message_element_location,json=messageElementLocation,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementMusic

type MessageSegmentGRPC_MessageElementMusic struct {
	MessageElementMusic *MessageElementMusicGRPC `protobuf:"bytes,13,opt,name=message_element_music,json=messageElementMusic,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementNode

type MessageSegmentGRPC_MessageElementNode struct {
	MessageElementNode *MessageElementNodeGRPC `protobuf:"bytes,25,opt,name=message_element_node,json=messageElementNode,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementPoke

type MessageSegmentGRPC_MessageElementPoke struct {
	MessageElementPoke *MessageElementPokeGRPC `protobuf:"bytes,14,opt,name=message_element_poke,json=messageElementPoke,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementRecord

type MessageSegmentGRPC_MessageElementRecord struct {
	MessageElementRecord *MessageElementRecordGRPC `protobuf:"bytes,15,opt,name=message_element_record,json=messageElementRecord,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementRedbag

type MessageSegmentGRPC_MessageElementRedbag struct {
	MessageElementRedbag *MessageElementRedbagGRPC `protobuf:"bytes,16,opt,name=message_element_redbag,json=messageElementRedbag,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementReply

type MessageSegmentGRPC_MessageElementReply struct {
	MessageElementReply *MessageElementReplyGRPC `protobuf:"bytes,17,opt,name=message_element_reply,json=messageElementReply,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementRps

type MessageSegmentGRPC_MessageElementRps struct {
	MessageElementRps *MessageElementRpsGRPC `protobuf:"bytes,18,opt,name=message_element_rps,json=messageElementRps,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementShake

type MessageSegmentGRPC_MessageElementShake struct {
	MessageElementShake *MessageElementShakeGRPC `protobuf:"bytes,19,opt,name=message_element_shake,json=messageElementShake,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementShare

type MessageSegmentGRPC_MessageElementShare struct {
	MessageElementShare *MessageElementShareGRPC `protobuf:"bytes,20,opt,name=message_element_share,json=messageElementShare,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementText

type MessageSegmentGRPC_MessageElementText struct {
	MessageElementText *MessageElementTextGRPC `protobuf:"bytes,21,opt,name=message_element_text,json=messageElementText,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementTts

type MessageSegmentGRPC_MessageElementTts struct {
	MessageElementTts *MessageElementTtsGRPC `protobuf:"bytes,22,opt,name=message_element_tts,json=messageElementTts,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementVideo

type MessageSegmentGRPC_MessageElementVideo struct {
	MessageElementVideo *MessageElementVideoGRPC `protobuf:"bytes,23,opt,name=message_element_video,json=messageElementVideo,proto3,oneof"`
}

type MessageSegmentGRPC_MessageElementXml

type MessageSegmentGRPC_MessageElementXml struct {
	MessageElementXml *MessageElementXmlGRPC `protobuf:"bytes,24,opt,name=message_element_xml,json=messageElementXml,proto3,oneof"`
}

type MessageSegments

type MessageSegments []*MessageSegment

func (*MessageSegments) UnmarshalJSON

func (m *MessageSegments) UnmarshalJSON(data []byte) error

type MessageType

type MessageType string
const (
	PrivateMessageType MessageType = "private"
	GroupMessageType   MessageType = "group"
)

type Messages

type Messages struct {
	Messages MessageSegments `json:"messages"`
}

func (*Messages) ToGRPC

func (a *Messages) ToGRPC() *MessagesGRPC

type MessagesGRPC

type MessagesGRPC struct {
	Messages []*MessageSegmentGRPC `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*MessagesGRPC) Descriptor deprecated

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

Deprecated: Use MessagesGRPC.ProtoReflect.Descriptor instead.

func (*MessagesGRPC) GetMessages

func (x *MessagesGRPC) GetMessages() []*MessageSegmentGRPC

func (*MessagesGRPC) ProtoMessage

func (*MessagesGRPC) ProtoMessage()

func (*MessagesGRPC) ProtoReflect

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

func (*MessagesGRPC) Reset

func (x *MessagesGRPC) Reset()

func (*MessagesGRPC) String

func (x *MessagesGRPC) String() string

func (*MessagesGRPC) ToStruct

func (a *MessagesGRPC) ToStruct() *Messages

type MessagesResult

type MessagesResult struct {
	Retcode int64     `json:"retcode"`
	Data    *Messages `json:"data"`
	Status  string    `json:"status"`
	Msg     string    `json:"msg"`
	Wording string    `json:"wording"`
}

func (*MessagesResult) ToGRPC

func (a *MessagesResult) ToGRPC() *MessagesResultGRPC

type MessagesResultGRPC

type MessagesResultGRPC struct {
	Data    *MessagesGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64         `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string        `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string        `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string        `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*MessagesResultGRPC) Descriptor deprecated

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

Deprecated: Use MessagesResultGRPC.ProtoReflect.Descriptor instead.

func (*MessagesResultGRPC) GetData

func (x *MessagesResultGRPC) GetData() *MessagesGRPC

func (*MessagesResultGRPC) GetMsg

func (x *MessagesResultGRPC) GetMsg() string

func (*MessagesResultGRPC) GetRetcode

func (x *MessagesResultGRPC) GetRetcode() int64

func (*MessagesResultGRPC) GetStatus

func (x *MessagesResultGRPC) GetStatus() string

func (*MessagesResultGRPC) GetWording

func (x *MessagesResultGRPC) GetWording() string

func (*MessagesResultGRPC) ProtoMessage

func (*MessagesResultGRPC) ProtoMessage()

func (*MessagesResultGRPC) ProtoReflect

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

func (*MessagesResultGRPC) Reset

func (x *MessagesResultGRPC) Reset()

func (*MessagesResultGRPC) String

func (x *MessagesResultGRPC) String() string

func (*MessagesResultGRPC) ToStruct

func (a *MessagesResultGRPC) ToStruct() *MessagesResult

type ModelShow

type ModelShow struct {
	Variants []Variant `json:"variants"`
}

func (*ModelShow) ToGRPC

func (a *ModelShow) ToGRPC() *ModelShowGRPC

type ModelShowGRPC

type ModelShowGRPC struct {
	Variants []*VariantGRPC `protobuf:"bytes,1,rep,name=variants,proto3" json:"variants,omitempty"`
	// contains filtered or unexported fields
}

func (*ModelShowGRPC) Descriptor deprecated

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

Deprecated: Use ModelShowGRPC.ProtoReflect.Descriptor instead.

func (*ModelShowGRPC) GetVariants

func (x *ModelShowGRPC) GetVariants() []*VariantGRPC

func (*ModelShowGRPC) ProtoMessage

func (*ModelShowGRPC) ProtoMessage()

func (*ModelShowGRPC) ProtoReflect

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

func (*ModelShowGRPC) Reset

func (x *ModelShowGRPC) Reset()

func (*ModelShowGRPC) String

func (x *ModelShowGRPC) String() string

func (*ModelShowGRPC) ToStruct

func (a *ModelShowGRPC) ToStruct() *ModelShow

type ModelShowResult

type ModelShowResult struct {
	Data    *ModelShow `json:"data"`
	Retcode int64      `json:"retcode"`
	Status  string     `json:"status"`
	Msg     string     `json:"msg"`
	Wording string     `json:"wording"`
}

func (*ModelShowResult) ToGRPC

func (a *ModelShowResult) ToGRPC() *ModelShowResultGRPC

type ModelShowResultGRPC

type ModelShowResultGRPC struct {
	Data    *ModelShowGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64          `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string         `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string         `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string         `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*ModelShowResultGRPC) Descriptor deprecated

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

Deprecated: Use ModelShowResultGRPC.ProtoReflect.Descriptor instead.

func (*ModelShowResultGRPC) GetData

func (x *ModelShowResultGRPC) GetData() *ModelShowGRPC

func (*ModelShowResultGRPC) GetMsg

func (x *ModelShowResultGRPC) GetMsg() string

func (*ModelShowResultGRPC) GetRetcode

func (x *ModelShowResultGRPC) GetRetcode() int64

func (*ModelShowResultGRPC) GetStatus

func (x *ModelShowResultGRPC) GetStatus() string

func (*ModelShowResultGRPC) GetWording

func (x *ModelShowResultGRPC) GetWording() string

func (*ModelShowResultGRPC) ProtoMessage

func (*ModelShowResultGRPC) ProtoMessage()

func (*ModelShowResultGRPC) ProtoReflect

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

func (*ModelShowResultGRPC) Reset

func (x *ModelShowResultGRPC) Reset()

func (*ModelShowResultGRPC) String

func (x *ModelShowResultGRPC) String() string

func (*ModelShowResultGRPC) ToStruct

func (a *ModelShowResultGRPC) ToStruct() *ModelShowResult

type MsgForSend

type MsgForSend struct {
	UserId      int64           `json:"user_id"`
	GroupId     int64           `json:"group_id"`
	Message     MessageSegments `json:"message"`
	AutoEscape  bool            `json:"auto_escape"`
	MessageType MessageType     `json:"message_type"`
}

func (*MsgForSend) ToGRPC

func (msg *MsgForSend) ToGRPC() *MsgForSendGRPC

type MsgForSendGRPC

type MsgForSendGRPC struct {
	UserId      int64                 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	GroupId     int64                 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	Message     []*MessageSegmentGRPC `protobuf:"bytes,3,rep,name=message,proto3" json:"message,omitempty"`
	AutoEscape  bool                  `protobuf:"varint,4,opt,name=auto_escape,json=autoEscape,proto3" json:"auto_escape,omitempty"`
	MessageType string                `protobuf:"bytes,5,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgForSendGRPC) Descriptor deprecated

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

Deprecated: Use MsgForSendGRPC.ProtoReflect.Descriptor instead.

func (*MsgForSendGRPC) GetAutoEscape

func (x *MsgForSendGRPC) GetAutoEscape() bool

func (*MsgForSendGRPC) GetGroupId

func (x *MsgForSendGRPC) GetGroupId() int64

func (*MsgForSendGRPC) GetMessage

func (x *MsgForSendGRPC) GetMessage() []*MessageSegmentGRPC

func (*MsgForSendGRPC) GetMessageType

func (x *MsgForSendGRPC) GetMessageType() string

func (*MsgForSendGRPC) GetUserId

func (x *MsgForSendGRPC) GetUserId() int64

func (*MsgForSendGRPC) ProtoMessage

func (*MsgForSendGRPC) ProtoMessage()

func (*MsgForSendGRPC) ProtoReflect

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

func (*MsgForSendGRPC) Reset

func (x *MsgForSendGRPC) Reset()

func (*MsgForSendGRPC) String

func (x *MsgForSendGRPC) String() string

func (*MsgForSendGRPC) ToStruct

func (msg *MsgForSendGRPC) ToStruct() *MsgForSend

type OcrImage

type OcrImage struct {
	Texts    []*TextDetection `json:"texts"`
	Language string           `json:"language"`
}

func (*OcrImage) ToGRPC

func (a *OcrImage) ToGRPC() *OcrImageGRPC

type OcrImageGRPC

type OcrImageGRPC struct {

	//
	//Texts    []TextDetection `json:"texts"`
	//Language string          `json:"language"`
	Texts    []*TextDetectionGRPC `protobuf:"bytes,1,rep,name=texts,proto3" json:"texts,omitempty"`
	Language string               `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`
	// contains filtered or unexported fields
}

func (*OcrImageGRPC) Descriptor deprecated

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

Deprecated: Use OcrImageGRPC.ProtoReflect.Descriptor instead.

func (*OcrImageGRPC) GetLanguage

func (x *OcrImageGRPC) GetLanguage() string

func (*OcrImageGRPC) GetTexts

func (x *OcrImageGRPC) GetTexts() []*TextDetectionGRPC

func (*OcrImageGRPC) ProtoMessage

func (*OcrImageGRPC) ProtoMessage()

func (*OcrImageGRPC) ProtoReflect

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

func (*OcrImageGRPC) Reset

func (x *OcrImageGRPC) Reset()

func (*OcrImageGRPC) String

func (x *OcrImageGRPC) String() string

func (*OcrImageGRPC) ToStruct

func (a *OcrImageGRPC) ToStruct() *OcrImage

type OcrImageResult

type OcrImageResult struct {
	Data    *OcrImage `json:"data"`
	Retcode int64     `json:"retcode"`
	Status  string    `json:"status"`
	Msg     string    `json:"msg"`
	Wording string    `json:"wording"`
}

func (*OcrImageResult) ToGRPC

func (a *OcrImageResult) ToGRPC() *OcrImageResultGRPC

type OcrImageResultGRPC

type OcrImageResultGRPC struct {
	Retcode int64         `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string        `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string        `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string        `protobuf:"bytes,4,opt,name=wording,proto3" json:"wording,omitempty"`
	Data    *OcrImageGRPC `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*OcrImageResultGRPC) Descriptor deprecated

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

Deprecated: Use OcrImageResultGRPC.ProtoReflect.Descriptor instead.

func (*OcrImageResultGRPC) GetData

func (x *OcrImageResultGRPC) GetData() *OcrImageGRPC

func (*OcrImageResultGRPC) GetMsg

func (x *OcrImageResultGRPC) GetMsg() string

func (*OcrImageResultGRPC) GetRetcode

func (x *OcrImageResultGRPC) GetRetcode() int64

func (*OcrImageResultGRPC) GetStatus

func (x *OcrImageResultGRPC) GetStatus() string

func (*OcrImageResultGRPC) GetWording

func (x *OcrImageResultGRPC) GetWording() string

func (*OcrImageResultGRPC) ProtoMessage

func (*OcrImageResultGRPC) ProtoMessage()

func (*OcrImageResultGRPC) ProtoReflect

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

func (*OcrImageResultGRPC) Reset

func (x *OcrImageResultGRPC) Reset()

func (*OcrImageResultGRPC) String

func (x *OcrImageResultGRPC) String() string

func (*OcrImageResultGRPC) ToStruct

func (a *OcrImageResultGRPC) ToStruct() *OcrImageResult

type OnlineClients

type OnlineClients struct {
	Clients []Device `json:"clients"`
}

func (*OnlineClients) ToGRPC

func (a *OnlineClients) ToGRPC() *OnlineClientsGRPC

type OnlineClientsGRPC

type OnlineClientsGRPC struct {
	Clients []*DeviceGRPC `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"`
	// contains filtered or unexported fields
}

func (*OnlineClientsGRPC) Descriptor deprecated

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

Deprecated: Use OnlineClientsGRPC.ProtoReflect.Descriptor instead.

func (*OnlineClientsGRPC) GetClients

func (x *OnlineClientsGRPC) GetClients() []*DeviceGRPC

func (*OnlineClientsGRPC) ProtoMessage

func (*OnlineClientsGRPC) ProtoMessage()

func (*OnlineClientsGRPC) ProtoReflect

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

func (*OnlineClientsGRPC) Reset

func (x *OnlineClientsGRPC) Reset()

func (*OnlineClientsGRPC) String

func (x *OnlineClientsGRPC) String() string

func (*OnlineClientsGRPC) ToStruct

func (a *OnlineClientsGRPC) ToStruct() *OnlineClients

type OnlineClientsResult

type OnlineClientsResult struct {
	Data    *OnlineClients `json:"data"`
	Retcode int64          `json:"retcode"`
	Status  string         `json:"status"`
	Msg     string         `json:"msg"`
	Wording string         `json:"wording"`
}

func (*OnlineClientsResult) ToGRPC

type OnlineClientsResultGRPC

type OnlineClientsResultGRPC struct {
	Data    *OnlineClientsGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64              `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string             `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string             `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string             `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*OnlineClientsResultGRPC) Descriptor deprecated

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

Deprecated: Use OnlineClientsResultGRPC.ProtoReflect.Descriptor instead.

func (*OnlineClientsResultGRPC) GetData

func (*OnlineClientsResultGRPC) GetMsg

func (x *OnlineClientsResultGRPC) GetMsg() string

func (*OnlineClientsResultGRPC) GetRetcode

func (x *OnlineClientsResultGRPC) GetRetcode() int64

func (*OnlineClientsResultGRPC) GetStatus

func (x *OnlineClientsResultGRPC) GetStatus() string

func (*OnlineClientsResultGRPC) GetWording

func (x *OnlineClientsResultGRPC) GetWording() string

func (*OnlineClientsResultGRPC) ProtoMessage

func (*OnlineClientsResultGRPC) ProtoMessage()

func (*OnlineClientsResultGRPC) ProtoReflect

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

func (*OnlineClientsResultGRPC) Reset

func (x *OnlineClientsResultGRPC) Reset()

func (*OnlineClientsResultGRPC) String

func (x *OnlineClientsResultGRPC) String() string

func (*OnlineClientsResultGRPC) ToStruct

type PrivateMsg

type PrivateMsg struct {
	UserId     int64           `json:"user_id"`
	GroupId    int64           `json:"group_id"`
	Message    MessageSegments `json:"message"`
	AutoEscape bool            `json:"auto_escape"`
}

func (*PrivateMsg) ToGRPC

func (msg *PrivateMsg) ToGRPC() *PrivateMsgGRPC

type PrivateMsgGRPC

type PrivateMsgGRPC struct {
	UserId     int64                 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	GroupId    int64                 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	Message    []*MessageSegmentGRPC `protobuf:"bytes,3,rep,name=message,proto3" json:"message,omitempty"`
	AutoEscape bool                  `protobuf:"varint,4,opt,name=auto_escape,json=autoEscape,proto3" json:"auto_escape,omitempty"`
	// contains filtered or unexported fields
}

func (*PrivateMsgGRPC) Descriptor deprecated

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

Deprecated: Use PrivateMsgGRPC.ProtoReflect.Descriptor instead.

func (*PrivateMsgGRPC) GetAutoEscape

func (x *PrivateMsgGRPC) GetAutoEscape() bool

func (*PrivateMsgGRPC) GetGroupId

func (x *PrivateMsgGRPC) GetGroupId() int64

func (*PrivateMsgGRPC) GetMessage

func (x *PrivateMsgGRPC) GetMessage() []*MessageSegmentGRPC

func (*PrivateMsgGRPC) GetUserId

func (x *PrivateMsgGRPC) GetUserId() int64

func (*PrivateMsgGRPC) ProtoMessage

func (*PrivateMsgGRPC) ProtoMessage()

func (*PrivateMsgGRPC) ProtoReflect

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

func (*PrivateMsgGRPC) Reset

func (x *PrivateMsgGRPC) Reset()

func (*PrivateMsgGRPC) String

func (x *PrivateMsgGRPC) String() string

func (*PrivateMsgGRPC) ToStruct

func (msg *PrivateMsgGRPC) ToStruct() *PrivateMsg

type QQFile

type QQFile struct {
	//文件 Id
	Id string `json:"id"`
	//文件名
	Name string `json:"name"`
	//文件大小(字节数)
	Size int64 `json:"size"`
	//busid(目前不清楚有什么作用)
	Busid int64 `json:"busid"`
}

func (*QQFile) ToGRPC

func (e *QQFile) ToGRPC() *QQFileGRPC

type QQFileGRPC

type QQFileGRPC struct {

	//文件 Id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	//文件名
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	//文件大小(字节数)
	Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	//busid(目前不清楚有什么作用)
	Busid int64 `protobuf:"varint,4,opt,name=busid,proto3" json:"busid,omitempty"`
	// contains filtered or unexported fields
}

func (*QQFileGRPC) Descriptor deprecated

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

Deprecated: Use QQFileGRPC.ProtoReflect.Descriptor instead.

func (*QQFileGRPC) GetBusid

func (x *QQFileGRPC) GetBusid() int64

func (*QQFileGRPC) GetId

func (x *QQFileGRPC) GetId() string

func (*QQFileGRPC) GetName

func (x *QQFileGRPC) GetName() string

func (*QQFileGRPC) GetSize

func (x *QQFileGRPC) GetSize() int64

func (*QQFileGRPC) ProtoMessage

func (*QQFileGRPC) ProtoMessage()

func (*QQFileGRPC) ProtoReflect

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

func (*QQFileGRPC) Reset

func (x *QQFileGRPC) Reset()

func (*QQFileGRPC) String

func (x *QQFileGRPC) String() string

func (*QQFileGRPC) ToStruct

func (e *QQFileGRPC) ToStruct() *QQFile

type QQProfile

type QQProfile struct {
	Nickname     string `json:"nickname"`
	Company      string `json:"company"`
	Email        string `json:"email"`
	Collage      string `json:"collage"`
	PersonalNote string `json:"personal_note"`
}

func (*QQProfile) ToGRPC

func (a *QQProfile) ToGRPC() *QQProfileGRPC

type QQProfileGRPC

type QQProfileGRPC struct {
	Nickname     string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Company      string `protobuf:"bytes,2,opt,name=company,proto3" json:"company,omitempty"`
	Email        string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Collage      string `protobuf:"bytes,4,opt,name=collage,proto3" json:"collage,omitempty"`
	PersonalNote string `protobuf:"bytes,5,opt,name=personal_note,json=personalNote,proto3" json:"personal_note,omitempty"`
	// contains filtered or unexported fields
}

func (*QQProfileGRPC) Descriptor deprecated

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

Deprecated: Use QQProfileGRPC.ProtoReflect.Descriptor instead.

func (*QQProfileGRPC) GetCollage

func (x *QQProfileGRPC) GetCollage() string

func (*QQProfileGRPC) GetCompany

func (x *QQProfileGRPC) GetCompany() string

func (*QQProfileGRPC) GetEmail

func (x *QQProfileGRPC) GetEmail() string

func (*QQProfileGRPC) GetNickname

func (x *QQProfileGRPC) GetNickname() string

func (*QQProfileGRPC) GetPersonalNote

func (x *QQProfileGRPC) GetPersonalNote() string

func (*QQProfileGRPC) ProtoMessage

func (*QQProfileGRPC) ProtoMessage()

func (*QQProfileGRPC) ProtoReflect

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

func (*QQProfileGRPC) Reset

func (x *QQProfileGRPC) Reset()

func (*QQProfileGRPC) String

func (x *QQProfileGRPC) String() string

func (*QQProfileGRPC) ToStruct

func (a *QQProfileGRPC) ToStruct() *QQProfile

type QQProfileResult

type QQProfileResult struct {
	Data    *QQProfile `json:"data"`
	Retcode int64      `json:"retcode"`
	Status  string     `json:"status"`
	Msg     string     `json:"msg"`
	Wording string     `json:"wording"`
}

func (*QQProfileResult) ToGRPC

func (a *QQProfileResult) ToGRPC() *QQProfileResultGRPC

type QQProfileResultGRPC

type QQProfileResultGRPC struct {
	Data    *QQProfileGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64          `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string         `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string         `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string         `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*QQProfileResultGRPC) Descriptor deprecated

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

Deprecated: Use QQProfileResultGRPC.ProtoReflect.Descriptor instead.

func (*QQProfileResultGRPC) GetData

func (x *QQProfileResultGRPC) GetData() *QQProfileGRPC

func (*QQProfileResultGRPC) GetMsg

func (x *QQProfileResultGRPC) GetMsg() string

func (*QQProfileResultGRPC) GetRetcode

func (x *QQProfileResultGRPC) GetRetcode() int64

func (*QQProfileResultGRPC) GetStatus

func (x *QQProfileResultGRPC) GetStatus() string

func (*QQProfileResultGRPC) GetWording

func (x *QQProfileResultGRPC) GetWording() string

func (*QQProfileResultGRPC) ProtoMessage

func (*QQProfileResultGRPC) ProtoMessage()

func (*QQProfileResultGRPC) ProtoReflect

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

func (*QQProfileResultGRPC) Reset

func (x *QQProfileResultGRPC) Reset()

func (*QQProfileResultGRPC) String

func (x *QQProfileResultGRPC) String() string

func (*QQProfileResultGRPC) ToStruct

func (a *QQProfileResultGRPC) ToStruct() *QQProfileResult

type Record

type Record struct {
	File      string `json:"file"`
	OutFormat string `json:"out_format"`
}

func (*Record) ToGRPC

func (a *Record) ToGRPC() *RecordGRPC

type RecordGRPC

type RecordGRPC struct {
	File      string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	OutFormat string `protobuf:"bytes,2,opt,name=out_format,json=outFormat,proto3" json:"out_format,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordGRPC) Descriptor deprecated

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

Deprecated: Use RecordGRPC.ProtoReflect.Descriptor instead.

func (*RecordGRPC) GetFile

func (x *RecordGRPC) GetFile() string

func (*RecordGRPC) GetOutFormat

func (x *RecordGRPC) GetOutFormat() string

func (*RecordGRPC) ProtoMessage

func (*RecordGRPC) ProtoMessage()

func (*RecordGRPC) ProtoReflect

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

func (*RecordGRPC) Reset

func (x *RecordGRPC) Reset()

func (*RecordGRPC) String

func (x *RecordGRPC) String() string

func (*RecordGRPC) ToStruct

func (a *RecordGRPC) ToStruct() *Record

type RecordResult

type RecordResult struct {
	Data    *Record `json:"data"`
	Retcode int64   `json:"retcode"`
	Status  string  `json:"status"`
	Msg     string  `json:"msg"`
	Wording string  `json:"wording"`
}

func (*RecordResult) ToGRPC

func (a *RecordResult) ToGRPC() *RecordResultGRPC

type RecordResultGRPC

type RecordResultGRPC struct {
	Data    *RecordGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64       `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string      `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string      `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string      `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordResultGRPC) Descriptor deprecated

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

Deprecated: Use RecordResultGRPC.ProtoReflect.Descriptor instead.

func (*RecordResultGRPC) GetData

func (x *RecordResultGRPC) GetData() *RecordGRPC

func (*RecordResultGRPC) GetMsg

func (x *RecordResultGRPC) GetMsg() string

func (*RecordResultGRPC) GetRetcode

func (x *RecordResultGRPC) GetRetcode() int64

func (*RecordResultGRPC) GetStatus

func (x *RecordResultGRPC) GetStatus() string

func (*RecordResultGRPC) GetWording

func (x *RecordResultGRPC) GetWording() string

func (*RecordResultGRPC) ProtoMessage

func (*RecordResultGRPC) ProtoMessage()

func (*RecordResultGRPC) ProtoReflect

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

func (*RecordResultGRPC) Reset

func (x *RecordResultGRPC) Reset()

func (*RecordResultGRPC) String

func (x *RecordResultGRPC) String() string

func (*RecordResultGRPC) ToStruct

func (a *RecordResultGRPC) ToStruct() *RecordResult

type SendForwardMessageData

type SendForwardMessageData struct {
	MessageId int64 `json:"message_id"`
	ForwardId int64 `json:"forward_id"`
}

func (*SendForwardMessageData) ToGRPC

type SendForwardMessageDataGRPC

type SendForwardMessageDataGRPC struct {
	MessageId int64 `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	ForwardId int64 `protobuf:"varint,2,opt,name=forward_id,json=forwardId,proto3" json:"forward_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SendForwardMessageDataGRPC) Descriptor deprecated

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

Deprecated: Use SendForwardMessageDataGRPC.ProtoReflect.Descriptor instead.

func (*SendForwardMessageDataGRPC) GetForwardId

func (x *SendForwardMessageDataGRPC) GetForwardId() int64

func (*SendForwardMessageDataGRPC) GetMessageId

func (x *SendForwardMessageDataGRPC) GetMessageId() int64

func (*SendForwardMessageDataGRPC) ProtoMessage

func (*SendForwardMessageDataGRPC) ProtoMessage()

func (*SendForwardMessageDataGRPC) ProtoReflect

func (*SendForwardMessageDataGRPC) Reset

func (x *SendForwardMessageDataGRPC) Reset()

func (*SendForwardMessageDataGRPC) String

func (x *SendForwardMessageDataGRPC) String() string

func (*SendForwardMessageDataGRPC) ToStruct

type SendForwardMessageDataResult

type SendForwardMessageDataResult struct {
	Retcode int64                   `json:"retcode"`
	Data    *SendForwardMessageData `json:"data"`
	Status  string                  `json:"status"`
	Msg     string                  `json:"msg"`
	Wording string                  `json:"wording"`
}

func (*SendForwardMessageDataResult) ToGRPC

type SendForwardMessageDataResultGRPC

type SendForwardMessageDataResultGRPC struct {
	Retcode int64                       `protobuf:"varint,1,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string                      `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string                      `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string                      `protobuf:"bytes,4,opt,name=wording,proto3" json:"wording,omitempty"`
	Data    *SendForwardMessageDataGRPC `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*SendForwardMessageDataResultGRPC) Descriptor deprecated

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

Deprecated: Use SendForwardMessageDataResultGRPC.ProtoReflect.Descriptor instead.

func (*SendForwardMessageDataResultGRPC) GetData

func (*SendForwardMessageDataResultGRPC) GetMsg

func (*SendForwardMessageDataResultGRPC) GetRetcode

func (x *SendForwardMessageDataResultGRPC) GetRetcode() int64

func (*SendForwardMessageDataResultGRPC) GetStatus

func (*SendForwardMessageDataResultGRPC) GetWording

func (x *SendForwardMessageDataResultGRPC) GetWording() string

func (*SendForwardMessageDataResultGRPC) ProtoMessage

func (*SendForwardMessageDataResultGRPC) ProtoMessage()

func (*SendForwardMessageDataResultGRPC) ProtoReflect

func (*SendForwardMessageDataResultGRPC) Reset

func (*SendForwardMessageDataResultGRPC) String

func (*SendForwardMessageDataResultGRPC) ToStruct

type SendMessageResult

type SendMessageResult struct {
	Data    *SendMessageResultData `json:"data"`
	Retcode int64                  `json:"retcode"`
	Status  string                 `json:"status"`
	Msg     string                 `json:"msg"`
	Wording string                 `json:"wording"`
}

func (*SendMessageResult) ToGRPC

type SendMessageResultData

type SendMessageResultData struct {
	MessageId int64 `json:"message_id"`
}

func (*SendMessageResultData) ToGRPC

type SendMessageResultDataGRPC

type SendMessageResultDataGRPC struct {
	MessageId int64 `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SendMessageResultDataGRPC) Descriptor deprecated

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

Deprecated: Use SendMessageResultDataGRPC.ProtoReflect.Descriptor instead.

func (*SendMessageResultDataGRPC) GetMessageId

func (x *SendMessageResultDataGRPC) GetMessageId() int64

func (*SendMessageResultDataGRPC) ProtoMessage

func (*SendMessageResultDataGRPC) ProtoMessage()

func (*SendMessageResultDataGRPC) ProtoReflect

func (*SendMessageResultDataGRPC) Reset

func (x *SendMessageResultDataGRPC) Reset()

func (*SendMessageResultDataGRPC) String

func (x *SendMessageResultDataGRPC) String() string

func (*SendMessageResultDataGRPC) ToStruct

type SendMessageResultGRPC

type SendMessageResultGRPC struct {
	Data    *SendMessageResultDataGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64                      `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string                     `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string                     `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string                     `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*SendMessageResultGRPC) Descriptor deprecated

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

Deprecated: Use SendMessageResultGRPC.ProtoReflect.Descriptor instead.

func (*SendMessageResultGRPC) GetData

func (*SendMessageResultGRPC) GetMsg

func (x *SendMessageResultGRPC) GetMsg() string

func (*SendMessageResultGRPC) GetRetcode

func (x *SendMessageResultGRPC) GetRetcode() int64

func (*SendMessageResultGRPC) GetStatus

func (x *SendMessageResultGRPC) GetStatus() string

func (*SendMessageResultGRPC) GetWording

func (x *SendMessageResultGRPC) GetWording() string

func (*SendMessageResultGRPC) ProtoMessage

func (*SendMessageResultGRPC) ProtoMessage()

func (*SendMessageResultGRPC) ProtoReflect

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

func (*SendMessageResultGRPC) Reset

func (x *SendMessageResultGRPC) Reset()

func (*SendMessageResultGRPC) String

func (x *SendMessageResultGRPC) String() string

func (*SendMessageResultGRPC) ToStruct

type Sender

type Sender struct {
	//	发送者 QQ 号
	UserId int64 `json:"user_id"`
	//昵称
	Nickname string `json:"nickname"`
	//群名片/备注
	Card string `json:"card"`
	//性别,male 或 female 或 unknown
	Sex string `json:"sex"`
	//	年龄
	Age uint32 `json:"age"`
	//群名片/备注
	Area string `json:"area"`
	//成员等级
	Level string `json:"level"`
	//角色 owner/admin/member
	Role string `json:"role"`
	//头衔
	Title string `json:"title"`
}

func (Sender) ToGRPC

func (msg Sender) ToGRPC() *SenderGRPC

type SenderGRPC

type SenderGRPC struct {

	//	发送者 QQ 号
	UserId int64 `protobuf:"varint,1,opt,name=UserId,json=user_id,proto3" json:"UserId,omitempty"`
	//昵称
	Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
	//群名片/备注
	Card string `protobuf:"bytes,3,opt,name=card,proto3" json:"card,omitempty"`
	//性别,male 或 female 或 unknown
	Sex string `protobuf:"bytes,4,opt,name=sex,proto3" json:"sex,omitempty"`
	//	年龄
	Age uint32 `protobuf:"varint,5,opt,name=age,proto3" json:"age,omitempty"`
	//群名片/备注
	Area string `protobuf:"bytes,6,opt,name=area,proto3" json:"area,omitempty"`
	//成员等级
	Level string `protobuf:"bytes,7,opt,name=level,proto3" json:"level,omitempty"`
	//角色 owner/admin/member
	Role string `protobuf:"bytes,8,opt,name=role,proto3" json:"role,omitempty"`
	//头衔
	Title string `protobuf:"bytes,9,opt,name=title,proto3" json:"title,omitempty"`
	// contains filtered or unexported fields
}

func (*SenderGRPC) Descriptor deprecated

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

Deprecated: Use SenderGRPC.ProtoReflect.Descriptor instead.

func (*SenderGRPC) GetAge

func (x *SenderGRPC) GetAge() uint32

func (*SenderGRPC) GetArea

func (x *SenderGRPC) GetArea() string

func (*SenderGRPC) GetCard

func (x *SenderGRPC) GetCard() string

func (*SenderGRPC) GetLevel

func (x *SenderGRPC) GetLevel() string

func (*SenderGRPC) GetNickname

func (x *SenderGRPC) GetNickname() string

func (*SenderGRPC) GetRole

func (x *SenderGRPC) GetRole() string

func (*SenderGRPC) GetSex

func (x *SenderGRPC) GetSex() string

func (*SenderGRPC) GetTitle

func (x *SenderGRPC) GetTitle() string

func (*SenderGRPC) GetUserId

func (x *SenderGRPC) GetUserId() int64

func (*SenderGRPC) ProtoMessage

func (*SenderGRPC) ProtoMessage()

func (*SenderGRPC) ProtoReflect

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

func (*SenderGRPC) Reset

func (x *SenderGRPC) Reset()

func (*SenderGRPC) String

func (x *SenderGRPC) String() string

func (*SenderGRPC) ToStruct

func (msg *SenderGRPC) ToStruct() *Sender

type Statistics

type Statistics struct {
	// PacketReceived	uint64	收到的数据包总数
	PacketReceived uint64 `json:"packet_received"`
	// PacketSent	uint64	发送的数据包总数
	PacketSent uint64 `json:"packet_sent"`
	// PacketLost	uint32	数据包丢失总数
	PacketLost uint32 `json:"packet_lost"`
	// MessageReceived	uint64	接受信息总数
	MessageReceived uint64 `json:"message_received"`
	// MessageSent	uint64	发送信息总数
	MessageSent uint64 `json:"message_sent"`
	// DisconnectTimes	uint32	TCP 链接断开次数
	DisconnectTimes uint32 `json:"disconnect_times"`
	// LostTimes	uint32	账号掉线次数
	LostTimes uint32 `json:"lost_times"`
	// LastMessageTime	int64	最后一条消息时间
	LastMessageTime int64 `json:"last_message_time"`
}

func (*Statistics) ToGRPC

func (c *Statistics) ToGRPC() *StatisticsGRPC

type StatisticsGRPC

type StatisticsGRPC struct {
	PacketReceived  uint64 `protobuf:"varint,1,opt,name=packet_received,json=packetReceived,proto3" json:"packet_received,omitempty"`
	PacketSent      uint64 `protobuf:"varint,2,opt,name=packet_sent,json=packetSent,proto3" json:"packet_sent,omitempty"`
	PacketLost      uint32 `protobuf:"varint,3,opt,name=packet_lost,json=packetLost,proto3" json:"packet_lost,omitempty"`
	MessageReceived uint64 `protobuf:"varint,4,opt,name=message_received,json=messageReceived,proto3" json:"message_received,omitempty"`
	MessageSent     uint64 `protobuf:"varint,5,opt,name=message_sent,json=messageSent,proto3" json:"message_sent,omitempty"`
	DisconnectTimes uint32 `protobuf:"varint,6,opt,name=disconnect_times,json=disconnectTimes,proto3" json:"disconnect_times,omitempty"`
	LostTimes       uint32 `protobuf:"varint,7,opt,name=lost_times,json=lostTimes,proto3" json:"lost_times,omitempty"`
	LastMessageTime int64  `protobuf:"varint,8,opt,name=last_message_time,json=lastMessageTime,proto3" json:"last_message_time,omitempty"`
	// contains filtered or unexported fields
}

func (*StatisticsGRPC) Descriptor deprecated

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

Deprecated: Use StatisticsGRPC.ProtoReflect.Descriptor instead.

func (*StatisticsGRPC) GetDisconnectTimes

func (x *StatisticsGRPC) GetDisconnectTimes() uint32

func (*StatisticsGRPC) GetLastMessageTime

func (x *StatisticsGRPC) GetLastMessageTime() int64

func (*StatisticsGRPC) GetLostTimes

func (x *StatisticsGRPC) GetLostTimes() uint32

func (*StatisticsGRPC) GetMessageReceived

func (x *StatisticsGRPC) GetMessageReceived() uint64

func (*StatisticsGRPC) GetMessageSent

func (x *StatisticsGRPC) GetMessageSent() uint64

func (*StatisticsGRPC) GetPacketLost

func (x *StatisticsGRPC) GetPacketLost() uint32

func (*StatisticsGRPC) GetPacketReceived

func (x *StatisticsGRPC) GetPacketReceived() uint64

func (*StatisticsGRPC) GetPacketSent

func (x *StatisticsGRPC) GetPacketSent() uint64

func (*StatisticsGRPC) ProtoMessage

func (*StatisticsGRPC) ProtoMessage()

func (*StatisticsGRPC) ProtoReflect

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

func (*StatisticsGRPC) Reset

func (x *StatisticsGRPC) Reset()

func (*StatisticsGRPC) String

func (x *StatisticsGRPC) String() string

func (*StatisticsGRPC) ToStruct

func (c *StatisticsGRPC) ToStruct() *Statistics

type Status

type Status struct {
	// app_initialized	bool	原 CQHTTP 字段, 恒定为 true
	AppInitialized bool `json:"app_initialized"`
	// app_enabled	bool	原 CQHTTP 字段, 恒定为 true
	AppEnabled bool `json:"app_enabled"`
	// plugins_good	bool	原 CQHTTP 字段, 恒定为 true
	PluginsGood bool `json:"plugins_good"`
	// app_good	bool	原 CQHTTP 字段, 恒定为 true
	AppGood bool `json:"app_good"`
	// online	bool	表示BOT是否在线
	Online bool `json:"online"`
	// good	bool	同 online
	Good bool `json:"good"`
	// stat	Statistics	运行统计
	Stat *Statistics `json:"stat"`
}

func (*Status) ToGRPC

func (c *Status) ToGRPC() *StatusGRPC

type StatusGRPC

type StatusGRPC struct {
	AppInitialized bool            `protobuf:"varint,1,opt,name=app_initialized,json=appInitialized,proto3" json:"app_initialized,omitempty"`
	AppEnabled     bool            `protobuf:"varint,2,opt,name=app_enabled,json=appEnabled,proto3" json:"app_enabled,omitempty"`
	PluginsGood    bool            `protobuf:"varint,3,opt,name=plugins_good,json=pluginsGood,proto3" json:"plugins_good,omitempty"`
	AppGood        bool            `protobuf:"varint,4,opt,name=app_good,json=appGood,proto3" json:"app_good,omitempty"`
	Online         bool            `protobuf:"varint,5,opt,name=online,proto3" json:"online,omitempty"`
	Good           bool            `protobuf:"varint,6,opt,name=good,proto3" json:"good,omitempty"`
	Stat           *StatisticsGRPC `protobuf:"bytes,7,opt,name=stat,proto3" json:"stat,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusGRPC) Descriptor deprecated

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

Deprecated: Use StatusGRPC.ProtoReflect.Descriptor instead.

func (*StatusGRPC) GetAppEnabled

func (x *StatusGRPC) GetAppEnabled() bool

func (*StatusGRPC) GetAppGood

func (x *StatusGRPC) GetAppGood() bool

func (*StatusGRPC) GetAppInitialized

func (x *StatusGRPC) GetAppInitialized() bool

func (*StatusGRPC) GetGood

func (x *StatusGRPC) GetGood() bool

func (*StatusGRPC) GetOnline

func (x *StatusGRPC) GetOnline() bool

func (*StatusGRPC) GetPluginsGood

func (x *StatusGRPC) GetPluginsGood() bool

func (*StatusGRPC) GetStat

func (x *StatusGRPC) GetStat() *StatisticsGRPC

func (*StatusGRPC) ProtoMessage

func (*StatusGRPC) ProtoMessage()

func (*StatusGRPC) ProtoReflect

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

func (*StatusGRPC) Reset

func (x *StatusGRPC) Reset()

func (*StatusGRPC) String

func (x *StatusGRPC) String() string

func (*StatusGRPC) ToStruct

func (c *StatusGRPC) ToStruct() *Status

type StatusResult

type StatusResult struct {
	Data    *Status `json:"data"`
	Retcode int64   `json:"ret_code"`
	Status  string  `json:"status"`
	Msg     string  `json:"msg"`
	Wording string  `json:"wording"`
}

func (*StatusResult) ToGRPC

func (c *StatusResult) ToGRPC() *StatusResultGRPC

type StatusResultGRPC

type StatusResultGRPC struct {
	Data    *StatusGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64       `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string      `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string      `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string      `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusResultGRPC) Descriptor deprecated

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

Deprecated: Use StatusResultGRPC.ProtoReflect.Descriptor instead.

func (*StatusResultGRPC) GetData

func (x *StatusResultGRPC) GetData() *StatusGRPC

func (*StatusResultGRPC) GetMsg

func (x *StatusResultGRPC) GetMsg() string

func (*StatusResultGRPC) GetRetcode

func (x *StatusResultGRPC) GetRetcode() int64

func (*StatusResultGRPC) GetStatus

func (x *StatusResultGRPC) GetStatus() string

func (*StatusResultGRPC) GetWording

func (x *StatusResultGRPC) GetWording() string

func (*StatusResultGRPC) ProtoMessage

func (*StatusResultGRPC) ProtoMessage()

func (*StatusResultGRPC) ProtoReflect

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

func (*StatusResultGRPC) Reset

func (x *StatusResultGRPC) Reset()

func (*StatusResultGRPC) String

func (x *StatusResultGRPC) String() string

func (*StatusResultGRPC) ToStruct

func (c *StatusResultGRPC) ToStruct() *StatusResult

type StrangerInfo

type StrangerInfo struct {
	// user_id	int64	QQ 号
	UserId int64 `json:"user_id"`
	// nickname	string	昵称
	Nickname string `json:"nickname"`
	// sex	string	性别, male 或 female 或 unknown
	Sex string `json:"sex"`
	// age	int32	年龄
	Age int32 `json:"age"`
	// qid	string	qid ID身份卡
	Qid string `json:"qid"`
	// level	int32	等级
	Level int32 `json:"level"`
	// login_days	int32	等级
	LoginDays int32 `json:"login_days"`
}

func (*StrangerInfo) ToGRPC

func (s *StrangerInfo) ToGRPC() *StrangerInfoGRPC

ToGRPC

type StrangerInfoGRPC

type StrangerInfoGRPC struct {

	// 	UserId int64 `json:"user_id"`
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// 	Nickname string `json:"nickname"`
	Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
	// 	Sex string `json:"sex"`
	Sex string `protobuf:"bytes,3,opt,name=sex,proto3" json:"sex,omitempty"`
	// 	Age int32 `json:"age"`
	Age int32 `protobuf:"varint,4,opt,name=age,proto3" json:"age,omitempty"`
	// 	Qid string `json:"qid"`
	Qid string `protobuf:"bytes,5,opt,name=qid,proto3" json:"qid,omitempty"`
	// 	Level int32 `json:"level"`
	Level int32 `protobuf:"varint,6,opt,name=level,proto3" json:"level,omitempty"`
	// 	LoginDays int32 `json:"login_days"`
	LoginDays int32 `protobuf:"varint,7,opt,name=login_days,json=loginDays,proto3" json:"login_days,omitempty"`
	// contains filtered or unexported fields
}

func (*StrangerInfoGRPC) Descriptor deprecated

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

Deprecated: Use StrangerInfoGRPC.ProtoReflect.Descriptor instead.

func (*StrangerInfoGRPC) GetAge

func (x *StrangerInfoGRPC) GetAge() int32

func (*StrangerInfoGRPC) GetLevel

func (x *StrangerInfoGRPC) GetLevel() int32

func (*StrangerInfoGRPC) GetLoginDays

func (x *StrangerInfoGRPC) GetLoginDays() int32

func (*StrangerInfoGRPC) GetNickname

func (x *StrangerInfoGRPC) GetNickname() string

func (*StrangerInfoGRPC) GetQid

func (x *StrangerInfoGRPC) GetQid() string

func (*StrangerInfoGRPC) GetSex

func (x *StrangerInfoGRPC) GetSex() string

func (*StrangerInfoGRPC) GetUserId

func (x *StrangerInfoGRPC) GetUserId() int64

func (*StrangerInfoGRPC) ProtoMessage

func (*StrangerInfoGRPC) ProtoMessage()

func (*StrangerInfoGRPC) ProtoReflect

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

func (*StrangerInfoGRPC) Reset

func (x *StrangerInfoGRPC) Reset()

func (*StrangerInfoGRPC) String

func (x *StrangerInfoGRPC) String() string

func (*StrangerInfoGRPC) ToStruct

func (s *StrangerInfoGRPC) ToStruct() *StrangerInfo

ToStruct

type StrangerInfoResult

type StrangerInfoResult struct {
	Data    *StrangerInfo `json:"data"`
	Retcode int64         `json:"retcode"`
	Status  string        `json:"status"`
	Msg     string        `json:"msg"`
	Wording string        `json:"wording"`
}

func (*StrangerInfoResult) ToGRPC

ToGRPC

type StrangerInfoResultGRPC

type StrangerInfoResultGRPC struct {

	// 	Data    *StrangerInfo `json:"data"`
	Data *StrangerInfoGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// 	Retcode int64         `json:"retcode"`
	Retcode int64 `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	// 	Status  string        `json:"status"`
	Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// 	Msg     string        `json:"msg"`
	Msg string `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	// 	Wording string        `json:"wording"`
	Wording string `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*StrangerInfoResultGRPC) Descriptor deprecated

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

Deprecated: Use StrangerInfoResultGRPC.ProtoReflect.Descriptor instead.

func (*StrangerInfoResultGRPC) GetData

func (*StrangerInfoResultGRPC) GetMsg

func (x *StrangerInfoResultGRPC) GetMsg() string

func (*StrangerInfoResultGRPC) GetRetcode

func (x *StrangerInfoResultGRPC) GetRetcode() int64

func (*StrangerInfoResultGRPC) GetStatus

func (x *StrangerInfoResultGRPC) GetStatus() string

func (*StrangerInfoResultGRPC) GetWording

func (x *StrangerInfoResultGRPC) GetWording() string

func (*StrangerInfoResultGRPC) ProtoMessage

func (*StrangerInfoResultGRPC) ProtoMessage()

func (*StrangerInfoResultGRPC) ProtoReflect

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

func (*StrangerInfoResultGRPC) Reset

func (x *StrangerInfoResultGRPC) Reset()

func (*StrangerInfoResultGRPC) String

func (x *StrangerInfoResultGRPC) String() string

func (*StrangerInfoResultGRPC) ToStruct

ToStruct

type TextDetection

type TextDetection struct {
	Text        string        `json:"text"`
	Confidence  int32         `json:"confidence"`
	Coordinates []*Coordinate `json:"coordinates"`
}

func (*TextDetection) ToGRPC

func (a *TextDetection) ToGRPC() *TextDetectionGRPC

type TextDetectionGRPC

type TextDetectionGRPC struct {

	//
	//Text        string       `json:"text"`
	//Confidence  int32        `json:"confidence"`
	//Coordinates []Coordinate `json:"coordinates"`
	Text        string            `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	Confidence  int32             `protobuf:"varint,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
	Coordinates []*CoordinateGRPC `protobuf:"bytes,3,rep,name=coordinates,proto3" json:"coordinates,omitempty"`
	// contains filtered or unexported fields
}

func (*TextDetectionGRPC) Descriptor deprecated

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

Deprecated: Use TextDetectionGRPC.ProtoReflect.Descriptor instead.

func (*TextDetectionGRPC) GetConfidence

func (x *TextDetectionGRPC) GetConfidence() int32

func (*TextDetectionGRPC) GetCoordinates

func (x *TextDetectionGRPC) GetCoordinates() []*CoordinateGRPC

func (*TextDetectionGRPC) GetText

func (x *TextDetectionGRPC) GetText() string

func (*TextDetectionGRPC) ProtoMessage

func (*TextDetectionGRPC) ProtoMessage()

func (*TextDetectionGRPC) ProtoReflect

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

func (*TextDetectionGRPC) Reset

func (x *TextDetectionGRPC) Reset()

func (*TextDetectionGRPC) String

func (x *TextDetectionGRPC) String() string

func (*TextDetectionGRPC) ToStruct

func (a *TextDetectionGRPC) ToStruct() *TextDetection

type Variant

type Variant struct {
	ModelShow string `json:"model_show"`
	NeedPay   bool   `json:"need_pay"`
}

func (*Variant) ToGRPC

func (a *Variant) ToGRPC() *VariantGRPC

type VariantGRPC

type VariantGRPC struct {
	ModelShow string `protobuf:"bytes,1,opt,name=model_show,json=modelShow,proto3" json:"model_show,omitempty"`
	NeedPay   bool   `protobuf:"varint,2,opt,name=need_pay,json=needPay,proto3" json:"need_pay,omitempty"`
	// contains filtered or unexported fields
}

func (*VariantGRPC) Descriptor deprecated

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

Deprecated: Use VariantGRPC.ProtoReflect.Descriptor instead.

func (*VariantGRPC) GetModelShow

func (x *VariantGRPC) GetModelShow() string

func (*VariantGRPC) GetNeedPay

func (x *VariantGRPC) GetNeedPay() bool

func (*VariantGRPC) ProtoMessage

func (*VariantGRPC) ProtoMessage()

func (*VariantGRPC) ProtoReflect

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

func (*VariantGRPC) Reset

func (x *VariantGRPC) Reset()

func (*VariantGRPC) String

func (x *VariantGRPC) String() string

func (*VariantGRPC) ToStruct

func (a *VariantGRPC) ToStruct() *Variant

type VersionInfo

type VersionInfo struct {
	// app_name	string	go-cqhttp	应用标识, 如 go-cqhttp 固定值
	AppName string `json:"app_name"`
	// app_version	string		应用版本, 如 v0.9.40-fix4
	AppVersion string `json:"app_version"`
	// app_full_name	string		应用完整名称
	AppFullName string `json:"app_full_name"`
	// protocol_version	string	v11	OneBot 标准版本 固定值
	ProtocolVersion string `json:"protocol_version"`
	// coolq_edition	string	pro	原Coolq版本 固定值
	CoolqEdition string `json:"coolq_edition"`
	// coolq_directory	string
	CoolqDirectory string `json:"coolq_directory"`
	// go-cqhttp	bool	true	是否为go-cqhttp 固定值
	GoCqhttp bool `json:"go-cqhttp"`
	// plugin_version	string	4.15.0	固定值
	PluginVersion string `json:"plugin_version"`
	// plugin_build_number	int	99	固定值
	PluginBuildNumber int32 `json:"plugin_build_number"`
	// plugin_build_configuration	string	release	固定值
	PluginBuildConfiguration string `json:"plugin_build_configuration"`
	// runtime_version	string
	RuntimeVersion string `json:"runtime_version"`
	// runtime_os	string
	RuntimeOs string `json:"runtime_os"`
	// version	string		应用版本, 如 v0.9.40-fix4
	Version string `json:"version"`
	// protocol	int	0/1/2/3/-1	当前登陆使用协议类型
	Protocol int32 `json:"protocol"`
}

func (*VersionInfo) ToGRPC

func (c *VersionInfo) ToGRPC() *VersionInfoGRPC

type VersionInfoGRPC

type VersionInfoGRPC struct {
	AppName                  string `protobuf:"bytes,1,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"`
	AppVersion               string `protobuf:"bytes,2,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"`
	AppFullName              string `protobuf:"bytes,3,opt,name=app_full_name,json=appFullName,proto3" json:"app_full_name,omitempty"`
	ProtocolVersion          string `protobuf:"bytes,4,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
	CoolqEdition             string `protobuf:"bytes,5,opt,name=coolq_edition,json=coolqEdition,proto3" json:"coolq_edition,omitempty"`
	CoolqDirectory           string `protobuf:"bytes,6,opt,name=coolq_directory,json=coolqDirectory,proto3" json:"coolq_directory,omitempty"`
	GoCqhttp                 bool   `protobuf:"varint,7,opt,name=go_cqhttp,json=goCqhttp,proto3" json:"go_cqhttp,omitempty"`
	PluginVersion            string `protobuf:"bytes,8,opt,name=plugin_version,json=pluginVersion,proto3" json:"plugin_version,omitempty"`
	PluginBuildNumber        int32  `protobuf:"varint,9,opt,name=plugin_build_number,json=pluginBuildNumber,proto3" json:"plugin_build_number,omitempty"`
	PluginBuildConfiguration string `` /* 136-byte string literal not displayed */
	RuntimeVersion           string `protobuf:"bytes,11,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"`
	RuntimeOs                string `protobuf:"bytes,12,opt,name=runtime_os,json=runtimeOs,proto3" json:"runtime_os,omitempty"`
	Version                  string `protobuf:"bytes,13,opt,name=version,proto3" json:"version,omitempty"`
	Protocol                 int32  `protobuf:"varint,14,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionInfoGRPC) Descriptor deprecated

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

Deprecated: Use VersionInfoGRPC.ProtoReflect.Descriptor instead.

func (*VersionInfoGRPC) GetAppFullName

func (x *VersionInfoGRPC) GetAppFullName() string

func (*VersionInfoGRPC) GetAppName

func (x *VersionInfoGRPC) GetAppName() string

func (*VersionInfoGRPC) GetAppVersion

func (x *VersionInfoGRPC) GetAppVersion() string

func (*VersionInfoGRPC) GetCoolqDirectory

func (x *VersionInfoGRPC) GetCoolqDirectory() string

func (*VersionInfoGRPC) GetCoolqEdition

func (x *VersionInfoGRPC) GetCoolqEdition() string

func (*VersionInfoGRPC) GetGoCqhttp

func (x *VersionInfoGRPC) GetGoCqhttp() bool

func (*VersionInfoGRPC) GetPluginBuildConfiguration

func (x *VersionInfoGRPC) GetPluginBuildConfiguration() string

func (*VersionInfoGRPC) GetPluginBuildNumber

func (x *VersionInfoGRPC) GetPluginBuildNumber() int32

func (*VersionInfoGRPC) GetPluginVersion

func (x *VersionInfoGRPC) GetPluginVersion() string

func (*VersionInfoGRPC) GetProtocol

func (x *VersionInfoGRPC) GetProtocol() int32

func (*VersionInfoGRPC) GetProtocolVersion

func (x *VersionInfoGRPC) GetProtocolVersion() string

func (*VersionInfoGRPC) GetRuntimeOs

func (x *VersionInfoGRPC) GetRuntimeOs() string

func (*VersionInfoGRPC) GetRuntimeVersion

func (x *VersionInfoGRPC) GetRuntimeVersion() string

func (*VersionInfoGRPC) GetVersion

func (x *VersionInfoGRPC) GetVersion() string

func (*VersionInfoGRPC) ProtoMessage

func (*VersionInfoGRPC) ProtoMessage()

func (*VersionInfoGRPC) ProtoReflect

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

func (*VersionInfoGRPC) Reset

func (x *VersionInfoGRPC) Reset()

func (*VersionInfoGRPC) String

func (x *VersionInfoGRPC) String() string

func (*VersionInfoGRPC) ToStruct

func (c *VersionInfoGRPC) ToStruct() *VersionInfo

type VersionInfoResult

type VersionInfoResult struct {
	Data    *VersionInfo `json:"data"`
	Retcode int64        `json:"ret_code"`
	Status  string       `json:"status"` //
	Msg     string       `json:"msg"`
	Wording string       `json:"wording"`
}

func (*VersionInfoResult) ToGRPC

type VersionInfoResultGRPC

type VersionInfoResultGRPC struct {
	Data    *VersionInfoGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64            `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string           `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string           `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string           `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionInfoResultGRPC) Descriptor deprecated

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

Deprecated: Use VersionInfoResultGRPC.ProtoReflect.Descriptor instead.

func (*VersionInfoResultGRPC) GetData

func (x *VersionInfoResultGRPC) GetData() *VersionInfoGRPC

func (*VersionInfoResultGRPC) GetMsg

func (x *VersionInfoResultGRPC) GetMsg() string

func (*VersionInfoResultGRPC) GetRetcode

func (x *VersionInfoResultGRPC) GetRetcode() int64

func (*VersionInfoResultGRPC) GetStatus

func (x *VersionInfoResultGRPC) GetStatus() string

func (*VersionInfoResultGRPC) GetWording

func (x *VersionInfoResultGRPC) GetWording() string

func (*VersionInfoResultGRPC) ProtoMessage

func (*VersionInfoResultGRPC) ProtoMessage()

func (*VersionInfoResultGRPC) ProtoReflect

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

func (*VersionInfoResultGRPC) Reset

func (x *VersionInfoResultGRPC) Reset()

func (*VersionInfoResultGRPC) String

func (x *VersionInfoResultGRPC) String() string

func (*VersionInfoResultGRPC) ToStruct

type WordSlices

type WordSlices struct {
	// slices string[]	词组
	Slices []string `json:"slices"`
}

func (*WordSlices) ToGRPC

func (c *WordSlices) ToGRPC() *WordSlicesGRPC

type WordSlicesGRPC

type WordSlicesGRPC struct {
	Slices []string `protobuf:"bytes,1,rep,name=slices,proto3" json:"slices,omitempty"`
	// contains filtered or unexported fields
}

func (*WordSlicesGRPC) Descriptor deprecated

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

Deprecated: Use WordSlicesGRPC.ProtoReflect.Descriptor instead.

func (*WordSlicesGRPC) GetSlices

func (x *WordSlicesGRPC) GetSlices() []string

func (*WordSlicesGRPC) ProtoMessage

func (*WordSlicesGRPC) ProtoMessage()

func (*WordSlicesGRPC) ProtoReflect

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

func (*WordSlicesGRPC) Reset

func (x *WordSlicesGRPC) Reset()

func (*WordSlicesGRPC) String

func (x *WordSlicesGRPC) String() string

func (*WordSlicesGRPC) ToStruct

func (c *WordSlicesGRPC) ToStruct() *WordSlices

type WordSlicesResult

type WordSlicesResult struct {
	Data    *WordSlices `json:"data"`
	Retcode int64       `json:"ret_code"`
	Status  string      `json:"status"`
	Msg     string      `json:"msg"`
	Wording string      `json:"wording"`
}

func (*WordSlicesResult) ToGRPC

type WordSlicesResultGRPC

type WordSlicesResultGRPC struct {
	Data    *WordSlicesGRPC `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Retcode int64           `protobuf:"varint,2,opt,name=retcode,proto3" json:"retcode,omitempty"`
	Status  string          `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Msg     string          `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Wording string          `protobuf:"bytes,5,opt,name=wording,proto3" json:"wording,omitempty"`
	// contains filtered or unexported fields
}

func (*WordSlicesResultGRPC) Descriptor deprecated

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

Deprecated: Use WordSlicesResultGRPC.ProtoReflect.Descriptor instead.

func (*WordSlicesResultGRPC) GetData

func (x *WordSlicesResultGRPC) GetData() *WordSlicesGRPC

func (*WordSlicesResultGRPC) GetMsg

func (x *WordSlicesResultGRPC) GetMsg() string

func (*WordSlicesResultGRPC) GetRetcode

func (x *WordSlicesResultGRPC) GetRetcode() int64

func (*WordSlicesResultGRPC) GetStatus

func (x *WordSlicesResultGRPC) GetStatus() string

func (*WordSlicesResultGRPC) GetWording

func (x *WordSlicesResultGRPC) GetWording() string

func (*WordSlicesResultGRPC) ProtoMessage

func (*WordSlicesResultGRPC) ProtoMessage()

func (*WordSlicesResultGRPC) ProtoReflect

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

func (*WordSlicesResultGRPC) Reset

func (x *WordSlicesResultGRPC) Reset()

func (*WordSlicesResultGRPC) String

func (x *WordSlicesResultGRPC) String() string

func (*WordSlicesResultGRPC) ToStruct

func (c *WordSlicesResultGRPC) ToStruct() *WordSlicesResult

Source Files

Jump to

Keyboard shortcuts

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