Documentation ¶
Index ¶
- func CheckError(data []byte) error
- func CheckTypedError[T any](data []byte) error
- func ParseFetchFriendsResp(data []byte) ([]*entity.Friend, error)
- func ParseFetchGroupRequestsReq(data []byte) (*oidb.OidbSvcTrpcTcp0X10C0_1Response, error)
- func ParseFetchGroupsResp(data []byte) ([]*entity.Group, error)
- func ParseFetchMemberResp(data []byte) (*entity.GroupMember, error)
- func ParseFetchMembersResp(data []byte) ([]*entity.GroupMember, string, error)
- func ParseFriendLikeResp(data []byte) 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 ParseGroupSetAdminResp(data []byte) error
- func ParseGroupSetReactionResp(data []byte) error
- func ParseGroupSetSpecialTitleResp(data []byte) error
- func ParseOidbPacket(b []byte, pkt any) (oidbBaseResp oidb.OidbSvcTrpcTcpBase, err error)
- func ParsePokeResp(data []byte) error
- func ParsePrivateImageUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
- func ParsePrivateRecordDownloadResp(data []byte) (string, error)
- func ParsePrivateRecordUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
- func ParseSetGroupRequestResp(data []byte) error
- func ParseTypedError[T any](data []byte) (*T, error)
- type OidbPacket
- func BuildFetchFriendsReq() (*OidbPacket, error)
- func BuildFetchGroupRequestsReq() (*OidbPacket, error)
- func BuildFetchGroupsReq() (*OidbPacket, error)
- func BuildFetchMemberReq(groupUin uint32, memberUid string) (*OidbPacket, error)
- func BuildFetchMembersReq(groupUin uint32, token string) (*OidbPacket, error)
- func BuildFriendLikeReq(uid string, count uint32) (*OidbPacket, error)
- func BuildFriendPokeReq(uin uint32) (*OidbPacket, error)
- func BuildGroupImageUploadReq(groupUin uint32, image *message.ImageElement) (*OidbPacket, error)
- func BuildGroupKickMemberReq(groupUin uint32, uid string, rejectAddRequest bool) (*OidbPacket, error)
- func BuildGroupLeaveReq(groupUin uint32) (*OidbPacket, error)
- func BuildGroupMuteGlobalReq(groupUin uint32, isMute bool) (*OidbPacket, error)
- func BuildGroupMuteMemberReq(groupUin, duration uint32, uid string) (*OidbPacket, error)
- func BuildGroupPokeReq(groupUin, uin uint32) (*OidbPacket, error)
- func BuildGroupRecordDownloadReq(grpUin uint32, node *oidb.IndexNode) (*OidbPacket, error)
- func BuildGroupRecordUploadReq(groupUin uint32, record *message.VoiceElement) (*OidbPacket, error)
- func BuildGroupRemarkReq(groupUin uint32, mark string) (*OidbPacket, error)
- func BuildGroupRenameMemberReq(groupUin uint32, uid, name string) (*OidbPacket, error)
- func BuildGroupRenameReq(groupUin uint32, name string) (*OidbPacket, error)
- func BuildGroupSetAdminReq(groupUin uint32, uid string, isAdmin bool) (*OidbPacket, error)
- func BuildGroupSetReactionReq(groupUin, sequence uint32, code string) (*OidbPacket, error)
- func BuildGroupSetSpecialTitleReq(groupUin uint32, uid, title string) (*OidbPacket, error)
- func BuildOidbPacket(cmd, subCmd uint32, body any, isLafter, isUid bool) (*OidbPacket, error)
- func BuildPrivateImageUploadReq(targetUid string, image *message.ImageElement) (*OidbPacket, error)
- func BuildPrivateRecordDownloadReq(selfUid string, node *oidb.IndexNode) (*OidbPacket, error)
- func BuildPrivateRecordUploadReq(targetUid string, record *message.VoiceElement) (*OidbPacket, error)
- func BuildSetGroupRequestReq(accept bool, sequence uint64, typ uint32, groupUin uint32, message string) (*OidbPacket, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckError ¶
func CheckTypedError ¶
func ParseFetchGroupRequestsReq ¶
func ParseFetchGroupRequestsReq(data []byte) (*oidb.OidbSvcTrpcTcp0X10C0_1Response, error)
func ParseFetchMemberResp ¶ added in v0.0.11
func ParseFetchMemberResp(data []byte) (*entity.GroupMember, error)
func ParseFetchMembersResp ¶
func ParseFetchMembersResp(data []byte) ([]*entity.GroupMember, string, error)
func ParseFriendLikeResp ¶
func ParseGroupImageUploadResp ¶
func ParseGroupImageUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
func ParseGroupLeaveResp ¶
func ParseGroupMuteMemberResp ¶
ParseGroupMuteMemberResp 失败了会返回错误原因
func ParseGroupRecordDownloadResp ¶ added in v0.0.11
func ParseGroupRecordUploadResp ¶ added in v0.0.11
func ParseGroupRecordUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
func ParseGroupRemarkResp ¶
func ParseGroupRenameResp ¶
func ParseGroupSetAdminResp ¶
func ParseOidbPacket ¶
func ParseOidbPacket(b []byte, pkt any) (oidbBaseResp oidb.OidbSvcTrpcTcpBase, err error)
func ParsePokeResp ¶
func ParsePrivateImageUploadResp ¶ added in v0.0.11
func ParsePrivateImageUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
func ParsePrivateRecordDownloadResp ¶ added in v0.0.11
func ParsePrivateRecordUploadResp ¶ added in v0.0.11
func ParsePrivateRecordUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
func ParseTypedError ¶ added in v0.0.11
Types ¶
type OidbPacket ¶
func BuildFetchFriendsReq ¶
func BuildFetchFriendsReq() (*OidbPacket, error)
BuildFetchFriendsReq OidbSvcTrpcTcp.0xfd4_1
func BuildFetchGroupRequestsReq ¶
func BuildFetchGroupRequestsReq() (*OidbPacket, error)
func BuildFetchGroupsReq ¶
func BuildFetchGroupsReq() (*OidbPacket, error)
func BuildFetchMemberReq ¶ added in v0.0.11
func BuildFetchMemberReq(groupUin uint32, memberUid string) (*OidbPacket, error)
func BuildFetchMembersReq ¶
func BuildFetchMembersReq(groupUin uint32, token string) (*OidbPacket, error)
func BuildFriendLikeReq ¶
func BuildFriendLikeReq(uid string, count uint32) (*OidbPacket, error)
func BuildFriendPokeReq ¶
func BuildFriendPokeReq(uin uint32) (*OidbPacket, error)
func BuildGroupImageUploadReq ¶
func BuildGroupImageUploadReq(groupUin uint32, image *message.ImageElement) (*OidbPacket, error)
func BuildGroupKickMemberReq ¶
func BuildGroupKickMemberReq(groupUin uint32, uid string, rejectAddRequest bool) (*OidbPacket, error)
func BuildGroupLeaveReq ¶
func BuildGroupLeaveReq(groupUin uint32) (*OidbPacket, error)
func BuildGroupMuteGlobalReq ¶
func BuildGroupMuteGlobalReq(groupUin uint32, isMute bool) (*OidbPacket, error)
func BuildGroupMuteMemberReq ¶
func BuildGroupMuteMemberReq(groupUin, duration uint32, uid string) (*OidbPacket, error)
func BuildGroupPokeReq ¶
func BuildGroupPokeReq(groupUin, uin uint32) (*OidbPacket, error)
func BuildGroupRecordDownloadReq ¶ added in v0.0.11
func BuildGroupRecordDownloadReq(grpUin uint32, node *oidb.IndexNode) (*OidbPacket, error)
func BuildGroupRecordUploadReq ¶ added in v0.0.11
func BuildGroupRecordUploadReq(groupUin uint32, record *message.VoiceElement) (*OidbPacket, error)
func BuildGroupRemarkReq ¶
func BuildGroupRemarkReq(groupUin uint32, mark string) (*OidbPacket, error)
func BuildGroupRenameMemberReq ¶
func BuildGroupRenameMemberReq(groupUin uint32, uid, name string) (*OidbPacket, error)
func BuildGroupRenameReq ¶
func BuildGroupRenameReq(groupUin uint32, name string) (*OidbPacket, error)
func BuildGroupSetAdminReq ¶
func BuildGroupSetAdminReq(groupUin uint32, uid string, isAdmin bool) (*OidbPacket, error)
func BuildGroupSetReactionReq ¶
func BuildGroupSetReactionReq(groupUin, sequence uint32, code string) (*OidbPacket, error)
func BuildGroupSetSpecialTitleReq ¶
func BuildGroupSetSpecialTitleReq(groupUin uint32, uid, title string) (*OidbPacket, error)
func BuildOidbPacket ¶
func BuildOidbPacket(cmd, subCmd uint32, body any, isLafter, isUid bool) (*OidbPacket, error)
func BuildPrivateImageUploadReq ¶ added in v0.0.11
func BuildPrivateImageUploadReq(targetUid string, image *message.ImageElement) (*OidbPacket, error)
func BuildPrivateRecordDownloadReq ¶ added in v0.0.11
func BuildPrivateRecordDownloadReq(selfUid string, node *oidb.IndexNode) (*OidbPacket, error)
BuildPrivateRecordDownloadReq 私聊语音
func BuildPrivateRecordUploadReq ¶ added in v0.0.11
func BuildPrivateRecordUploadReq(targetUid string, record *message.VoiceElement) (*OidbPacket, error)
func BuildSetGroupRequestReq ¶
Source Files ¶
- FetchFriends.go
- FetchGroupRequests.go
- FetchGroups.go
- FetchMember.go
- FetchMembers.go
- FriendLike.go
- GroupImageUpload.go
- GroupKickMember.go
- GroupLeave.go
- GroupMuteGlobal.go
- GroupMuteMember.go
- GroupRecordDownload.go
- GroupRecordUpload.go
- GroupRemark.go
- GroupRename.go
- GroupRenameMember.go
- GroupSetAdmin.go
- GroupSetReaction.go
- GroupSetSpecialTitle.go
- Poke.go
- PrivateImageUpload.go
- PrivateRecordUpload.go
- RecordDownload.go
- SetGroupRequest.go
- builder.go
Click to show internal directories.
Click to hide internal directories.