(msg: Api.Message)
| 162 | return stablePeerPart((msg as any).peerId); |
| 163 | } |
| 164 | |
| 165 | function messageText(msg: Api.Message): string { |
| 166 | if ((msg as any).sticker) return ""; |
| 167 | return String(msg.text || msg.message || "").trim(); |
| 168 | } |
| 169 | |
| 170 | function isUsefulWord(word: string): boolean { |