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

TdApi.UpdateSupergroup #2678

Closed akulik512 closed 11 months ago

akulik512 commented 11 months ago

Hello :wave: I have a question about the TdApi.UpdateSupergroup update. I send the new TdApi.SearchPublicChat(channelName) request to get a channel and start listening the TdApi.UpdateSupergroup update to get member count. But there is an interesting thing I noticed if I send the new TdApi.SearchPublicChat(channelName) to get same channel again I didn't get any TdApi.UpdateSupergroup updates. It makes sense because channel was already found but is there a way to get such updates one more time?

levlam commented 11 months ago

There is no. Updates must be handled as described in https://core.telegram.org/tdlib/getting-started#handling-updates.