Versions in this module Expand all Collapse all v0 v0.1.1 Jul 28, 2021 v0.1.0 Jul 20, 2021 v0.0.9 Jul 20, 2021 v0.0.8 Jul 20, 2021 v0.0.7 Jul 20, 2021 v0.0.6 Jul 20, 2021 Changes in this version + type GroupMemberInfo struct + MemberList []MemberList + MemberNum int + type GroupMemberInfoReq struct + AppDefinedDataFilterGroupMember []string + GroupID string + Limit int + MemberInfoFilter []string + MemberRoleFilter []string + Offset int type IMPath + const GETGROUPINFO + const GETGROUPMEMBERINFO type IMServer + func (s *IMServer) GetGroupMemberInfo(g GroupMemberInfoReq) (GroupMemberInfo, error) type MemberList + Role string v0.0.5 Jul 15, 2021 Changes in this version + type AppDefinedData struct + Key string + Value string + type GroupAddMemberReq struct + GroupID string + MemberList []MemberList + Silence int + type GroupDeleteMemberReq struct + GroupID string + MemberToDelAccount []string + Reason string + Silence int type IMPath + const GROUPADDMEMBER + const GROUPDELMEMBER type IMServer + func (s *IMServer) GroupAddMember(roomId interface{}, accounts []string) ([]MemberList, error) + func (s *IMServer) GroupDeleteMember(roomId interface{}, accounts []string) error + func (s *IMServer) SetRobotProfile(u UserProfile) error + type MemberList struct + MemberAccount string + Result int type PortraitTag + const IMCustomIsRobot v0.0.4 Jul 9, 2021 v0.0.3 Jul 9, 2021 v0.0.2 Jul 8, 2021 Changes in this version + const GenderTypeFemale + const GenderTypeMale + const GenderTypeUnknown + const TIMCustomElem + const TIMFaceElem + const TIMLocationElem + const TIMTextElem + type AndroidInfo struct + Sound string + type ApnsInfo struct + BadgeMode int + Image string + Sound string + SubTitle string + Title string + type BatchChatMsg struct + FromAccount string + ToAccount []string + type ChatMsg struct + MsgBody []MsgBody + MsgLifeTime int + MsgRandom int + MsgTimeStamp int64 + OfflinePushInfo OfflinePushInfo + SyncFromOldSystem int + SyncOtherMachine int + type GroupMsg struct + ForbidCallbackControl []string + FromAccount string + GroupID string + MsgBody []MsgBody + MsgPriority string + OnlineOnlyFlag int + Random int + type IMPath string + const ACCOUNTIMPORT + const BASEURL + const MULTIACCOUNTIMPORT + const QUERYSTATE + const SENDMSG + const SendGroupMSG + type IMServer struct + AppID int + Expire int + Identifier string + Key string + Sig string + func (s *IMServer) GetPortrait(p PortraitReq) (PortraitResp, error) + func (s *IMServer) MultiAccountImports(account []string) ([]string, error) + func (s *IMServer) SendMsg(b SingleChatMsg) (msgTime int64, msgKey string, err error) + func (s *IMServer) SendRoomData(roomId interface{}, msgType int, byteData []byte) error + func (s *IMServer) SetUserPartProfile(userId interface{}, list ...ProfileItem) error + func (s *IMServer) SetUserProfile(u UserProfile) error + func (s IMServer) SetUserLv(userId interface{}, lv, anchorLv int) error + type MsgBody struct + MsgContent MsgContent + MsgType string + func NewCustomElem(data, desc, ext, sound string) MsgBody + type MsgContent struct + Data interface{} + Desc string + Ext string + Index int + Latitude float64 + Longitude float64 + Sound string + Text string + type MsgTypeData struct + Data interface{} + MsgType int + type OfflinePushInfo struct + AndroidInfo AndroidInfo + ApnsInfo ApnsInfo + Desc string + Ext string + PushFlag int + type PortraitReq struct + TagList []PortraitTag + ToAccount []string + type PortraitResp struct + ActionStatus string + ErrorCode int + ErrorDisplay string + ErrorInfo string + FailAccount []string + UserProfileItem []UserProfileItem + type PortraitSet struct + FromAccount string + ProfileItem []ProfileItem + type PortraitTag string + const IMCustomCharmLv + const IMCustomRichLv + const IMGender + const IMImage + const IMNick + const IMSelfSignature + type PortraitTagValue string + type ProfileItem struct + Tag PortraitTag + Value interface{} + type SendMsgResp struct + ActionStatus string + ErrorCode int + ErrorInfo string + MsgKey string + MsgTime int64 + type SingleChatMsg struct + FromAccount string + ToAccount string + type UserProfile struct + AnchorLv int32 + Head string + ID int64 + Lv int32 + Nick string + PersonalStatus string + Sex int32 + type UserProfileItem struct + ProfileItem []ProfileItem + ResultCode int + ResultInfo string + ToAccount string