load friendship payload
(self, force_sync: bool = False)
| 143 | .format(self.type().name, self._payload.contact_id, self.hello()) |
| 144 | |
| 145 | async def ready(self, force_sync: bool = False) -> None: |
| 146 | """ |
| 147 | load friendship payload |
| 148 | """ |
| 149 | log.info('ready() sync the friendship payload') |
| 150 | if not self.is_ready() or force_sync: |
| 151 | self._payload = await self.puppet.friendship_payload( |
| 152 | friendship_id=self.friendship_id) |
| 153 | |
| 154 | def contact(self) -> Contact: |
| 155 | """ |
no test coverage detected