Documentation ¶
Index ¶
- func CheckError(data []byte) error
- func CheckTypedError[T any](data []byte) error
- func ParseFetchClientKeyResp(data []byte) (string, error)
- func ParseFetchCookieResp(data []byte) ([]string, error)
- func ParseFetchFriendsResp(data []byte) ([]*entity.Friend, 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.Friend, 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 ParseGroupKickMemberResp(data []byte) error
- func ParseGroupLeaveResp(data []byte) error
- func ParseGroupMuteGlobalResp(data []byte) error
- func ParseGroupMuteMemberResp(data []byte) error
- func ParseGroupRecordDownloadResp(data []byte) (string, error)
- func ParseGroupRecordUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
- func ParseGroupRemarkResp(data []byte) error
- func ParseGroupRenameMemberResp(data []byte) error
- func ParseGroupRenameResp(data []byte) error
- func ParseGroupSendFileResp(data []byte) (*oidb.OidbSvcTrpcTcpBase, error)
- func ParseGroupSetAdminResp(data []byte) error
- func ParseGroupSetReactionResp(data []byte) error
- func ParseGroupSetSpecialTitleResp(data []byte) error
- func ParseGroupVideoUploadResp(data []byte) (*oidb.NTV2RichMediaResp, 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 ParseSetGroupRequestResp(data []byte) error
- func ParseTypedError[T any](data []byte) (*T, error)
- func ParseVideoDownloadResp(data []byte) (string, error)
- type Packet
- 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 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 BuildGroupKickMemberReq(groupUin uint32, uid string, rejectAddRequest bool) (*Packet, error)
- func BuildGroupLeaveReq(groupUin uint32) (*Packet, error)
- func BuildGroupMuteGlobalReq(groupUin uint32, isMute bool) (*Packet, error)
- func BuildGroupMuteMemberReq(groupUin, duration uint32, uid string) (*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 BuildGroupRemarkReq(groupUin uint32, mark string) (*Packet, error)
- func BuildGroupRenameMemberReq(groupUin uint32, uid, name string) (*Packet, error)
- func BuildGroupRenameReq(groupUin uint32, name string) (*Packet, error)
- func BuildGroupSendFileReq(groupUin uint32, fileKey string) (*Packet, error)
- func BuildGroupSetAdminReq(groupUin uint32, uid string, isAdmin bool) (*Packet, error)
- func BuildGroupSetReactionReq(groupUin, sequence uint32, code string, isAdd bool) (*Packet, error)
- func BuildGroupSetSpecialTitleReq(groupUin uint32, uid, title string) (*Packet, error)
- func BuildGroupVideoUploadReq(groupUin uint32, video *message.ShortVideoElement) (*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 BuildSetGroupRequestReq(isFiltered bool, accept bool, sequence uint64, typ uint32, groupUin uint32, ...) (*Packet, error)
- func BuildVideoDownloadReq(selfUID, videoUUID, videoName string, isGroup bool, md5, sha1 []byte) (*Packet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckError ¶
func CheckTypedError ¶
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 ParseGroupLeaveResp ¶
func ParseGroupMuteMemberResp ¶
ParseGroupMuteMemberResp 失败了会返回错误原因
func ParseGroupRecordUploadResp ¶
func ParseGroupRecordUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
func ParseGroupRemarkResp ¶
func ParseGroupRenameResp ¶
func ParseGroupSendFileResp ¶
func ParseGroupSendFileResp(data []byte) (*oidb.OidbSvcTrpcTcpBase, error)
func ParseGroupSetAdminResp ¶
func ParseGroupVideoUploadResp ¶
func ParseGroupVideoUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
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 ParseTypedError ¶
func ParseVideoDownloadResp ¶
Types ¶
type Packet ¶ added in v0.1.1
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 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 BuildGroupKickMemberReq ¶
func BuildGroupLeaveReq ¶
func BuildGroupMuteGlobalReq ¶
func BuildGroupMuteMemberReq ¶
func BuildGroupPokeReq ¶
func BuildGroupRecordUploadReq ¶
func BuildGroupRecordUploadReq(groupUin uint32, record *message.VoiceElement) (*Packet, error)
func BuildGroupSendFileReq ¶
func BuildGroupSetAdminReq ¶
func BuildGroupVideoUploadReq ¶
func BuildGroupVideoUploadReq(groupUin uint32, video *message.ShortVideoElement) (*Packet, error)
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 BuildSetGroupRequestReq ¶
Source Files ¶
- builder.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
- 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_kick_member.go
- group_leave.go
- group_mute_global.go
- group_mute_member.go
- group_record_download.go
- group_record_upload.go
- group_remark.go
- group_rename.go
- group_rename_member.go
- group_send_file.go
- group_set_admin.go
- group_set_reaction.go
- group_set_special_title.go
- group_video_upload.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_request.go
- video_download.go
Click to show internal directories.
Click to hide internal directories.