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

feat(chat): add is_participants_hidden #11

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Conversation

HitaloM
Copy link
Member

@HitaloM HitaloM commented Dec 11, 2023

Description

Adds the attribute is_participants_hidden to the Chat type. If the list of members is hidden, True will be returned; otherwise, False will be returned.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

I have tested in a private bot, using client.get_chat() method, it's seems to be working correctly.

Test Configuration

  • Operating System: Arch Linux 5.15.133.1-microsoft-standard-WSL2
  • Python Version: 3.12.0

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes

@HitaloM HitaloM added the enhancement New feature, request or code enhancement. label Dec 11, 2023
Copy link
Member

@usernein usernein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job, thank you!

@HitaloM HitaloM merged commit 656528c into dev Dec 11, 2023
18 checks passed
@HitaloM HitaloM deleted the feat/participants-hidden branch December 11, 2023 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, request or code enhancement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants