0

How are they different ChatBase.IsActive false and true ?

Vipz
  • 207
  • 1
  • 7

2 Answers2

2

if you look at the implementation:

bool IsActive => (this.flags & (Chat.Flags.left | Chat.Flags.deactivated)) == (Chat.Flags) 0;

it check if the chat is de-activated or user has left the current chat or not.

AliSalehi
  • 159
  • 1
  • 1
  • 13
2

As @AliSalehi said, it's false if the user is not currently in the chat/channel (has left) or if the basic chat has been deactivated (chat was migrated into a Channel supergroup).

It's also false if that ChatBase instance is one of the Forbidden or Empty types

For more information, see also:

Wizou
  • 1,336
  • 13
  • 24