Properties
guild.message
guild.message: ((this: T, event: GuildMessageEvent) => void)
Type declaration
-
- (this: T, event: GuildMessageEvent): void
-
Parameters
-
this: T
-
event: GuildMessageEvent
Returns void
internal.input
internal.input: ((this: T, event: {
end: boolean;
user_id: number;
}) => void)
Type declaration
-
- (this: T, event: {
end: boolean;
user_id: number;
}): void
-
Parameters
-
this: T
-
event: {
end: boolean;
user_id: number;
}
-
end: boolean
-
user_id: number
Returns void
internal.sso
internal.sso: ((this: T, cmd: string, payload: Buffer, seq: number) => void)
Type declaration
-
- (this: T, cmd: string, payload: Buffer, seq: number): void
-
Parameters
-
this: T
-
cmd: string
-
payload: Buffer
-
seq: number
Returns void
message
message.discuss
message.group
message.group.anonymous
message.group.normal
message.private
message.private.friend
message.private.group
message.private.other
message.private.self
notice
notice.friend
notice.friend.decrease
notice.friend.increase
notice.friend.poke
notice.friend.recall
notice.group
notice.group.admin
notice.group.ban
notice.group.decrease
notice.group.increase
notice.group.poke
notice.group.recall
notice.group.sign
notice.group.sign: ((this: T, event: GroupSignEvent) => void)
Type declaration
-
- (this: T, event: GroupSignEvent): void
-
Parameters
-
this: T
-
event: GroupSignEvent
Returns void
notice.group.transfer
request
request.friend
request.friend.add
request.friend.single
request.group
request.group.add
request.group.invite
sync.message
sync.read
sync.read: ((this: T, event: {
time: number;
user_id: number;
} | {
group_id: number;
seq: number;
}) => void)
Type declaration
-
- (this: T, event: {
time: number;
user_id: number;
} | {
group_id: number;
seq: number;
}): void
-
Parameters
-
this: T
-
event: {
time: number;
user_id: number;
} | {
group_id: number;
seq: number;
}
Returns void
sync.read.group
sync.read.group: ((this: T, event: {
group_id: number;
seq: number;
}) => void)
Type declaration
-
- (this: T, event: {
group_id: number;
seq: number;
}): void
-
Parameters
-
this: T
-
event: {
group_id: number;
seq: number;
}
-
group_id: number
-
seq: number
Returns void
sync.read.private
sync.read.private: ((this: T, event: {
time: number;
user_id: number;
}) => void)
Type declaration
-
- (this: T, event: {
time: number;
user_id: number;
}): void
-
Parameters
-
this: T
-
event: {
time: number;
user_id: number;
}
-
time: number
-
user_id: number
Returns void
system.login.device
system.login.device: ((this: T, event: {
phone: string;
url: string;
}) => void)
Type declaration
-
- (this: T, event: {
phone: string;
url: string;
}): void
-
Parameters
-
this: T
-
event: {
phone: string;
url: string;
}
-
phone: string
-
url: string
Returns void
system.login.error
system.login.error: ((this: T, event: {
code: number;
message: string;
}) => void)
Type declaration
-
- (this: T, event: {
code: number;
message: string;
}): void
-
Parameters
-
this: T
-
event: {
code: number;
message: string;
}
-
code: number
-
message: string
Returns void
system.login.qrcode
system.login.qrcode: ((this: T, event: {
image: Buffer;
}) => void)
Type declaration
-
- (this: T, event: {
image: Buffer;
}): void
-
Parameters
-
this: T
-
event: {
image: Buffer;
}
Returns void
system.login.slider
system.login.slider: ((this: T, event: {
url: string;
}) => void)
Type declaration
-
- (this: T, event: {
url: string;
}): void
-
Parameters
-
this: T
-
event: {
url: string;
}
Returns void
system.offline
system.offline: ((this: T, event: {
message: string;
}) => void)
Type declaration
-
- (this: T, event: {
message: string;
}): void
-
Parameters
-
this: T
-
event: {
message: string;
}
Returns void
system.offline.kickoff
system.offline.kickoff: ((this: T, event: {
message: string;
}) => void)
Type declaration
-
- (this: T, event: {
message: string;
}): void
-
Parameters
-
this: T
-
event: {
message: string;
}
Returns void
system.offline.network
system.offline.network: ((this: T, event: {
message: string;
}) => void)
Type declaration
-
- (this: T, event: {
message: string;
}): void
-
Parameters
-
this: T
-
event: {
message: string;
}
Returns void
system.online
system.online: ((this: T, event: undefined) => void)
Type declaration
-
- (this: T, event: undefined): void
-
Returns void
事件地图