Documentation ¶
Index ¶
- type AtData
- type CanSendImageResp
- type CanSendRecordResp
- type CardImageData
- type CheckUrlSafelyData
- type CheckUrlSafelyResp
- type ContactData
- type CreateGroupFileFolderData
- type CurrentTalkativeObject
- type DeleteEssenceMsgData
- type DeleteFriendData
- type DeleteGroupFileData
- type DeleteGroupFolderData
- type DeleteMsgData
- type DeleteUnidirectionalFriendData
- type DeviceObject
- type DownloadFileData
- type DownloadFileResp
- type FaceData
- type FileObject
- type FolderObject
- type ForwardCustomData
- type ForwardCustomNode
- type ForwardData
- type ForwardIdData
- type ForwardIdNode
- type ForwardMessagesObject
- type GetCookiesData
- type GetCookiesResp
- type GetCredentialsData
- type GetCredentialsResp
- type GetCsrfTokenResp
- type GetEssenceMsgListData
- type GetEssenceMsgListResp
- type GetForwardMsgData
- type GetForwardMsgResp
- type GetFriendListResp
- type GetGroupAtAllRemainData
- type GetGroupAtAllRemainResp
- type GetGroupFileSystemInfoData
- type GetGroupFileSystemInfoResp
- type GetGroupFileUrlData
- type GetGroupFileUrlResp
- type GetGroupFilesByFolderData
- type GetGroupFilesByFolderResp
- type GetGroupHonorInfoData
- type GetGroupHonorInfoResp
- type GetGroupInfoData
- type GetGroupInfoResp
- type GetGroupListData
- type GetGroupListResp
- type GetGroupMemberInfoData
- type GetGroupMemberInfoResp
- type GetGroupMemberListData
- type GetGroupMemberListResp
- type GetGroupMsgHistoryData
- type GetGroupMsgHistoryResp
- type GetGroupNoticeData
- type GetGroupNoticeResp
- type GetGroupRootFilesData
- type GetGroupRootFilesResp
- type GetGroupSystemMsgResp
- type GetImageData
- type GetImageResp
- type GetLoginInfoResp
- type GetModelShowData
- type GetModelShowResp
- type GetMsgData
- type GetMsgResp
- type GetOnlineClientsData
- type GetOnlineClientsResp
- type GetRecordData
- type GetRecordResp
- type GetStatusResp
- type GetStrangerInfoData
- type GetStrangerInfoResp
- type GetUnidirectionalFriendListResp
- type GetVersionInfoResp
- type GetWordSlicesData
- type GetWordSlicesResp
- type GiftData
- type GroupInfoObject
- type GroupMemberInfoObject
- type HandleQuickOperationData
- type HonorListObject
- type ImageData
- type ImageObject
- type InvitedRequestObject
- type JoinRequestObject
- type JsonData
- type LocationData
- type MarkMsgAsReadData
- type MessageObject
- type MusicData
- type OcrImageData
- type OcrImageResp
- type PokeData
- type RecordData
- type RedBagData
- type ReloadEventFilterData
- type ReplyData
- type Response
- type SendGroupForwardMsgData
- type SendGroupForwardMsgResp
- type SendGroupMsgData
- type SendGroupMsgResp
- type SendGroupNoticeData
- type SendGroupSignData
- type SendPrivateForwardMsgData
- type SendPrivateForwardMsgResp
- type SendPrivateMsgData
- type SendPrivateMsgResp
- type SenderObject
- type SetEssenceMsgData
- type SetFriendAddRequestData
- type SetGroupAddRequestData
- type SetGroupAdminData
- type SetGroupAnonymousBanData
- type SetGroupAnonymousData
- type SetGroupBanData
- type SetGroupCardData
- type SetGroupKickData
- type SetGroupLeaveData
- type SetGroupNameData
- type SetGroupPortraitData
- type SetGroupSpecialTitleData
- type SetGroupWholeBanData
- type SetModelShowData
- type SetQQProfileData
- type SetRestartData
- type ShareData
- type StatisticsObject
- type TextDetectionObject
- type TtsData
- type UploadGroupFileData
- type UploadPrivateFileData
- type VariantsObject
- type VideoData
- type XmlData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CanSendImageResp ¶
type CanSendRecordResp ¶
type CardImageData ¶
type CheckUrlSafelyData ¶
type CheckUrlSafelyData struct {
Url string `json:"url"`
}
type CheckUrlSafelyResp ¶
type ContactData ¶
type CurrentTalkativeObject ¶
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 DeleteGroupFolderData ¶
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 DownloadFileData ¶
type DownloadFileResp ¶
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 ForwardCustomData ¶
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 GetCredentialsData ¶
type GetCredentialsData struct {
Domain string `json:"domain"`
}
type GetCredentialsResp ¶
type GetCsrfTokenResp ¶
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 GetGroupAtAllRemainData ¶
type GetGroupAtAllRemainData struct {
GroupID int64 `json:"group_id"`
}
type GetGroupAtAllRemainResp ¶
type GetGroupFileSystemInfoData ¶
type GetGroupFileSystemInfoData struct {
GroupID int64 `json:"group_id"`
}
type GetGroupFileUrlData ¶
type GetGroupFileUrlResp ¶
type GetGroupFilesByFolderResp ¶
type GetGroupFilesByFolderResp struct { Response Data struct { Files []FileObject `json:"files"` Folders []FolderObject `json:"folders"` } `json:"data"` }
type GetGroupHonorInfoData ¶
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 ¶
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 GetGroupMemberInfoResp ¶
type GetGroupMemberInfoResp struct { Response Data GroupMemberInfoObject `json:"data"` }
type GetGroupMemberListData ¶
type GetGroupMemberListResp ¶
type GetGroupMemberListResp struct { Response Data []GroupMemberInfoObject `json:"data"` }
type GetGroupMsgHistoryData ¶
type GetGroupMsgHistoryResp ¶
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 GetLoginInfoResp ¶
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 GetRecordResp ¶
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 ¶
Friend Message
type GetStrangerInfoResp ¶
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 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 HonorListObject ¶
type ImageObject ¶
type InvitedRequestObject ¶
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 MarkMsgAsReadData ¶
type MarkMsgAsReadData struct {
MessageID int32 `json:"message_id"`
}
type MessageObject ¶
type MessageObject struct { Text string `json:"text"` Images []ImageObject `json:"images"` }
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 RecordData ¶
type RedBagData ¶
type RedBagData struct {
Title string
}
type ReloadEventFilterData ¶
type ReloadEventFilterData struct {
File string `json:"file"`
}
type SendGroupForwardMsgData ¶
type SendGroupForwardMsgResp ¶
type SendGroupMsgData ¶
type SendGroupMsgResp ¶
type SendGroupNoticeData ¶
type SendGroupSignData ¶
type SendGroupSignData struct {
GroupID int64 `json:"group_id"`
}
type SendPrivateMsgData ¶
type SendPrivateMsgResp ¶
type SenderObject ¶
type SetEssenceMsgData ¶
type SetEssenceMsgData struct {
MessageID int32 `json:"message_id"`
}
type SetFriendAddRequestData ¶
type SetGroupAddRequestData ¶
type SetGroupAdminData ¶
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 SetGroupBanData ¶
type SetGroupBanData struct { GroupID int64 `json:"group_id"` UserID int64 `json:"user_id"` Duration uint32 `json:"duration"` }
Group Actions
type SetGroupCardData ¶
type SetGroupKickData ¶
type SetGroupLeaveData ¶
type SetGroupNameData ¶
type SetGroupPortraitData ¶
type SetGroupWholeBanData ¶
type SetModelShowData ¶
type SetQQProfileData ¶
type SetRestartData ¶
type SetRestartData struct {
Delay int `json:"delay"`
}
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 UploadGroupFileData ¶
type UploadPrivateFileData ¶
type VariantsObject ¶
Click to show internal directories.
Click to hide internal directories.