Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty properties in event user #692

Open
timursevimli opened this issue Jun 29, 2024 · 0 comments
Open

Empty properties in event user #692

timursevimli opened this issue Jun 29, 2024 · 0 comments

Comments

@timursevimli
Copy link

const user = {
  ....,
  premium: false,
  attachMenuEnabled: false,
  flags2: 16,
  botCanEdit: false,
  closeFriend: false,
  storiesHidden: false,
  storiesUnavailable: true,
  contactRequirePremium: false,
  botBusiness: false,
  id: Integer { value: 356024551n },
  accessHash: Integer { value: -54182806721850885n },
  firstName: 'Mustafa',
  lastName: null,
  username: null,
  phone: null,
  ......,
  };

Some properties in user object is empty. How can I identify empty properties, such as 'username', in the user (message._sender) object?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant