UNPKG
amesu
Version:
latest (2.2.0)
2.2.0
2.1.9
2.1.8
2.1.7
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
2.0.0-alpha.8
2.0.0-alpha.7
2.0.0-alpha.6
2.0.0-alpha.5
2.0.0-alpha.4
2.0.0-alpha.3
2.0.0-alpha.2
2.0.0-alpha.1
1.3.0
1.2.0
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
0.0.0
Node.js SDK for QQ Bot.
github.com/xueelf/amesu
xueelf/amesu
amesu
/
lib
/
api
/
gateway.js
19 lines
(18 loc)
•
429 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
default
=
(
request
) =>
{
return
{
/** * 获取通用 WSS 接入点。 */
getGateway
(
) {
return
request.
get
(
'/gateway'
); },
/** * 获取带分片 WSS 接入点。 */
getGatewayBot
(
) {
return
request.
get
(
'/gateway/bot'
); }, }; };