MCPcopy Create free account

hub / github.com/clansty/Q2TG / functions

Functions401 in github.com/clansty/Q2TG

FunctionaddGroupNameChangeHandler
(handler: (e: GroupNameChangeEvent) => Promise<void | boolean>)
main/src/client/QQClient/index.ts:190
FunctionaddInputStatusChangeHandler
(handler: (e: InputStatusChangeEvent) => Promise<void | boolean>)
main/src/client/QQClient/index.ts:178
FunctionaddMessageRecallEventHandler
(handler: (e: MessageRecallEvent) => Promise<void | boolean>)
main/src/client/QQClient/index.ts:130
FunctionaddNewMessageEventHandler
(handler: (e: MessageEvent) => Promise<void | boolean>)
main/src/client/QQClient/index.ts:82
FunctionaddPokeEventHandler
(handler: (e: PokeEvent) => Promise<void | boolean>)
main/src/client/QQClient/index.ts:142
MethodaddSubject
(subject: ActionSubject)
main/src/controllers/HugController.ts:179
MethodaddText
(text: string)
main/src/controllers/HugController.ts:204
Methodannounce
(content: string)
main/src/client/NapCatClient/entity.ts:284
Functionapprove
(yes = true)
main/src/client/NapCatClient/event.ts:87
MethodauthKey
(value: AuthKey | undefined)
main/src/models/TelegramSession.ts:79
MethodboolToStr
(value: boolean)
main/src/controllers/AliveCheckController.ts:30
MethodbotMe
()
main/src/models/Instance.ts:261
MethodbotSessionId
()
main/src/models/Instance.ts:273
FunctioncallHandlers
(handlers: Array<(e: T) => Promise<void | boolean>>, e: T)
main/src/client/QQClient/index.ts:73
MethodcancelWait
()
main/src/client/TelegramChat.ts:55
Functioncapture
(event: string, properties: Record<string, any>)
main/src/models/posthog.ts:20
FunctionchatId
()
main/src/client/QQClient/events.ts:15
FunctioncheckSignApiAddress
(signApi: string)
main/src/helpers/setupHelper.ts:29
Functioncolor
(index: number)
main/src/constants/emoji.ts:5
Functionconstructor
( // 数据库内 ID public readonly id: number, )
main/src/client/QQClient/index.ts:23
Functionconstructor
( public readonly chat: Friend | Group, )
main/src/client/QQClient/events.ts:6
Functionconstructor
(public readonly client: NapCatClient)
main/src/client/NapCatClient/entity.ts:34
Functionconstructor
( public readonly user_id: number, public readonly nickname: string, public readonly flag: string,
main/src/client/NapCatClient/event.ts:12
Methodconstructor
(uin: number, id: number, conf?: Config, public readonly signDockerId?: string)
main/src/client/OicqClient.ts:59
Methodconstructor
(public readonly parent: Telegram, private readonly client: TelegramClient, // Api
main/src/client/TelegramChat.ts:16
Methodconstructor
(appName: string, sessionId?: number)
main/src/client/Telegram.ts:44
Methodconstructor
(public readonly chat: TelegramChat, private readonly client: TelegramClient, priv
main/src/client/TelegramImportSession.ts:7
Methodconstructor
( public readonly from: { id: number; name: string; nickname?: string; card?: stri
main/src/client/QQClient/events.ts:25
Methodconstructor
( group: Group, public readonly userId: number, public readonly nickname: string, )
main/src/client/QQClient/events.ts:70
Methodconstructor
( group: Group, public readonly userId: number, public readonly operatorId: number, public rea
main/src/client/QQClient/events.ts:80
Methodconstructor
( public readonly friend: Friend, )
main/src/client/QQClient/events.ts:91
Methodconstructor
( public readonly chat: Friend | Group, public readonly seq: number, public readonly rand: number,
main/src/client/QQClient/events.ts:98
Methodconstructor
( chat: Friend | Group, public readonly fromId: number, public readonly targetId: number, publ
main/src/client/QQClient/events.ts:108
Methodconstructor
( public readonly chat: Friend, public readonly typing: boolean, )
main/src/client/QQClient/events.ts:120
Methodconstructor
( public readonly group: Group, public readonly operator: QQUser, public readonly newName: string,
main/src/client/QQClient/events.ts:128
Methodconstructor
(id: number, private readonly wsUrl: string)
main/src/client/NapCatClient/client.ts:18
Methodconstructor
(client: NapCatClient, uid: number)
main/src/client/NapCatClient/entity.ts:146
Methodconstructor
(private client: NapCatClient, private gid: number)
main/src/client/NapCatClient/entity.ts:181
Methodconstructor
(client: NapCatClient, public readonly gid: number)
main/src/client/NapCatClient/entity.ts:205
Methodconstructor
(client: NapCatClient, public readonly gid: number, uid: number)
main/src/client/NapCatClient/entity.ts:313
Methodconstructor
( public readonly client: NapCatClient, user_id: number, nickname: string, flag: string, time: number,
main/src/client/NapCatClient/event.ts:29
Methodconstructor
( client: NapCatClient, user_id: number, nickname: string, flag: string, time: number, group_id: n
main/src/client/NapCatClient/event.ts:106
Methodconstructor
( client: NapCatClient, user_id: number, nickname: string, flag: string, time: number, group_id: n
main/src/client/NapCatClient/event.ts:118
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram)
main/src/controllers/SetupController.ts:25
Methodconstructor
(private readonly instance: Instance, private readonly oicq: QQClient)
main/src/controllers/OicqErrorNotifyController.ts:9
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram, private re
main/src/controllers/DeleteMessageController.ts:11
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram, private re
main/src/controllers/FileAndFlashPhotoController.ts:16
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram, private re
main/src/controllers/GroupNameRefreshController.ts:13
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram, private re
main/src/controllers/LoadingController.ts:9
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram, private re
main/src/controllers/AliveCheckController.ts:8
Methodconstructor
( private readonly instance: Instance, private readonly tgBot: Telegram, private readonly tgUser:
main/src/controllers/ForwardController.ts:29
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram, private re
main/src/controllers/HugController.ts:35
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram, private re
main/src/controllers/TypingController.ts:8
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram, private re
main/src/controllers/RequestController.ts:14
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram, private re
main/src/controllers/QuotLyController.ts:20
Methodconstructor
( private readonly instance: Instance, private readonly tgBot: Telegram, private readonly tgUser:
main/src/controllers/InChatCommandsController.ts:15
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram)
main/src/controllers/InstanceManageController.ts:10
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram, private re
main/src/controllers/MiraiSkipFilterController.ts:7
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram, private re
main/src/controllers/ConfigController.ts:24
Methodconstructor
(private tg: Telegram)
main/src/helpers/WaitForMessageHelper.ts:9
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram)
main/src/services/DeleteMessageService.ts:17
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram, private re
main/src/services/ForwardService.ts:72
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram, private re
main/src/services/InChatCommandsService.ts:18
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram)
main/src/services/SetupService.ts:17
Methodconstructor
(private readonly instance: Instance, private readonly tgBot: Telegram, private re
main/src/services/ConfigService.ts:23
Methodconstructor
(private _dbId?: number)
main/src/models/TelegramSession.ts:12
Methodconstructor
( public readonly qq: Friend | Group, private _tg: TelegramChat, public readonly tgUser: TelegramC
main/src/models/Pair.ts:30
Methodconstructor
(private readonly instanceId: number)
main/src/models/ForwardPairs.ts:16
Methodconstructor
(public readonly id: number)
main/src/models/Instance.ts:71
FunctionconvertTextToPlatform
(text: string)
main/src/helpers/setupHelper.ts:4
FunctionconvertTextToWorkMode
(text: string)
main/src/helpers/setupHelper.ts:19
Functioncreate
(params: CreateQQClientParams)
main/src/client/QQClient/index.ts:37
Functioncreate
(client: NapCatClient, data: WSReceiveHandler['request.group'])
main/src/client/NapCatClient/event.ts:75
Methodcreate
(params: CreateOicqParams)
main/src/client/OicqClient.ts:80
Methodcreate
(client: NapCatClient, uid: number)
main/src/client/NapCatClient/entity.ts:150
Methodcreate
(client: NapCatClient, data: WSReceiveHandler['request.friend'])
main/src/client/NapCatClient/event.ts:40
MethodcreateExisted
(client: NapCatClient, info: { nickname: string, remark: string, uid: number })
main/src/client/NapCatClient/entity.ts:156
FunctioncreateSpoilerImageEndpoint
(image: ImageElem, nickname: string, title?: string)
main/src/client/QQClient/index.ts:214
MethodcreateSpoilerImageEndpoint
(image: ImageElem, nickname: string, title?: string)
main/src/client/NapCatClient/client.ts:251
MethoddbId
()
main/src/models/TelegramSession.ts:17
Functiondebounce
(fn: (...originArgs: TArgs) => TRet, dur = 100)
main/src/utils/highLevelFunces.ts:1
Functiondecode
(bufSilk: Buffer, outputPath: string)
main/src/encoding/silk.ts:46
Functiondelete
(pair: Pair, member: number)
main/src/helpers/memberRoleCache.ts:22
Functiondm
()
main/src/client/QQClient/events.ts:11
FunctiondownloadToCustomFile
(url: string, allowWebp = false, filename?: string)
main/src/helpers/forwardHelper.ts:44
FunctiondrawRoundedRect
(ctx: CanvasRenderingContext2D, x: number, y: number, width: number, height: number, radius: number)
main/src/helpers/makeHeaderImage.ts:53
Functionencode
(oggPath: string)
main/src/encoding/silk.ts:36
FunctionfakeUuid
()
main/src/utils/random.ts:16
FunctionfileTypeFromCustomFile
(file: CustomFile | string)
main/src/helpers/forwardHelper.ts:302
Methodfinish
()
main/src/client/TelegramImportSession.ts:23
Methodflags
()
main/src/models/Pair.ts:102
Methodflags
()
main/src/models/Instance.ts:281
FunctiongenerateForwardBrief
(messages: ForwardMessage[])
main/src/helpers/forwardHelper.ts:217
FunctiongenerateRichHeaderUrl
(apiKey: string, userId: number, messageHeader = '')
main/src/helpers/forwardHelper.ts:243
FunctiongenerateTelegramAvatarUrl
(instanceId: number, userId: number)
main/src/helpers/forwardHelper.ts:251
Functionget
(pair: Pair, member: number)
main/src/helpers/memberRoleCache.ts:7
FunctiongetChat
(roomId: number, tempChatFromGroupId?: number)
main/src/client/QQClient/index.ts:201
FunctiongetEx
(pair: Pair, member: number, getter: () => Promise<Api.channels.ChannelParticipant>)
main/src/helpers/memberRoleCache.ts:10
FunctiongetFileUrl
(fid: string)
main/src/client/NapCatClient/entity.ts:97
MethodgetFileUrl
(fid: string)
main/src/client/NapCatClient/entity.ts:306
← previousnext →201–300 of 401, ranked by callers