tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

How to edit tdlib source to exclude group and channels? #2498

Closed lyna-kim closed 1 year ago

levlam commented 1 year ago

I don't think that this is possible. Groups and channels are everywhere.

lyna-kim commented 1 year ago

Ok @levlam, How to exclude group/channels load when we call loadChats/getChats ?

lyna-kim commented 1 year ago

I would like to load private chat only.

levlam commented 1 year ago

There is no way to do this. You need to skip them manually.

lyna-kim commented 1 year ago

Ok thank you @levlam