Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clansty/Q2TG
/ functions
Functions
401 in github.com/clansty/Q2TG
⨍
Functions
401
◇
Types & classes
112
Function
getForwardMsg
(resid: string, fileName?: string)
main/src/client/NapCatClient/entity.ts:40
Method
getFriendsWithCluster
()
main/src/client/NapCatClient/client.ts:206
Method
getGroupList
()
main/src/client/NapCatClient/client.ts:239
Method
getInputPeerUserFromMessage
(chatId: EntityLike, userId: BigInteger, msgId: number)
main/src/client/Telegram.ts:237
Method
getMessage
(params: Parameters<typeof this.client.getMessages>[1])
main/src/client/TelegramChat.ts:34
Function
getMessageDocumentId
(message: Api.Message)
main/src/helpers/forwardHelper.ts:232
Function
getStickerBrief
(sticker: Api.Document)
main/src/helpers/forwardHelper.ts:296
Function
getUserDisplayName
(user: Entity)
main/src/helpers/forwardHelper.ts:196
Function
getVideoUrl
(fid: string, md5?: string | Buffer)
main/src/client/NapCatClient/entity.ts:46
Function
hSize
(size: number)
main/src/helpers/forwardHelper.ts:72
Method
handleGroupNameChange
(event: GroupNameChangeEvent)
main/src/controllers/GroupNameRefreshController.ts:21
Function
headImageForQQ
(nameColor: string, avatarHash: string, avatarPath: () => Promise<string>, name: string, title: string, role:
main/src/helpers/forwardHelper.ts:270
Function
hex
(length: number)
main/src/utils/random.ts:9
Function
imei
()
main/src/utils/random.ts:19
Function
int
(min: number, max: number)
main/src/utils/random.ts:4
Method
isOnline
()
main/src/client/OicqClient.ts:74
Method
isOnline
()
main/src/client/NapCatClient/client.ts:201
Method
isSetup
()
main/src/models/Instance.ts:253
Method
load
()
main/src/models/TelegramSession.ts:21
Method
load
(instanceId: number, oicq: QQClient, tgBot: Telegram, tgUser: Telegram)
main/src/models/ForwardPairs.ts:41
Method
loginDeviceHandler
({ phone }: { url: string, phone: string })
main/src/client/OicqClient.ts:82
Method
loginErrorHandler
({ message }: { code: number; message: string })
main/src/client/OicqClient.ts:103
Method
loginSliderHandler
({ url }: { url: string })
main/src/client/OicqClient.ts:93
Function
md5B64
(input: crypto.BinaryLike)
main/src/utils/hashing.ts:13
Method
muteMember
(uid: number, duration = 600)
main/src/client/NapCatClient/entity.ts:255
Function
napCatReceiveToMessageElem
(data: Receive[keyof Receive])
main/src/client/NapCatClient/convert.ts:114
Method
nickname
()
main/src/client/OicqClient.ts:70
Method
owner
()
main/src/models/Instance.ts:241
Method
ownerChat
()
main/src/models/Instance.ts:269
Function
pagination
(arr: T[], pageSize: number, currentPage: number)
main/src/utils/arrays.ts:2
Function
peerToId
(peer: Api.TypePeer)
main/src/utils/peerId.ts:3
Function
peerToId
(peer: Api.TypePeer)
main/src/helpers/forwardHelper.ts:257
Function
pick
(...array: T[])
main/src/utils/random.ts:12
Method
pickMember
(uid: number, strict?: boolean)
main/src/client/NapCatClient/entity.ts:251
Function
poke
(self?: boolean)
main/src/client/NapCatClient/entity.ts:127
Method
processEntities
(tlo: any)
main/src/models/TelegramSession.ts:94
Function
processJson
(json: string)
main/src/helpers/forwardHelper.ts:88
Function
processXml
(xml: string)
main/src/helpers/forwardHelper.ts:156
Method
qq
()
main/src/models/Instance.ts:245
Method
qqBotId
(id: number)
main/src/models/Instance.ts:330
Method
qqRoomId
()
main/src/models/Pair.ts:80
Method
qqUin
()
main/src/models/Instance.ts:249
Function
recallMsg
(paramOrMessageId: number, rand?: number, timeOrPktNum?: number)
main/src/client/NapCatClient/entity.ts:50
Method
registerCallback
(cb: (event: CallbackQueryEvent) => any)
main/src/helpers/CallbackQueryHelper.ts:6
Method
removeChannelUserTypingHandler
(handler: ChannelUserTypingHandler)
main/src/client/Telegram.ts:171
Method
removeEditedMessageEventHandler
(handler: MessageHandler)
main/src/client/Telegram.ts:153
Function
removeFriendIncreaseEventHandler
(handler: (e: FriendIncreaseEvent) => Promise<void | boolean>)
main/src/client/QQClient/index.ts:122
Function
removeFriendRequestEventHandler
(handler: (e: FriendRequestEvent) => Promise<void | boolean>)
main/src/client/QQClient/index.ts:158
Function
removeGroupInviteEventHandler
(handler: (e: GroupInviteEvent) => Promise<void | boolean>)
main/src/client/QQClient/index.ts:170
Function
removeGroupMemberDecreaseEventHandler
(handler: (e: GroupMemberDecreaseEvent) => Promise<void | boolean>)
main/src/client/QQClient/index.ts:110
Function
removeGroupMemberIncreaseEventHandler
(handler: (e: GroupMemberIncreaseEvent) => Promise<void | boolean>)
main/src/client/QQClient/index.ts:98
Function
removeGroupNameChangeHandler
(handler: (e: GroupNameChangeEvent) => Promise<void | boolean>)
main/src/client/QQClient/index.ts:194
Function
removeInputStatusChangeHandler
(handler: (e: InputStatusChangeEvent) => Promise<void | boolean>)
main/src/client/QQClient/index.ts:182
Function
removeMessageRecallEventHandler
(handler: (e: MessageRecallEvent) => Promise<void | boolean>)
main/src/client/QQClient/index.ts:134
Function
removeNewMessageEventHandler
(handler: (e: MessageEvent) => Promise<void | boolean>)
main/src/client/QQClient/index.ts:86
Method
removeNewServiceMessageEventHandler
(handler: ServiceMessageHandler)
main/src/client/Telegram.ts:162
Function
removePokeEventHandler
(handler: (e: PokeEvent) => Promise<void | boolean>)
main/src/client/QQClient/index.ts:146
Function
render
()
ui/src/App.tsx:6
Function
render
()
ui/src/views/Index.tsx:4
Method
renew
()
main/src/client/NapCatClient/entity.ts:163
Method
renew
()
main/src/client/NapCatClient/entity.ts:224
Method
renew
()
main/src/client/NapCatClient/entity.ts:319
Method
sendFile
(file: string, filename: string)
main/src/client/NapCatClient/entity.ts:170
Function
sendMsg
(content: Sendable, source?: Quotable, isSpoiler?: boolean)
main/src/client/NapCatClient/entity.ts:64
Function
sendMsgImpl
(message: Send[keyof Send][], extra = {})
main/src/client/NapCatClient/entity.ts:112
Method
sessionId
()
main/src/client/Telegram.ts:36
Function
set
(pair: Pair, member: number, role: Api.channels.ChannelParticipant)
main/src/helpers/memberRoleCache.ts:18
Method
setCard
(uid: number, card?: string)
main/src/client/NapCatClient/entity.ts:263
Method
setDC
(dcId: number, serverAddress: string, port: number)
main/src/models/TelegramSession.ts:68
Method
setNotificationSettings
(params: ConstructorParameters<typeof Api.InputPeerNotifySettings>[0])
main/src/client/TelegramChat.ts:178
Function
setup
()
ui/src/views/ChatRecord/index.tsx:8
Function
setup
(props)
ui/src/views/ChatRecord/Viewer/index.tsx:11
Function
setup
(props)
ui/src/views/ChatRecord/Viewer/components/JsonElement.tsx:11
Function
setup
(props)
ui/src/views/ChatRecord/Viewer/components/DateContainer.tsx:10
Function
setup
(props)
ui/src/views/ChatRecord/Viewer/components/MessageBubble.tsx:11
Function
setup
(props)
ui/src/views/ChatRecord/Viewer/components/XmlElement.tsx:9
Function
setup
(props)
ui/src/views/ChatRecord/Viewer/components/SenderContainer.tsx:13
Function
setup
(props)
ui/src/views/ChatRecord/Viewer/components/MessageElement.tsx:14
Function
setup
(props)
ui/src/views/ChatRecord/Viewer/components/SenderNameBubble.tsx:10
Function
sha256B64
(input: crypto.BinaryLike)
main/src/utils/hashing.ts:23
Function
sha256Hex
(input: crypto.BinaryLike)
main/src/utils/hashing.ts:18
Method
startImportSession
(textFile: CustomFile, mediaCount: number)
main/src/client/TelegramChat.ts:238
Function
startListening
()
main/src/api/index.ts:26
Method
successLoginHandler
()
main/src/client/OicqClient.ts:107
Method
tg
()
main/src/models/Pair.ts:88
Function
tgColor
(index: number)
main/src/constants/emoji.ts:10
Method
tgId
()
main/src/models/Pair.ts:84
Function
throttle
(fn: (...originArgs: TArgs) => TRet, time = 500)
main/src/utils/highLevelFunces.ts:12
Method
uin
()
main/src/client/OicqClient.ts:66
Function
upload
(data: string)
main/src/utils/pastebin.ts:2
Method
upload
(file: string | Buffer | Uint8Array, pid?: string, name?: string, callback?: (percentage: string) => void)
main/src/client/NapCatClient/entity.ts:184
Method
uploadFile
(file: CustomFile)
main/src/client/TelegramImportSession.ts:32
Method
uploadMedia
(fileName: string, media: Api.TypeInputMedia)
main/src/client/TelegramImportSession.ts:12
Method
useCrhTrain
()
main/src/services/ForwardService.ts:221
Method
useForward
(resId: string, fileName?: string, messages?: ForwardMessage[])
main/src/services/ForwardService.ts:179
Method
useImage
(image: string | Buffer, asface: boolean, brief?: string)
main/src/services/ForwardService.ts:765
Method
useSticker
(file: FileLike)
main/src/services/ForwardService.ts:167
Method
useText
(text: string)
main/src/services/ForwardService.ts:773
Method
userMe
()
main/src/models/Instance.ts:265
Method
userSessionId
()
main/src/models/Instance.ts:277
← previous
next →
301–400 of 401, ranked by callers