Skip to content

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
@HitaloM HitaloM deleted the feat/participants-hidden branch December 11, 2023 00:44
tangyoha pushed a commit to tangyoha/hydrogram that referenced this pull request Jul 14, 2024
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.

4 participants