types

package
v0.1.16-rc1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AtData

type AtData struct {
	QQ   string
	Name string
}

type CanSendImageResp

type CanSendImageResp struct {
	Response
	Data struct {
		Yes bool `json:"yes"`
	} `json:"data"`
}

type CanSendRecordResp

type CanSendRecordResp struct {
	Response
	Data struct {
		Yes bool `json:"yes"`
	} `json:"data"`
}

type CardImageData

type CardImageData struct {
	File      string
	MinWidth  string
	MaxWidth  string
	MinHeight string
	MaxHeight string
	Source    string
	Icon      string
}

type CheckUrlSafelyData

type CheckUrlSafelyData struct {
	Url string `json:"url"`
}

type CheckUrlSafelyResp

type CheckUrlSafelyResp struct {
	Response
	Data struct {
		Level int `json:"level"`
	} `json:"data"`
}

type ContactData

type ContactData struct {
	Type string
	ID   string
}

type CreateGroupFileFolderData

type CreateGroupFileFolderData struct {
	GroupID  int64  `json:"group_id"`
	Name     string `json:"name"`
	ParentID string `json:"parent_id"`
}

type CurrentTalkativeObject

type CurrentTalkativeObject struct {
	UserID   int64  `json:"user_id"`
	Nickname string `json:"nickname"`
	Avatar   string `json:"avatar"`
	DayCount int32  `json:"day_count"`
}

type DeleteEssenceMsgData

type DeleteEssenceMsgData struct {
	MessageID int32 `json:"message_id"`
}

type DeleteFriendData

type DeleteFriendData struct {
	UserID int64 `json:"user_id"`
}

Friend Actions

type DeleteGroupFileData

type DeleteGroupFileData struct {
	GroupID int64  `json:"group_id"`
	FileID  string `json:"file_id"`
	BusID   int32  `json:"busid"`
}

type DeleteGroupFolderData

type DeleteGroupFolderData struct {
	GroupID  int64  `json:"group_id"`
	FolderID string `json:"folder_id"`
}

type DeleteMsgData

type DeleteMsgData struct {
	MessageID int32 `json:"message_id"`
}

Common Message

type DeleteUnidirectionalFriendData

type DeleteUnidirectionalFriendData struct {
	UserID int64 `json:"user_id"`
}

type DeviceObject

type DeviceObject struct {
	AppID      int64  `json:"app_id"`
	DeviceName string `json:"device_name"`
	DeviceKind string `json:"device_kind"`
}

type DownloadFileData

type DownloadFileData struct {
	Url         string            `json:"url"`
	ThreadCount int32             `json:"thread_count"`
	Headers     map[string]string `json:"headers"`
}

type DownloadFileResp

type DownloadFileResp struct {
	Response
	Data struct {
		File string `json:"file"`
	} `json:"data"`
}

type FaceData

type FaceData struct {
	ID string
}

type FileObject

type FileObject struct {
	GroupID       int32  `json:"group_id"`
	FileID        string `json:"file_id"`
	FileName      string `json:"file_name"`
	BusID         int32  `json:"busid"`
	FileSize      int64  `json:"file_size"`
	UploadTime    int64  `json:"upload_time"`
	DeadTime      int64  `json:"dead_time"`
	ModifyTime    int64  `json:"modify_time"`
	DownloadTimes int32  `json:"download_times"`
	Uploader      int64  `json:"uploader"`
	UploaderName  string `json:"uploader_name"`
}

type FolderObject

type FolderObject struct {
	GroupID        int32  `json:"group_id"`
	FolderID       string `json:"folder_id"`
	FolderName     string `json:"folder_name"`
	CreateTime     int64  `json:"create_time"`
	Creator        int64  `json:"creator"`
	CreatorName    string `json:"creator_name"`
	TotalFileCount int32  `json:"total_file_count"`
}

type ForwardCustomData

type ForwardCustomData struct {
	Name    string `json:"name"`
	Uin     string `json:"uin"`
	Content string `json:"content"`
	Seq     string `json:"seq"`
	Time    string `json:"time"`
}

type ForwardCustomNode

type ForwardCustomNode struct {
	Type string            `json:"type"`
	Data ForwardCustomData `json:"data"`
}

type ForwardData

type ForwardData struct {
	ID string
}

type ForwardIdData

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

type ForwardIdNode

type ForwardIdNode struct {
	Type string        `json:"type"`
	Data ForwardIdData `json:"data"`
}

type ForwardMessagesObject

type ForwardMessagesObject struct {
	Content string       `json:"content"`
	Sender  SenderObject `json:"sender"`
	Time    int          `json:"time"`
}

type GetCookiesData

type GetCookiesData struct {
	Domain string `json:"domain"`
}

type GetCookiesResp

type GetCookiesResp struct {
	Response
	Data struct {
		Cookies string `json:"cookies"`
	} `json:"data"`
}

type GetCredentialsData

type GetCredentialsData struct {
	Domain string `json:"domain"`
}

type GetCredentialsResp

type GetCredentialsResp struct {
	Response
	Data struct {
		Cookies   string `json:"cookies"`
		CsrfToken int32  `json:"csrf_token"`
	} `json:"data"`
}

type GetCsrfTokenResp

type GetCsrfTokenResp struct {
	Response
	Data struct {
		Token int `json:"token"`
	} `json:"data"`
}

type GetEssenceMsgListData

type GetEssenceMsgListData struct {
	GroupID int64 `json:"group_id"`
}

type GetEssenceMsgListResp

type GetEssenceMsgListResp struct {
	Response
	Data []struct {
		SenderID     int64  `json:"sender_id"`
		SenderNick   string `json:"sender_nick"`
		SenderTime   int64  `json:"sender_time"`
		OperatorID   int64  `json:"operator_id"`
		OperatorNick string `json:"operator_nick"`
		OperatorTime int64  `json:"operator_time"`
		MessageID    int32  `json:"message_id"`
	} `json:"data"`
}

type GetForwardMsgData

type GetForwardMsgData struct {
	MessageID string `json:"message_id"`
}

type GetForwardMsgResp

type GetForwardMsgResp struct {
	Response
	Data struct {
		Messages []ForwardMessagesObject `json:"messages"`
	} `json:"data"`
}

type GetFriendListResp

type GetFriendListResp struct {
	Response
	Data []struct {
		UserID   int64  `json:"user_id"`
		Nickname string `json:"nickname"`
		Remark   string `json:"remark"`
	} `json:"data"`
}

type GetGroupAtAllRemainData

type GetGroupAtAllRemainData struct {
	GroupID int64 `json:"group_id"`
}

type GetGroupAtAllRemainResp

type GetGroupAtAllRemainResp struct {
	Response
	Data struct {
		CanAtAll                 bool  `json:"can_at_all"`
		RemainAtAllCountForGroup int16 `json:"remain_at_all_count_for_group"`
		RemainAtAllCountForUin   int16 `json:"remain_at_all_count_for_uin"`
	} `json:"data"`
}

type GetGroupFileSystemInfoData

type GetGroupFileSystemInfoData struct {
	GroupID int64 `json:"group_id"`
}

type GetGroupFileSystemInfoResp

type GetGroupFileSystemInfoResp struct {
	Response
	Data struct {
		FileCount  int32 `json:"file_count"`
		LimitCount int32 `json:"limit_count"`
		UsedSpace  int64 `json:"used_space"`
		TotalSpace int64 `json:"total_space"`
	} `json:"data"`
}

type GetGroupFileUrlData

type GetGroupFileUrlData struct {
	GroupID int64  `json:"group_id"`
	FileID  string `json:"file_id"`
	BusID   int32  `json:"busid"`
}

type GetGroupFileUrlResp

type GetGroupFileUrlResp struct {
	Response
	Data struct {
		Url string `json:"url"`
	} `json:"data"`
}

type GetGroupFilesByFolderData

type GetGroupFilesByFolderData struct {
	GroupID  int64  `json:"group_id"`
	FolderID string `json:"folder_id"`
}

type GetGroupFilesByFolderResp

type GetGroupFilesByFolderResp struct {
	Response
	Data struct {
		Files   []FileObject   `json:"files"`
		Folders []FolderObject `json:"folders"`
	} `json:"data"`
}

type GetGroupHonorInfoData

type GetGroupHonorInfoData struct {
	GroupID int64  `json:"group_id"`
	Type    string `json:"type"`
}

type GetGroupHonorInfoResp

type GetGroupHonorInfoResp struct {
	Response
	Data struct {
		GroupID          int64                  `json:"group_id"`
		CurrentTalkative CurrentTalkativeObject `json:"current_talkative"`
		TalkativeList    []HonorListObject      `json:"talkative_list"`
		PerformerList    []HonorListObject      `json:"performer_list"`
		LegendList       []HonorListObject      `json:"legend_list"`
		StrongNewbieList []HonorListObject      `json:"strong_newbie_list"`
		EmotionList      []HonorListObject      `json:"emotion_list"`
	} `json:"data"`
}

