get the default nav metadata Returns: NavMetadata: the instance of metadata
(self)
| 416 | self._setting_wechaty_setting: WechatySetting = WechatySetting(self.setting_file) |
| 417 | |
| 418 | def metadata(self) -> NavMetadata: |
| 419 | """get the default nav metadata |
| 420 | |
| 421 | Returns: |
| 422 | NavMetadata: the instance of metadata |
| 423 | """ |
| 424 | return NavMetadata( |
| 425 | author=self.AUTHOR, |
| 426 | author_link=self.AUTHOR_LINK, |
| 427 | icon=self.ICON, |
| 428 | avatar=self.AVATAR, |
| 429 | view_url=self.VIEW_URL |
| 430 | ) |
| 431 | |
| 432 | @property |
| 433 | def setting(self) -> WechatySetting: |
no test coverage detected