Search Telegram chat history even if you’re using CJK

A telegram Bot that can search for CJK and other languages.

Telegram has bad search experience for CJK languages because those languages are not separated by spacing.

Bug issues were submitted years ago but never fixed.

I’m not planning to be sitting ducks, so I create a bot that can search for CJK languages.

  • support text message
  • support caption inside photo and document
  • support chat username
  1. Telegram allows multiple sessions, maximum is 10 clients.
  2. We create a hidden session
  3. We use this session to store all your incoming and outgoing text messages to ElasticSearch
  4. We create another bot to use the fulltext search of ElasticSearch
  5. We return the whole sentense, so you could use Telegram’s built-in buggy search feature.

 

To finish reading, please visit source site