Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Add full_name property to User and Chat objects #1194

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alissonlauffer
Copy link
Contributor

This PR adds support for the full_name property for the User and Chat objects (since both have first_name and last_name properties).

Though I'm not sure if I should fallback to self.title inside the Chat object or just return None straightforward (the property could become a shortcut to get full names for all chat types, like a name property). Suggestions are welcome.

meybj pushed a commit to meybj/pyrogram that referenced this pull request Aug 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant