After joining a channel that has a linked group (like comments) I'm getting the following:
- In Telegram Desktop client I see only the channel that I've joined to.
- Via Telegram API, using WTelegram Client client.Messages_GetAllChats(), I'm getting both, the channel and the linked group.
Question: how do I tell that the group was not joined to explicitly, so I don't show it to my user, just like Telegram Desktop does?
The group is a Channel with IsGroup = true, access hash and such. By looking at it I cannot differentiate it from other groups that I've explicitly joined. However, if I try client.Channels_GetFullChannel or client.LeaveChat on it, I'm getting TL.RpcException: 'CHANNEL_INVALID'.