heybox-bot
Version:
A heybox chat bot frame
14 lines • 773 B
TypeScript
/**
* Constants类用于定义和存储项目中使用的常量,包括API的URL和其他必要的参数。
*/
export default class Constants {
static readonly WSS_URL = "wss://chat.xiaoheihe.cn/chatroom/ws/connect";
static readonly COMMON_PARAMS = "?client_type=heybox_chat&x_client_type=web&os_type=web&x_os_type=bot&x_app=heybox_chat&chat_os_type=bot&chat_version=1.30.0";
static readonly TOKEN_PARAMS = "&token=";
static readonly BASE_URL = "https://chat.xiaoheihe.cn/chatroom";
static readonly SEND_MSG_URL = "/v2/channel_msg/send";
static readonly SEND_USER_MSG_URL = "/v3/msg/user";
static readonly CDN_URL = "max-c.com";
static readonly UPLOAD_URL = "https://chat-upload.xiaoheihe.cn/upload";
}
//# sourceMappingURL=index.d.ts.map