Replies: 2 comments 3 replies
-
Hi @i32333 - I could be wrong, but I don't think the local tdlib database has a list of all public chat groups, as the number is more than 1.6 million according to https://tgstat.com/alerts (and the number is probably growing, so it would use a lot of bandwidth to keep all clients up-to-date with public groups, their descriptions, etc, if that was the case). I would suggest to use some tdlib API to search for public chats instead. |
Beta Was this translation helpful? Give feedback.
-
Thank your for replying. Yes I actually wrote my program because nchat lacks built-in public chat searching. Though I'm using my program to start a new session for searching, and it's working fine for now, I hope nchat would have the public chat searching soon. |
Beta Was this translation helpful? Give feedback.
-
Hello folks, I am trying to write a program to search for public chats on Telegram. I want to use the TDLib encrypted database that nchat is currently using, so I need the DatabaseEncryptionKey. However, I have no experience in C++ development and couldn't find the DatabaseEncryptionKey in the nchat code. I would be grateful if someone could help me locate the DatabaseEncryptionKey in nchat's code.
Beta Was this translation helpful? Give feedback.
All reactions