MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / getChatId

Method getChatId

pangu/pangu.ts:230–232  ·  view source on GitHub ↗
(msg: Api.Message)

Source from the content-addressed store, hash-verified

228 // 获取会话模式
229 private getChatMode(chatId: string): boolean | null {
230 return this.db.data.chats.hasOwnProperty(chatId) ?
231 this.db.data.chats[chatId] : null;
232 }
233
234 // 设置会话模式
235 private async setChatMode(chatId: string, enabled: boolean): Promise<void> {

Callers 4

handleWhiteListMethod · 0.95
handleBlackListMethod · 0.95
showStatusMethod · 0.95
PanguPluginClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected