fbchat-dev / fbchat-dev/fbchat
Would not be it better if message object returned the name of the author also?
Open
enhancement
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 403
- PR merge metrics
- No merged PRs in 30d
Description
The message object currently returns uid, text and other data. I guess it would be great if it also returned the name of the sender.
''.format(self.uid, repr(self.text), self.mentions, self.emoji_size, self.attachments)
**Problem I faced :**
When using Client Class's onMessage() function, it is hard to retrieve the name of the sender of the message, hence new message received displays by uid. Is there any alternate solution to find the name of the sender when receiving a message?
Contributor guide
Assessment
This issue has not been assessed yet.