flags property

int flags

Flags.

Implementation

int get flags {
  final v = _flag(
    b03: canViewParticipants,
    b06: canSetUsername,
    b07: canSetStickers,
    b10: hiddenPrehistory,
    b16: canSetLocation,
    b19: hasScheduled,
    b20: canViewStats,
    b22: blocked,
    b00: participantsCount != null,
    b01: adminsCount != null,
    b02: kickedCount != null || bannedCount != null,
    b13: onlineCount != null,
    b23: exportedInvite != null,
    b04: migratedFromChatId != null || migratedFromMaxId != null,
    b05: pinnedMsgId != null,
    b08: stickerset != null,
    b09: availableMinId != null,
    b11: folderId != null,
    b14: linkedChatId != null,
    b15: location != null,
    b17: slowmodeSeconds != null,
    b18: slowmodeNextSendDate != null,
    b12: statsDc != null,
    b21: call != null,
    b24: ttlPeriod != null,
    b25: pendingSuggestions != null,
    b26: groupcallDefaultJoinAs != null,
    b27: themeEmoticon != null,
    b28: requestsPending != null || recentRequesters != null,
    b29: defaultSendAs != null,
    b30: availableReactions != null,
  );

  return v;
}