(msg: Api.Message)
| 687 | } |
| 688 | |
| 689 | private getChatKey(msg: Api.Message): string { |
| 690 | const chatId = (msg as any).chatId; |
| 691 | const peerId = (msg as any).peerId; |
| 692 | const baseKey = toIdString(chatId) || toIdString(peerId) || "unknown"; |
| 693 | const topicRootId = getTopicRootId(msg); |
| 694 | return topicRootId ? `${baseKey}:topic:${topicRootId}` : baseKey; |
| 695 | } |
| 696 | |
| 697 | private helpText(): string { |
| 698 | const p = this.getMainPrefix(); |
no test coverage detected