Documentation ¶
Index ¶
- type AdvancedTextElem
- type AtInfo
- type AtTextElem
- type AttachedInfoElem
- type BasicInfo
- type CardElem
- type CmdMsgSyncInReinstall
- type CmdNewMsgComeToConversation
- type CustomElem
- type FaceElem
- type FileBaseInfo
- type FileElem
- type GroupHasReadInfo
- type IMConfig
- type ImageInfo
- type LocationElem
- type MergeElem
- type MessageEntity
- type MessageReaction
- type MessageReceipt
- type MessageRevoked
- type MsgStruct
- type NewMsgList
- type NotificationElem
- type PictureBaseInfo
- type PictureElem
- type PublicUser
- type QuoteElem
- type ReactionElem
- type SoundBaseInfo
- type SoundElem
- type TextElem
- type TypingElem
- type UploadProgress
- type UserReactionElem
- type VideoBaseInfo
- type VideoElem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvancedTextElem ¶
type AdvancedTextElem struct { Text string `json:"text,omitempty"` MessageEntityList []*MessageEntity `json:"messageEntityList,omitempty"` }
type AtTextElem ¶
type AttachedInfoElem ¶
type AttachedInfoElem struct { GroupHasReadInfo GroupHasReadInfo `json:"groupHasReadInfo,omitempty"` IsPrivateChat bool `json:"isPrivateChat"` BurnDuration int32 `json:"burnDuration"` HasReadTime int64 `json:"hasReadTime"` MessageEntityList []*MessageEntity `json:"messageEntityList,omitempty"` IsEncryption bool `json:"isEncryption"` InEncryptStatus bool `json:"inEncryptStatus"` //MessageReactionElem []*ReactionElem `json:"messageReactionElem,omitempty"` Progress *UploadProgress `json:"uploadProgress,omitempty"` }
type CmdMsgSyncInReinstall ¶ added in v3.8.0
type CustomElem ¶
type FileBaseInfo ¶
type GroupHasReadInfo ¶
type IMConfig ¶
type IMConfig struct { SystemType string `json:"systemType"` PlatformID int32 `json:"platformID"` ApiAddr string `json:"apiAddr"` WsAddr string `json:"wsAddr"` DataDir string `json:"dataDir"` LogLevel uint32 `json:"logLevel"` IsLogStandardOutput bool `json:"isLogStandardOutput"` LogFilePath string `json:"logFilePath"` IsExternalExtensions bool `json:"isExternalExtensions"` }
type LocationElem ¶
type MergeElem ¶
type MergeElem struct { Title string `json:"title,omitempty"` AbstractList []string `json:"abstractList,omitempty"` MultiMessage []*MsgStruct `json:"multiMessage,omitempty"` MessageEntityList []*MessageEntity `json:"messageEntityList,omitempty"` }
type MessageEntity ¶
type MessageReaction ¶
type MessageReceipt ¶
type MessageRevoked ¶
type MessageRevoked struct { RevokerID string `json:"revokerID"` RevokerRole int32 `json:"revokerRole"` ClientMsgID string `json:"clientMsgID"` RevokerNickname string `json:"revokerNickname"` RevokeTime int64 `json:"revokeTime"` SourceMessageSendTime int64 `json:"sourceMessageSendTime"` SourceMessageSendID string `json:"sourceMessageSendID"` SourceMessageSenderNickname string `json:"sourceMessageSenderNickname"` SessionType int32 `json:"sessionType"` Seq int64 `json:"seq"` Ex string `json:"ex"` IsAdminRevoke bool `json:"isAdminRevoke"` }
type MsgStruct ¶
type MsgStruct struct { ClientMsgID string `json:"clientMsgID,omitempty"` ServerMsgID string `json:"serverMsgID,omitempty"` CreateTime int64 `json:"createTime"` SendTime int64 `json:"sendTime"` SessionType int32 `json:"sessionType"` SendID string `json:"sendID,omitempty"` RecvID string `json:"recvID,omitempty"` MsgFrom int32 `json:"msgFrom"` ContentType int32 `json:"contentType"` SenderPlatformID int32 `json:"senderPlatformID"` SenderNickname string `json:"senderNickname,omitempty"` SenderFaceURL string `json:"senderFaceUrl,omitempty"` GroupID string `json:"groupID,omitempty"` Content string `json:"content,omitempty"` Seq int64 `json:"seq"` IsRead bool `json:"isRead"` Status int32 `json:"status"` OfflinePush *sdkws.OfflinePushInfo `json:"offlinePush,omitempty"` AttachedInfo string `json:"attachedInfo,omitempty"` Ex string `json:"ex,omitempty"` LocalEx string `json:"localEx,omitempty"` TextElem *TextElem `json:"textElem,omitempty"` CardElem *CardElem `json:"cardElem,omitempty"` PictureElem *PictureElem `json:"pictureElem,omitempty"` SoundElem *SoundElem `json:"soundElem,omitempty"` VideoElem *VideoElem `json:"videoElem,omitempty"` FileElem *FileElem `json:"fileElem,omitempty"` MergeElem *MergeElem `json:"mergeElem,omitempty"` AtTextElem *AtTextElem `json:"atTextElem,omitempty"` FaceElem *FaceElem `json:"faceElem,omitempty"` LocationElem *LocationElem `json:"locationElem,omitempty"` CustomElem *CustomElem `json:"customElem,omitempty"` QuoteElem *QuoteElem `json:"quoteElem,omitempty"` NotificationElem *NotificationElem `json:"notificationElem,omitempty"` AdvancedTextElem *AdvancedTextElem `json:"advancedTextElem,omitempty"` TypingElem *TypingElem `json:"typingElem,omitempty"` AttachedInfoElem *AttachedInfoElem `json:"attachedInfoElem,omitempty"` }
type NewMsgList ¶
type NewMsgList []*MsgStruct
func (NewMsgList) Len ¶
func (n NewMsgList) Len() int
Implement the sort.Interface interface to get the number of elements method
func (NewMsgList) Less ¶
func (n NewMsgList) Less(i, j int) bool
Implement the sort.Interface interface comparison element method
func (NewMsgList) Swap ¶
func (n NewMsgList) Swap(i, j int)
Implement the sort.Interface interface exchange element method
type NotificationElem ¶
type NotificationElem struct {
Detail string `json:"detail,omitempty"`
}
type PictureBaseInfo ¶
type PictureElem ¶
type PictureElem struct { SourcePath string `json:"sourcePath,omitempty"` SourcePicture *PictureBaseInfo `json:"sourcePicture,omitempty"` BigPicture *PictureBaseInfo `json:"bigPicture,omitempty"` SnapshotPicture *PictureBaseInfo `json:"snapshotPicture,omitempty"` }
type PublicUser ¶ added in v3.8.1
type QuoteElem ¶
type QuoteElem struct { Text string `json:"text,omitempty"` QuoteMessage *MsgStruct `json:"quoteMessage,omitempty"` MessageEntityList []*MessageEntity `json:"messageEntityList,omitempty"` }
type ReactionElem ¶
type ReactionElem struct { Counter int32 `json:"counter,omitempty"` Type int `json:"type,omitempty"` UserReactionList []*UserReactionElem `json:"userReactionList,omitempty"` CanRepeat bool `json:"canRepeat,omitempty"` Info string `json:"info,omitempty"` }
type SoundBaseInfo ¶
type TypingElem ¶
type TypingElem struct {
MsgTips string `json:"msgTips,omitempty"`
}
type UploadProgress ¶
type UserReactionElem ¶
type VideoBaseInfo ¶
type VideoBaseInfo struct { VideoPath string `json:"videoPath,omitempty"` VideoUUID string `json:"videoUUID,omitempty"` VideoURL string `json:"videoUrl,omitempty"` VideoType string `json:"videoType,omitempty"` VideoSize int64 `json:"videoSize"` Duration int64 `json:"duration"` SnapshotPath string `json:"snapshotPath,omitempty"` SnapshotUUID string `json:"snapshotUUID,omitempty"` SnapshotSize int64 `json:"snapshotSize"` SnapshotURL string `json:"snapshotUrl,omitempty"` SnapshotWidth int32 `json:"snapshotWidth"` SnapshotHeight int32 `json:"snapshotHeight"` SnapshotType string `json:"snapshotType,omitempty"` }
type VideoElem ¶
type VideoElem struct { VideoPath string `json:"videoPath,omitempty"` VideoUUID string `json:"videoUUID,omitempty"` VideoURL string `json:"videoUrl,omitempty"` VideoType string `json:"videoType,omitempty"` VideoSize int64 `json:"videoSize"` Duration int64 `json:"duration"` SnapshotPath string `json:"snapshotPath,omitempty"` SnapshotUUID string `json:"snapshotUUID,omitempty"` SnapshotSize int64 `json:"snapshotSize"` SnapshotURL string `json:"snapshotUrl,omitempty"` SnapshotWidth int32 `json:"snapshotWidth"` SnapshotHeight int32 `json:"snapshotHeight"` SnapshotType string `json:"snapshotType,omitempty"` }
Click to show internal directories.
Click to hide internal directories.