get the topic of the intivation Args: self: RoomInvitation object Examples: >>> topic = await invitation.topic() Returns: str: topic of the invitation
(self)
| 138 | return contact |
| 139 | |
| 140 | async def topic(self) -> str: |
| 141 | """ |
| 142 | get the topic of the intivation |
| 143 | Args: |
| 144 | self: RoomInvitation object |
| 145 | Examples: |
| 146 | >>> topic = await invitation.topic() |
| 147 | Returns: |
| 148 | str: topic of the invitation |
| 149 | """ |
| 150 | log.info('topic() <%s>', self) |
| 151 | payload = await self.puppet.room_invitation_payload( |
| 152 | room_invitation_id=self.invitation_id) |
| 153 | return payload.topic |
| 154 | |
| 155 | async def member_count(self) -> int: |
| 156 | """ |
no test coverage detected