type GetGroupInfoData

type GetGroupInfoData struct {
	GroupID int64 `json:"group_id"`
	NoCache bool  `json:"no_cache"`
}

Group Message

type GetGroupInfoResp

type GetGroupInfoResp struct {
	Response
	Data GroupInfoObject `json:"data"`
}

type GetGroupListData

type GetGroupListData struct {
	NoCache bool `json:"no_cache"`
}

type GetGroupListResp

type GetGroupListResp struct {
	Response
	Data []GroupInfoObject `json:"data"`
}

type GetGroupMemberInfoData

type GetGroupMemberInfoData struct {
	GroupID int64 `json:"group_id"`
	UserID  int64 `json:"user_id"`
	NoCache bool  `json:"no_cache"`
}

type GetGroupMemberInfoResp

type GetGroupMemberInfoResp struct {
	Response
	Data GroupMemberInfoObject `json:"data"`
}

type GetGroupMemberListData

type GetGroupMemberListData struct {
	GroupID int64 `json:"group_id"`
	NoCache bool  `json:"no_cache"`
}

type GetGroupMemberListResp

type GetGroupMemberListResp struct {
	Response
	Data []GroupMemberInfoObject `json:"data"`
}

type GetGroupMsgHistoryData

type GetGroupMsgHistoryData struct {
	MessageSeq int64 `json:"message_seq"`
	GroupID    int64 `json:"group_id"`
}

type GetGroupMsgHistoryResp

type GetGroupMsgHistoryResp struct {
	Response
	Data struct {
		Messages []any `json:"messages"`
	} `json:"data"`
}

type GetGroupNoticeData

type GetGroupNoticeData struct {
	GroupID int64 `json:"group_id"`
}

type GetGroupNoticeResp

type GetGroupNoticeResp struct {
	Response
	Data struct {
		SenderID    int64         `json:"sender_id"`
		PublishTime int64         `json:"publish_time"`
		Message     MessageObject `json:"message"`
	} `json:"data"`
}

type GetGroupRootFilesData

type GetGroupRootFilesData struct {
	GroupID int64 `json:"group_id"`
}

type GetGroupRootFilesResp

type GetGroupRootFilesResp struct {
	Response
	Data struct {
		Files   []FileObject   `json:"files"`
		Folders []FolderObject `json:"folders"`
	} `json:"data"`
}

type GetGroupSystemMsgResp

type GetGroupSystemMsgResp struct {
	Response
	Data struct {
		InvitedRequests []InvitedRequestObject `json:"invited_requests"`
		JoinRequests    []JoinRequestObject    `json:"join_requests"`
	} `json:"data"`
}

type GetImageData

type GetImageData struct {
	File string `json:"file"`
}

type GetImageResp

type GetImageResp struct {
	Response
	Data struct {
		Size     int32  `json:"size"`
		FileName string `json:"filename"`
		Url      string `json:"url"`
	} `json:"data"`
}

type GetLoginInfoResp

type GetLoginInfoResp struct {
	Response
	Data struct {
		UserID   int64  `json:"user_id"`
		Nickname string `json:"nickname"`
	} `json:"data"`
}

type GetModelShowData

type GetModelShowData struct {
	Model string `json:"model"`
}

type GetModelShowResp

type GetModelShowResp struct {
	Response
	Data struct {
		Variants []VariantsObject `json:"variants"`
	} `json:"data"`
}

type GetMsgData

type GetMsgData struct {
	MessageID int32 `json:"message_id"`
}

type GetMsgResp

type GetMsgResp struct {
	Response
	Data struct {
		Group       bool         `json:"group"`
		GroupID     int64        `json:"group_id"`
		MessageID   int32        `json:"message_id"`
		RealID      int32        `json:"real_id"`
		MessageType string       `json:"message_type"`
		Sender      SenderObject `json:"sender"`
		Time        int          `json:"time"`
		Message     any          `json:"message"`
		RawMessage  any          `json:"raw_message"`
	} `json:"data"`
}

type GetOnlineClientsData

type GetOnlineClientsData struct {
	NoCache bool `json:"no_cache"`
}

type GetOnlineClientsResp

