dto

package
v0.0.0-...-d9311aa Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	FromUin         int64            `jce:"0" json:"from_uin,omitempty"`
	Time            int64            `jce:"1" json:"time,omitempty"`
	Type            int16            `jce:"2" json:"type,omitempty"`
	Seq             int32            `jce:"3" json:"seq,omitempty"`
	Message         string           `jce:"4" json:"message,omitempty"`
	RealMessageTime int64            `jce:"5" json:"real_message_time,omitempty"`
	MessageBytes    []byte           `jce:"6" json:"message_bytes,omitempty"`
	AppShareID      int64            `jce:"7" json:"app_share_id,omitempty"`
	MessageCookie   []byte           `jce:"8" json:"message_cookie,omitempty"`
	AppShareCookie  []byte           `jce:"9" json:"app_share_cookie,omitempty"`
	MessageUid      int64            `jce:"10" json:"message_uid,omitempty"`
	LastChangeTime  int64            `jce:"11" json:"last_change_time,omitempty"`
	Pictures        []*Picture       `jce:"12" json:"pictures,omitempty"`
	ShareData       *ShareData       `jce:"13" json:"share_data,omitempty"`
	FromInstanceID  int64            `jce:"14" json:"from_instance_id,omitempty"`
	FromRemark      []byte           `jce:"15" json:"from_remark,omitempty"`
	FromMobile      string           `jce:"16" json:"from_mobile,omitempty"`
	FromName        string           `jce:"17" json:"from_name,omitempty"`
	FromNick        []string         `jce:"18" json:"from_nick,omitempty"`
	TempMessageHead *TempMessageHead `jce:"19" json:"temp_message_head,omitempty"`
}

type MessageDelete

type MessageDelete struct {
	FromUin  int64  `jce:"0" json:"from_uin,omitempty"`
	Time     int64  `jce:"1" json:"time,omitempty"`
	Seq      int16  `jce:"2" json:"seq,omitempty"`
	Cookie   []byte `jce:"3" json:"cookie,omitempty"`
	Cmd      int16  `jce:"4" json:"method,omitempty"`
	Type     int64  `jce:"5" json:"type,omitempty"`
	AppID    int64  `jce:"6" json:"app_id,omitempty"`
	SendTime int64  `jce:"7" json:"send_time,omitempty"`
	SSOSeq   int32  `jce:"8" json:"sso_seq,omitempty"`
	SSOIP    int32  `jce:"9" json:"sso_ip,omitempty"`
	ClientIP int32  `jce:"10" json:"client_ip,omitempty"`
}

type MessageReadedDiscuss

type MessageReadedDiscuss struct {
	Uin        int64 `jce:"0" json:"uin,omitempty"`
	Type       int64 `jce:"1" json:"type,omitempty"`
	MemberSeq  int32 `jce:"2" json:"member_seq,omitempty"`
	MessageSeq int32 `jce:"3" json:"message_seq,omitempty"`
}

type MessageReadedGroup

type MessageReadedGroup struct {
	Uin        int64 `jce:"0" json:"uin,omitempty"`
	Type       int64 `jce:"1" json:"type,omitempty"`
	MemberSeq  int32 `jce:"2" json:"member_seq,omitempty"`
	MessageSeq int32 `jce:"3" json:"message_seq,omitempty"`
}

type MessageReadedPrivate

type MessageReadedPrivate struct {
	Uin          int64 `jce:"0" json:"uin,omitempty"`
	LastReadTime int64 `jce:"1" json:"last_read_time,omitempty"`
}

type Picture

type Picture struct {
	Path []byte `jce:"0" json:"path,omitempty"`
	Host []byte `jce:"1" json:"host,omitempty"`
}

type PushNotifyRequest

type PushNotifyRequest struct {
	Uin         int64  `jce:"0" json:"uin,omitempty"`
	Type        uint8  `jce:"1" json:"type,omitempty"`
	Service     string `jce:"2" json:"service,omitempty"`
	Cmd         string `jce:"3" json:"cmd,omitempty"`
	Cookie      []byte `jce:"4" json:"cookie,omitempty"`
	MessageType uint16 `jce:"5" json:"message_type,omitempty"`
	UserActive  uint32 `jce:"6" json:"user_active,omitempty"`
	GeneralFlag uint32 `jce:"7" json:"general_flag,omitempty"`
	BindedUin   int64  `jce:"8" json:"binded_uin,omitempty"`

	Message       *Message `jce:"9" json:"message,omitempty"`
	ControlBuffer string   `jce:"10" json:"control_buffer,omitempty"`
	ServerBuffer  []byte   `jce:"11" json:"server_buffer,omitempty"`
	PingFlag      uint64   `jce:"12" json:"ping_flag,omitempty"`
	ServerIP      uint32   `jce:"13" json:"server_ip,omitempty"`
}

type PushReadedRequest

type PushReadedRequest struct {
	Type    uint8                   `jce:"0" json:"type,omitempty"`
	Private []*MessageReadedPrivate `jce:"1" json:"private,omitempty"`
	Group   []*MessageReadedGroup   `jce:"2" json:"group,omitempty"`
	Discuss []*MessageReadedDiscuss `jce:"3" json:"discuss,omitempty"`
}

type ShareData

type ShareData struct {
	PackageName string `jce:"0" json:"package_name,omitempty"`
	MessageTail string `jce:"1" json:"message_tail,omitempty"`
	PictureURL  string `jce:"2" json:"picture_url,omitempty"`
	URL         string `jce:"3" json:"url,omitempty"`
}

type TempMessageHead

type TempMessageHead struct {
	C2CType     int32 `jce:"0" json:"c2c_type,omitempty"`
	ServiceType int32 `jce:"1" json:"service_type,omitempty"`
}

type UinPairMessage

type UinPairMessage struct {
	LastReadTime     int64      `jce:"1" json:"last_read_time,omitempty"`
	PeerUin          int64      `jce:"2" json:"peer_uin,omitempty"`
	MessageCompleted int64      `jce:"3" json:"message_completed,omitempty"`
	Messages         []*Message `jce:"4" json:"messages,omitempty"`
}

Jump to

Keyboard shortcuts

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