(msg: Api.Message)
| 164 | } |
| 165 | |
| 166 | const getTopicRootId = (msg: Api.Message): number | undefined => { |
| 167 | const typedMsg = msg as Api.Message & { |
| 168 | replyTo?: { replyToTopId?: number; replyToMsgId?: number }; |
| 169 | replyToMsgId?: number; |
| 170 | }; |
| 171 | return typedMsg.replyTo?.replyToTopId ?? typedMsg.replyTo?.replyToMsgId ?? typedMsg.replyToMsgId; |
| 172 | }; |
| 173 | |
| 174 | class DeepWikiStore { |
| 175 | private dbMain: any; |
no outgoing calls
no test coverage detected