type GetOnlineClientsResp struct {
	Response
	Data struct {
		Clients []DeviceObject `json:"clients"`
	} `json:"data"`
}

type GetRecordData

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

type GetRecordResp

type GetRecordResp struct {
	Response
	Data struct {
		File string `json:"file"`
	} `json:"data"`
}

type GetStatusResp

type GetStatusResp struct {
	Response
	Data struct {
		AppInitialized bool             `json:"app_initialized"`
		AppEnabled     bool             `json:"app_enabled"`
		PluginsGood    bool             `json:"plugins_good"`
		AppGood        bool             `json:"app_good"`
		Online         bool             `json:"online"`
		Good           bool             `json:"good"`
		Stat           StatisticsObject `json:"stat"`
	} `json:"data"`
}

type GetStrangerInfoData

type GetStrangerInfoData struct {
	UserID  int64 `json:"user_id"`
	NoCache bool  `json:"no_cache"`
}

Friend Message

type GetStrangerInfoResp

type GetStrangerInfoResp struct {
	Response
	Data struct {
		UserID    int64  `json:"user_id"`
		Nickname  string `json:"nickname"`
		Sex       string `json:"sex"`
		Age       int32  `json:"age"`
		Qid       string `json:"qid"`
		Level     int32  `json:"level"`
		LoginDays int32  `json:"login_days"`
	} `json:"data"`
}

type GetUnidirectionalFriendListResp

type GetUnidirectionalFriendListResp struct {
	Response
	Data []struct {
		UserID   int64  `json:"user_id"`
		Nickname string `json:"nickname"`
		Source   string `json:"source"`
	} `json:"data"`
}

type GetVersionInfoResp

type GetVersionInfoResp struct {
	Response
	Data struct {
		AppName                  string `json:"app_name"`
		AppVersion               string `json:"app_version"`
		AppFullName              string `json:"app_full_name"`
		ProtocolVersion          string `json:"protocol_version"`
		CoolqEdition             string `json:"coolq_edition"`
		CoolqDirectory           string `json:"coolq_directory"`
		GoCqHttp                 bool   `json:"go-cqhttp"`
		PluginVersion            string `json:"plugin_version"`
		PluginBuildNumber        int    `json:"plugin_build_number"`
		PluginBuildConfiguration string `json:"plugin_build_configuration"`
		RuntimeVersion           string `json:"runtime_version"`
		RuntimeOs                string `json:"runtime_os"`
		Version                  string `json:"version"`
		Protocol                 int    `json:"protocol"`
	} `json:"data"`
}

type GetWordSlicesData

type GetWordSlicesData struct {
	Content string `json:"content"`
}

type GetWordSlicesResp

type GetWordSlicesResp struct {
	Response
	Data struct {
		Slices []string `json:"slices"`
	} `json:"data"`
}

type GiftData

type GiftData struct {
	QQ string
	ID string
}

type GroupInfoObject

type GroupInfoObject struct {
	GroupID         int64  `json:"group_id"`
	GroupName       string `json:"group_name"`
	GroupMemo       string `json:"group_memo"`
	GroupCreateTime uint32 `json:"group_create_time"`
	GroupLevel      uint32 `json:"group_level"`
	MemberCount     int32  `json:"member_count"`
	MaxMemberCount  int32  `json:"max_member_count"`
}

type GroupMemberInfoObject

type GroupMemberInfoObject 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"`
	Role            string `json:"role"`
	Unfriendly      bool   `json:"unfriendly"`
	Title           string `json:"title"`
	TitleExpireTime int64  `json:"title_expire_time"`
	CardChangeable  bool   `json:"card_changeable"`
	ShutUpTimestamp int64  `json:"shut_up_timestamp"`
}

type HandleQuickOperationData

type HandleQuickOperationData struct {
	Context   any `json:"context"`
	Operation any `json:"operation"`
}

type HonorListObject

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

type ImageData

type ImageData struct {
	File    string
	Type    string
	SubType string
	Url     string
	Cache   string
	ID      string
	Thread  string
}

type ImageObject

type ImageObject struct {
	Height string `json:"height"`
	Width  string `json:"width"`
	Id     string `json:"id"`
}

type InvitedRequestObject

type InvitedRequestObject struct {
	RequestID   int64  `json:"request_id"`
	InvitorUin  int64  `json:"invitor_uin"`
	InvitorNick string `json:"invitor_nick"`
	GroupID     int64  `json:"group_id"`
	GroupName   string `json:"group_name"`
	Checked     bool   `json:"checked"`
	Actor       int64  `json:"actor"`
}

type JoinRequestObject

type JoinRequestObject struct {
	RequestID     int64  `json:"request_id"`
	RequesterUin  int64  `json:"requester_uin"`
	RequesterNick string `json:"requester_nick"`
	Message       string `json:"message"`
	GroupID       int64  `json:"group_id"`
	GroupName     string `json:"group_name"`
	Checked       bool   `json:"checked"`
	Actor         int64  `json:"actor"`
}

type JsonData

type JsonData struct {
	Data  string
	ResID string
}

type LocationData

type LocationData struct {
	Lat     string
	Lon     string
	Title   string
	Content string
}

type MarkMsgAsReadData

type MarkMsgAsReadData struct {
	MessageID int32 `json:"message_id"`
}

type MessageObject

type MessageObject struct {
	Text   string        `json:"text"`
	Images []ImageObject `json:"images"`
}

type MusicData

type MusicData struct {
	Type    string
	ID      string
	Audio   string
	Title   string
	Content string
	Image   string
}

type OcrImageData

type OcrImageData struct {
	Image string `json:"image"`
}

type OcrImageResp

type OcrImageResp struct {
	Response
	Data struct {
		Texts    []TextDetectionObject `json:"texts"`
		Language string                `json:"language"`
	} `json:"data"`
}

type PokeData

type PokeData struct {
	QQ string
}

type RecordData

type RecordData struct {
	File    string
	Magic   string
	Cache   string
	Proxy   string
	Timeout string
}

type RedBagData

type RedBagData struct {
	Title string
}

type ReloadEventFilterData

type ReloadEventFilterData struct {
	File string `json:"file"`
}

type ReplyData

type ReplyData struct {
	ID   string
	Text string
	QQ   string
	Time string
	Seq  string
}

type Response

type Response struct {
	Status  string `json:"status"`
	RetCode int    `json:"retcode"`
	Msg     string `json:"msg"`
	Wording string `json:"wording"`
	Echo    string `json:"echo"`
}

type SendGroupForwardMsgData

type SendGroupForwardMsgData struct {
	GroupID  int64 `json:"group_id"`
	Messages any   `json:"messages"`
}

type SendGroupForwardMsgResp

type SendGroupForwardMsgResp struct {
	Response
	Data struct {
		MessageID int64  `json:"message_id"`
		ForwardID string `json:"forward_id"`
	} `json:"data"`
}

type SendGroupMsgData

type SendGroupMsgData struct {
	GroupID    int64  `json:"group_id"`
	Message    string `json:"message"`
	AutoEscape bool   `json:"auto_escape"`
}

type SendGroupMsgResp

type SendGroupMsgResp struct {
	Response
	Data struct {
		MessageID int32 `json:"message_id"`
	} `json:"data"`
}

type SendGroupNoticeData

type SendGroupNoticeData struct {
	GroupID int64  `json:"group_id"`
	Content string `json:"content"`
	Image   string `json:"image"`
}

type SendGroupSignData

type SendGroupSignData struct {
	GroupID int64 `json:"group_id"`
}

type SendPrivateForwardMsgData

type SendPrivateForwardMsgData struct {
	UserID   int64 `json:"user_id"`
	Messages any   `json:"messages"`
}

type SendPrivateForwardMsgResp

type SendPrivateForwardMsgResp struct {
	Response
	Data struct {
		MessageID int64  `json:"message_id"`
		ForwardID string `json:"forward_id"`
	} `json:"data"`
}

type SendPrivateMsgData

type SendPrivateMsgData struct {
	UserID     int64  `json:"user_id"`
	Message    string `json:"message"`
	GroupID    int64  `json:"group_id"`
	AutoEscape bool   `json:"auto_escape"`
}

type SendPrivateMsgResp

type SendPrivateMsgResp struct {
	Response
	Data struct {
		MessageID int32 `json:"message_id"`
	} `json:"data"`
}

type SenderObject

type SenderObject struct {
	Nickname string `json:"nickname"`
	UserID   int64  `json:"user_id"`
}

type SetEssenceMsgData

type SetEssenceMsgData struct {
	MessageID int32 `json:"message_id"`
}

type SetFriendAddRequestData

type SetFriendAddRequestData struct {
	Flag    string `json:"flag"`
	Approve bool   `json:"approve"`
	Remark  string `json:"remark"`
}

type SetGroupAddRequestData

