Documentation ¶
Index ¶
- func CheckError(data []byte) error
- func CheckTypedError[T any](data []byte) error
- func ParseDeleteFriendResp(data []byte) error
- func ParseFetchClientKeyResp(data []byte) (string, error)
- func ParseFetchCookieResp(data []byte) ([]string, error)
- func ParseFetchFriendsResp(data []byte) ([]*entity.User, uint32, error)
- func ParseFetchGroupResp(data []byte) (*oidb.D88DGroupInfoResp, error)
- func ParseFetchGroupSystemMessagesReq(isFiltered bool, data []byte, groupUin ...uint32) (*entity.GroupSystemMessages, error)
- func ParseFetchGroupsResp(data []byte) ([]*entity.Group, error)
- func ParseFetchMemberResp(data []byte) (*entity.GroupMember, error)
- func ParseFetchMembersResp(data []byte) ([]*entity.GroupMember, string, error)
- func ParseFetchRKeyResp(data []byte) (entity.RKeyMap, error)
- func ParseFetchUserInfoResp(data []byte) (*entity.User, error)
- func ParseFriendLikeResp(data []byte) error
- func ParseGroupFSDownloadResp(data []byte) (string, error)
- func ParseGroupFileCountResp(data []byte) (uint32, uint32, error)
- func ParseGroupFileDeleteResp(data []byte) error
- func ParseGroupFileListResp(data []byte) (*oidb.OidbSvcTrpcTcp0X6D8_1Response, error)
- func ParseGroupFileMoveResp(data []byte) error
- func ParseGroupFileRenameResp(data []byte) error
- func ParseGroupFileSpaceResp(data []byte) (uint64, uint64, error)
- func ParseGroupFileUploadResp(data []byte) (*oidb.OidbSvcTrpcTcp0X6D6Response, error)
- func ParseGroupFolderCreateResp(data []byte) error
- func ParseGroupFolderDeleteResp(data []byte) error
- func ParseGroupFolderRenameResp(data []byte) error
- func ParseGroupImageDownloadResp(data []byte) (string, error)
- func ParseGroupImageUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
- func ParseGroupRecordDownloadResp(data []byte) (string, error)
- func ParseGroupRecordUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
- func ParseGroupSendFileResp(data []byte) (*oidb.OidbSvcTrpcTcpBase, error)
- func ParseGroupVideoUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
- func ParseKickGroupMemberResp(data []byte) error
- func ParseOidbPacket(b []byte, pkt any) (oidbBaseResp oidb.OidbSvcTrpcTcpBase, err error)
- func ParsePokeResp(data []byte) error
- func ParsePrivateFileDownloadResp(data []byte) (string, error)
- func ParsePrivateFileUploadResp(data []byte) (*oidb.OidbSvcTrpcTcp0XE37Response, error)
- func ParsePrivateImageDownloadResp(data []byte) (string, error)
- func ParsePrivateImageUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
- func ParsePrivateRecordDownloadResp(data []byte) (string, error)
- func ParsePrivateRecordUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
- func ParsePrivateVideoUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
- func ParseSetEssenceMessageResp(data []byte) error
- func ParseSetFriendRequestResp(data []byte) error
- func ParseSetGroupAdminResp(data []byte) error
- func ParseSetGroupGlobalMuteResp(data []byte) error
- func ParseSetGroupLeaveResp(data []byte) error
- func ParseSetGroupMemberMuteResp(data []byte) error
- func ParseSetGroupMemberNameResp(data []byte) error
- func ParseSetGroupMemberSpecialTitleResp(data []byte) error
- func ParseSetGroupNameResp(data []byte) error
- func ParseSetGroupReactionResp(data []byte) error
- func ParseSetGroupRemarkResp(data []byte) error
- func ParseSetGroupRequestResp(data []byte) error
- func ParseTypedError[T any](data []byte) (*T, error)
- func ParseVideoDownloadResp(data []byte) (string, error)
- type AtAllRemainInfo
- type BotGroupClockInResult
- type Coordinate
- type OcrResponse
- type Packet
- func BuildDeleteFriendReq(uid string, block bool) (*Packet, error)
- func BuildFetchClientKeyReq() (*Packet, error)
- func BuildFetchCookieReq(domains []string) (*Packet, error)
- func BuildFetchFriendsReq(token uint32) (*Packet, error)
- func BuildFetchGroupReq(groupUin uint32, isStrange bool) (*Packet, error)
- func BuildFetchGroupSystemMessagesReq(isFiltered bool, count uint32) (*Packet, error)
- func BuildFetchGroupsReq() (*Packet, error)
- func BuildFetchMemberReq(groupUin uint32, memberUID string) (*Packet, error)
- func BuildFetchMembersReq(groupUin uint32, token string) (*Packet, error)
- func BuildFetchRKeyReq() (*Packet, error)
- func BuildFetchUserInfoReq[T ~string | ~uint32](value T) (*Packet, error)
- func BuildFriendLikeReq(uid string, count uint32) (*Packet, error)
- func BuildFriendPokeReq(uin uint32) (*Packet, error)
- func BuildGetAtAllRemainRequest(uin, gin uint32) (*Packet, error)
- func BuildGroupFSDownloadReq(groupUin uint32, fileID string) (*Packet, error)
- func BuildGroupFileCountReq(groupUin uint32) (*Packet, error)
- func BuildGroupFileDeleteReq(groupUin uint32, fileID string) (*Packet, error)
- func BuildGroupFileListReq(groupUin uint32, targetDirectory string, startIndex uint32, fileCount uint32) (*Packet, error)
- func BuildGroupFileMoveReq(groupUin uint32, fileID string, parentFolder string, targetFolderID string) (*Packet, error)
- func BuildGroupFileRenameReq(groupUin uint32, fileID string, parentFolder string, newFileName string) (*Packet, error)
- func BuildGroupFileSpaceReq(groupUin uint32) (*Packet, error)
- func BuildGroupFileUploadReq(groupUin uint32, file *message.FileElement, targetDirectory string) (*Packet, error)
- func BuildGroupFolderCreateReq(groupUin uint32, targetDirectory string, folderName string) (*Packet, error)
- func BuildGroupFolderDeleteReq(groupUin uint32, folderID string) (*Packet, error)
- func BuildGroupFolderRenameReq(groupUin uint32, folderID string, newFolderName string) (*Packet, error)
- func BuildGroupImageDownloadReq(groupUin uint32, node *oidb.IndexNode) (*Packet, error)
- func BuildGroupImageUploadReq(groupUin uint32, image *message.ImageElement) (*Packet, error)
- func BuildGroupPokeReq(groupUin, uin uint32) (*Packet, error)
- func BuildGroupRecordDownloadReq(grpUin uint32, node *oidb.IndexNode) (*Packet, error)
- func BuildGroupRecordUploadReq(groupUin uint32, record *message.VoiceElement) (*Packet, error)
- func BuildGroupSendFileReq(groupUin uint32, fileKey string) (*Packet, error)
- func BuildGroupSignPacket(botUin, groupUin uint32, appVersion string) (*Packet, error)
- func BuildGroupVideoUploadReq(groupUin uint32, video *message.ShortVideoElement) (*Packet, error)
- func BuildImageOcrRequestPacket(url string) (*Packet, error)
- func BuildKickGroupMemberReq(groupUin uint32, uid string, rejectAddRequest bool) (*Packet, error)
- func BuildOidbPacket(cmd, subCmd uint32, body any, isLafter, isUID bool) (*Packet, error)
- func BuildPrivateFileDownloadReq(selfUID string, fileUUID string, fileHash string) (*Packet, error)
- func BuildPrivateFileUploadReq(selfUID string, targetUID string, file *message.FileElement) (*Packet, error)
- func BuildPrivateImageDownloadReq(selfUID string, node *oidb.IndexNode) (*Packet, error)
- func BuildPrivateImageUploadReq(targetUID string, image *message.ImageElement) (*Packet, error)
- func BuildPrivateRecordDownloadReq(selfUID string, node *oidb.IndexNode) (*Packet, error)
- func BuildPrivateRecordUploadReq(targetUID string, record *message.VoiceElement) (*Packet, error)
- func BuildPrivateVideoUploadReq(targetUID string, video *message.ShortVideoElement) (*Packet, error)
- func BuildSetEssenceMessageReq(groupUin, seq, random uint32, isSet bool) (*Packet, error)
- func BuildSetFriendRequest(accept bool, targetUID string) (*Packet, error)
- func BuildSetGroupAdminReq(groupUin uint32, uid string, isAdmin bool) (*Packet, error)
- func BuildSetGroupGlobalMuteReq(groupUin uint32, isMute bool) (*Packet, error)
- func BuildSetGroupLeaveReq(groupUin uint32) (*Packet, error)
- func BuildSetGroupMemberMuteReq(groupUin, duration uint32, uid string) (*Packet, error)
- func BuildSetGroupMemberNameReq(groupUin uint32, uid, name string) (*Packet, error)
- func BuildSetGroupMemberSpecialTitleReq(groupUin uint32, uid, title string) (*Packet, error)
- func BuildSetGroupNameReq(groupUin uint32, name string) (*Packet, error)
- func BuildSetGroupReactionReq(groupUin, sequence uint32, code string, isAdd bool) (*Packet, error)
- func BuildSetGroupRemarkReq(groupUin uint32, mark string) (*Packet, error)
- func BuildSetGroupRequestReq(isFiltered bool, accept bool, sequence uint64, typ uint32, groupUin uint32, ...) (*Packet, error)
- func BuildURLCheckRequest(botuin uint32, url string) (*Packet, error)
- func BuildVideoDownloadReq(selfUID, videoUUID string, isGroup bool) (*Packet, error)
- type TextDetection
- type URLSecurityLevel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckError ¶
func CheckTypedError ¶
func ParseDeleteFriendResp ¶ added in v0.1.2
func ParseFetchClientKeyResp ¶
func ParseFetchCookieResp ¶
func ParseFetchFriendsResp ¶
func ParseFetchGroupResp ¶ added in v0.1.1
func ParseFetchGroupResp(data []byte) (*oidb.D88DGroupInfoResp, error)
func ParseFetchMemberResp ¶
func ParseFetchMemberResp(data []byte) (*entity.GroupMember, error)
func ParseFetchMembersResp ¶
func ParseFetchMembersResp(data []byte) ([]*entity.GroupMember, string, error)
func ParseFriendLikeResp ¶
func ParseGroupFileListResp ¶
func ParseGroupFileListResp(data []byte) (*oidb.OidbSvcTrpcTcp0X6D8_1Response, error)
func ParseGroupFileMoveResp ¶
func ParseGroupFileUploadResp ¶
func ParseGroupFileUploadResp(data []byte) (*oidb.OidbSvcTrpcTcp0X6D6Response, error)
func ParseGroupImageUploadResp ¶
func ParseGroupImageUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
func ParseGroupRecordUploadResp ¶
func ParseGroupRecordUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
func ParseGroupSendFileResp ¶
func ParseGroupSendFileResp(data []byte) (*oidb.OidbSvcTrpcTcpBase, error)
func ParseGroupVideoUploadResp ¶
func ParseGroupVideoUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
func ParseKickGroupMemberResp ¶ added in v0.1.2
func ParseOidbPacket ¶
func ParseOidbPacket(b []byte, pkt any) (oidbBaseResp oidb.OidbSvcTrpcTcpBase, err error)
func ParsePokeResp ¶
func ParsePrivateFileUploadResp ¶
func ParsePrivateFileUploadResp(data []byte) (*oidb.OidbSvcTrpcTcp0XE37Response, error)
func ParsePrivateImageUploadResp ¶
func ParsePrivateImageUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
func ParsePrivateRecordUploadResp ¶
func ParsePrivateRecordUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
func ParsePrivateVideoUploadResp ¶
func ParsePrivateVideoUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
func ParseSetGroupAdminResp ¶ added in v0.1.2
func ParseSetGroupGlobalMuteResp ¶ added in v0.1.2
func ParseSetGroupLeaveResp ¶ added in v0.1.2
func ParseSetGroupMemberMuteResp ¶ added in v0.1.2
ParseSetGroupMemberMuteResp 失败了会返回错误原因
func ParseSetGroupMemberNameResp ¶ added in v0.1.2
func ParseSetGroupMemberSpecialTitleResp ¶ added in v0.1.2
func ParseSetGroupNameResp ¶ added in v0.1.2
func ParseSetGroupReactionResp ¶ added in v0.1.2
func ParseSetGroupRemarkResp ¶ added in v0.1.2
func ParseTypedError ¶
func ParseVideoDownloadResp ¶
Types ¶
type AtAllRemainInfo ¶ added in v0.1.2
type AtAllRemainInfo struct { CanAtAll bool CountForGroup uint32 // 当前群默认可用次数 CountForUin uint32 // 当前QQ剩余次数 }
func ParseGetAtAllRemainResponse ¶ added in v0.1.2
func ParseGetAtAllRemainResponse(data []byte) (*AtAllRemainInfo, error)
type BotGroupClockInResult ¶ added in v0.1.2
type BotGroupClockInResult struct { Title string // 今日已成功打卡 KeepDayText string // 已打卡N天 GroupRankText string // 群内排名第N位 ClockInUtcTime int64 // 打卡时间 DetailURL string // Detail info url https://qun.qq.com/v2/signin/detail?... }
func ParseGroupSignResp ¶ added in v0.1.2
func ParseGroupSignResp(data []byte) (*BotGroupClockInResult, error)
type Coordinate ¶ added in v0.1.2
type OcrResponse ¶ added in v0.1.2
type OcrResponse struct { Texts []*TextDetection `json:"texts"` Language string `json:"language"` }
func ParseImageOcrResp ¶ added in v0.1.2
func ParseImageOcrResp(data []byte) (*OcrResponse, error)
type Packet ¶ added in v0.1.1
func BuildDeleteFriendReq ¶ added in v0.1.2
func BuildFetchClientKeyReq ¶
func BuildFetchCookieReq ¶
func BuildFetchFriendsReq ¶
BuildFetchFriendsReq OidbSvcTrpcTcp.0xfd4_1
func BuildFetchGroupReq ¶ added in v0.1.1
func BuildFetchGroupsReq ¶
func BuildFetchMemberReq ¶
func BuildFetchMembersReq ¶
func BuildFetchRKeyReq ¶
func BuildFetchUserInfoReq ¶
func BuildFriendPokeReq ¶
func BuildGetAtAllRemainRequest ¶ added in v0.1.2
func BuildGroupFSDownloadReq ¶
func BuildGroupFileCountReq ¶
func BuildGroupFileDeleteReq ¶
func BuildGroupFileListReq ¶
func BuildGroupFileMoveReq ¶
func BuildGroupFileRenameReq ¶
func BuildGroupFileSpaceReq ¶
func BuildGroupFileUploadReq ¶
func BuildGroupImageUploadReq ¶
func BuildGroupImageUploadReq(groupUin uint32, image *message.ImageElement) (*Packet, error)
func BuildGroupPokeReq ¶
func BuildGroupRecordUploadReq ¶
func BuildGroupRecordUploadReq(groupUin uint32, record *message.VoiceElement) (*Packet, error)
func BuildGroupSendFileReq ¶
func BuildGroupSignPacket ¶ added in v0.1.2
func BuildGroupVideoUploadReq ¶
func BuildGroupVideoUploadReq(groupUin uint32, video *message.ShortVideoElement) (*Packet, error)
func BuildImageOcrRequestPacket ¶ added in v0.1.2
func BuildKickGroupMemberReq ¶ added in v0.1.2
func BuildOidbPacket ¶
func BuildPrivateImageUploadReq ¶
func BuildPrivateImageUploadReq(targetUID string, image *message.ImageElement) (*Packet, error)
func BuildPrivateRecordDownloadReq ¶
BuildPrivateRecordDownloadReq 私聊语音
func BuildPrivateRecordUploadReq ¶
func BuildPrivateRecordUploadReq(targetUID string, record *message.VoiceElement) (*Packet, error)
func BuildPrivateVideoUploadReq ¶
func BuildPrivateVideoUploadReq(targetUID string, video *message.ShortVideoElement) (*Packet, error)
func BuildSetFriendRequest ¶
func BuildSetGroupAdminReq ¶ added in v0.1.2
func BuildSetGroupGlobalMuteReq ¶ added in v0.1.2
func BuildSetGroupLeaveReq ¶ added in v0.1.2
func BuildSetGroupMemberMuteReq ¶ added in v0.1.2
func BuildSetGroupMemberNameReq ¶ added in v0.1.2
func BuildSetGroupMemberSpecialTitleReq ¶ added in v0.1.2
func BuildSetGroupNameReq ¶ added in v0.1.2
func BuildSetGroupReactionReq ¶ added in v0.1.2
func BuildSetGroupRemarkReq ¶ added in v0.1.2
func BuildSetGroupRequestReq ¶
func BuildURLCheckRequest ¶ added in v0.1.2
type TextDetection ¶ added in v0.1.2
type TextDetection struct { Text string `json:"text"` Confidence int32 `json:"confidence"` Coordinates []*Coordinate `json:"coordinates"` }
type URLSecurityLevel ¶ added in v0.1.2
type URLSecurityLevel int
const ( URLSecurityLevelSafe URLSecurityLevel = iota + 1 URLSecurityLevelUnknown URLSecurityLevelDanger )
func ParseURLCheckResponse ¶ added in v0.1.2
func ParseURLCheckResponse(data []byte) (URLSecurityLevel, error)
func (URLSecurityLevel) String ¶ added in v0.1.2
func (m URLSecurityLevel) String() string
Source Files ¶
- builder.go
- check_url_safely.go
- delete_friend.go
- fetch_client_key.go
- fetch_cookie.go
- fetch_friends.go
- fetch_group.go
- fetch_group_system_messages.go
- fetch_groups.go
- fetch_member.go
- fetch_members.go
- fetch_rkey.go
- fetch_user_info.go
- friend_like.go
- get_group_atall_remain.go
- group_file_count.go
- group_file_delete.go
- group_file_list.go
- group_file_move.go
- group_file_rename.go
- group_file_space.go
- group_file_upload.go
- group_folder_create.go
- group_folder_delete.go
- group_folder_rename.go
- group_fs_download.go
- group_image_download.go
- group_image_upload.go
- group_record_download.go
- group_record_upload.go
- group_send_file.go
- group_sign.go
- group_video_upload.go
- image_ocr.go
- kick_group_member.go
- poke.go
- private_file_download.go
- private_file_upload.go
- private_image_download.go
- private_image_upload.go
- private_record_download.go
- private_record_upload.go
- private_video_upload.go
- set_essence_message.go
- set_friend_request.go
- set_group_admin.go
- set_group_global_mute.go
- set_group_leave.go
- set_group_member_mute.go
- set_group_member_name.go
- set_group_member_special_title.go
- set_group_name.go
- set_group_reaction.go
- set_group_remark.go
- set_group_request.go
- video_download.go
Click to show internal directories.
Click to hide internal directories.