def is_friend(self) -> Optional[bool]:
"""
Check if contact is friend
False for not friend of the bot, null for unknown.
"""
if not self.payload or not self.payload.friend:
return None
return self.payload.friends
Thanks for your good suggestion, there are limit contributors and energy for the opensource project. But we are trying our best to improve the quality of the project.
建议 多谢一些单元测试,