type SetGroupAddRequestData struct {
	Flag    string `json:"flag"`
	SubType string `json:"sub_type"`
	Approve bool   `json:"approve"`
	Reason  string `json:"reason"`
}

type SetGroupAdminData

type SetGroupAdminData struct {
	GroupID int64 `json:"group_id"`
	UserID  int64 `json:"user_id"`
	Enable  bool  `json:"enable"`
}

type SetGroupAnonymousBanData

type SetGroupAnonymousBanData struct {
	GroupID   int64                    `json:"group_id"`
	Anonymous callback.AnonymousObject `json:"anonymous"`
	Flag      string                   `json:"flag"`
	Duration  uint32                   `json:"duration"`
}

type SetGroupAnonymousData

type SetGroupAnonymousData struct {
	GroupID int64 `json:"group_id"`
	Enable  bool  `json:"enable"`
}

type SetGroupBanData

type SetGroupBanData struct {
	GroupID  int64  `json:"group_id"`
	UserID   int64  `json:"user_id"`
	Duration uint32 `json:"duration"`
}

Group Actions

type SetGroupCardData

type SetGroupCardData struct {
	GroupID int64  `json:"group_id"`
	UserID  int64  `json:"user_id"`
	Card    string `json:"card"`
}

type SetGroupKickData

type SetGroupKickData struct {
	GroupID int64 `json:"group_id"`
	UserID  int64 `json:"user_id"`
	Reject  bool  `json:"reject_add_request"`
}

type SetGroupLeaveData

type SetGroupLeaveData struct {
	GroupID   int64 `json:"group_id"`
	IsDismiss bool  `json:"is_dismiss"`
}

type SetGroupNameData

type SetGroupNameData struct {
	GroupID   int64  `json:"group_id"`
	GroupName string `json:"group_name"`
}

type SetGroupPortraitData

type SetGroupPortraitData struct {
	GroupID int64  `json:"group_id"`
	File    string `json:"file"`
	Cache   int    `json:"cache"`
}

type SetGroupSpecialTitleData

type SetGroupSpecialTitleData struct {
	GroupID      int64  `json:"group_id"`
	UserID       int64  `json:"user_id"`
	SpecialTitle string `json:"special_title"`
	Duration     uint32 `json:"duration"`
}

type SetGroupWholeBanData

type SetGroupWholeBanData struct {
	GroupID int64 `json:"group_id"`
	Enable  bool  `json:"enable"`
}

type SetModelShowData

type SetModelShowData struct {
	Model     string `json:"model"`
	ModelShow string `json:"model_show"`
}

type SetQQProfileData

type SetQQProfileData struct {
	Nickname     string `json:"nickname"`
	Company      string `json:"company"`
	Email        string `json:"email"`
	College      string `json:"college"`
	PersonalNote string `json:"personal_note"`
}

type SetRestartData

type SetRestartData struct {
	Delay int `json:"delay"`
}

type ShareData

type ShareData struct {
	URL     string
	Title   string
	Content string
	Image   string
}

type StatisticsObject

type StatisticsObject struct {
	PacketReceived  uint64 `json:"PacketReceived"`
	PacketSent      uint64 `json:"PacketSent"`
	PacketLost      uint32 `json:"PacketLost"`
	MessageReceived uint64 `json:"MessageReceived"`
	MessageSent     uint64 `json:"MessageSent"`
	DisconnectTimes uint32 `json:"DisconnectTimes"`
	LostTimes       uint32 `json:"LostTimes"`
	LastMessageTime int64  `json:"LastMessageTime"`
}

type TextDetectionObject

type TextDetectionObject struct {
	Text        string `json:"text"`
	Confidence  int32  `json:"confidence"`
	Coordinates []any  `json:"coordinates"`
}

type TtsData

type TtsData struct {
	Text string
}

type UploadGroupFileData

type UploadGroupFileData struct {
	GroupID int64  `json:"group_id"`
	File    string `json:"file"`
	Name    string `json:"name"`
	Folder  string `json:"folder"`
}

type UploadPrivateFileData

type UploadPrivateFileData struct {
	UserID int64  `json:"user_id"`
	File   string `json:"file"`
	Name   string `json:"name"`
}

type VariantsObject

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

type VideoData

type VideoData struct {
	File   string
	Cover  string
	Thread string
}

type XmlData

type XmlData struct {
	Data  string
	ResID string
}

Jump to

Keyboard shortcuts

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