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 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 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 ParseImageUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
- func ParseOidbPacket(b []byte, pkt any) (oidbBaseResp oidb.OidbSvcTrpcTcpBase, err error)
- func ParsePokeResp(data []byte) error
- func ParseSetGroupRequestResp(data []byte) error
- type OidbPacket
- func BuildFetchFriendsReq() (*OidbPacket, error)
- func BuildFetchGroupRequestsReq() (*OidbPacket, error)
- func BuildFetchGroupsReq() (*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, data []byte) (*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 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 BuildImageUploadReq(targetUid string, data []byte) (*OidbPacket, error)
- func BuildOidbPacket(cmd, subCmd uint32, body any, isLafter, isUid bool) (*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 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 ParseGroupRemarkResp ¶
func ParseGroupRenameResp ¶
func ParseGroupSetAdminResp ¶
func ParseImageUploadResp ¶
func ParseImageUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
func ParseOidbPacket ¶
func ParseOidbPacket(b []byte, pkt any) (oidbBaseResp oidb.OidbSvcTrpcTcpBase, err error)
func ParsePokeResp ¶
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 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, data []byte) (*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 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 BuildImageUploadReq ¶
func BuildImageUploadReq(targetUid string, data []byte) (*OidbPacket, error)
func BuildOidbPacket ¶
func BuildOidbPacket(cmd, subCmd uint32, body any, isLafter, isUid bool) (*OidbPacket, error)
func BuildSetGroupRequestReq ¶
Source Files ¶
- FetchFriends.go
- FetchGroupRequests.go
- FetchGroups.go
- FetchMembers.go
- FriendLike.go
- GroupImageUpload.go
- GroupKickMember.go
- GroupLeave.go
- GroupMuteGlobal.go
- GroupMuteMember.go
- GroupRemark.go
- GroupRename.go
- GroupRenameMember.go
- GroupSetAdmin.go
- GroupSetReaction.go
- GroupSetSpecialTitle.go
- Poke.go
- PrivateImageUpload.go
- SetGroupRequest.go
- builder.go
Click to show internal directories.
Click to hide internal directories.