Versions in this module Expand all Collapse all v0 v0.0.8 Aug 29, 2024 v0.0.7 Jun 6, 2023 v0.0.6 Jun 2, 2023 v0.0.5 Jun 2, 2023 v0.0.4 Jun 2, 2023 v0.0.3 May 26, 2023 v0.0.2 May 25, 2023 Changes in this version type MessageTextExtra + Code string v0.0.1 May 25, 2023 Changes in this version + const EVentCardType + const EventFileMsgType + const EventKMDMsgType + const EventPicMsgType + const EventSystemMsgType + const EventTextMsgType + const EventVideoMsgType + const EventVoiceMsgType + const SIG_EVENT + const SIG_HELLO + const SIG_PING + const SIG_PONG + const SIG_RECONNECT + const SIG_RESUME + const SIG_RESUME_ACK + type BaseEvent struct + AuthorId string + ChannelType string + Content string + MsgId string + MsgTimestamp int64 + Nonce string + SerialNumber int64 + TargetId string + Type int + func (e *BaseEvent) GetType() int + type ChallengeData struct + Challenge string + ChannelType string + Type int + VerifyToken string + type ChallengeEventSignal struct + func NewChallengeEventSignal(challenge, verifyToken string) *ChallengeEventSignal + type ChannelAddUserEvent struct + type ChannelAddUserEventFrame struct + type ChannelAddUserExtra struct + Body struct{ ... } + Type string + type Emoji struct + Id string + Name string + type EventInterface interface + GetType func() int + type Frame struct + SignalType int32 + type FrameMap struct + Data map[string]interface{} + SerialNumber int64 + SignalType int32 + func NewPingFrame(sn int64) *FrameMap + func ParseFrameMapByData(data []byte) *FrameMap + type HelloData struct + Code string + SessionId string + type HelloSignal struct + Data *HelloData + type KMarkdown struct + MentionPart []any + MentionRolePart []any + RawContent string + type KMarkdownExtra struct + Author User + ChannelName string + Code string + GuildID string + KMarkdown KMarkdown + Mention []string + MentionAll bool + MentionHere bool + MentionRoles []int + NavChannels []string + Type int + type MessageKMarkdownEvent struct + type MessageTextEvent struct + Extra *MessageTextExtra + type MessageTextEventFrame struct + type MessageTextExtra struct + Author User + ChannelName string + GuildId string + Mention []string + MentionAll bool + MentionHere bool + MentionRoles []string + Type int + type PingSignal struct + SerialNumber int64 + type PongSignal struct + type ReconnectData struct + Code int + Err string + type ReconnectSignal struct + Data *ReconnectData + type ResumeACKData struct + SessionId string + type ResumeACKSignal struct + Data *ResumeACKData + type ResumeSignal struct + SerialNumber int64 + type TagInfo struct + Color string + Text string + type User struct + Avatar string + Bot bool + ID string + IdentifyNum string + MobileVerified bool + Nickname string + Online bool + Roles []int + Status int + Username string + VipAvatar string