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 do I understand by calling serachPublicChat that I can join this group or apply to join #2787

Closed fat-complex closed 8 months ago

fat-complex commented 8 months ago

I have a public link to the group. I processed it using getInternalLink Type and it returned me the type internalLinkTypePublicChat which contains the name of the chat. I called searchPublicChat and it returned the chat to me. How do I understand that I can log in to it or apply to join the chat?

levlam commented 8 months ago

You can always try to join a public chat with joinChat.