MCPcopy Index your code
hub / github.com/wechaty/python-wechaty / topic

Method topic

src/wechaty/user/room_invitation.py:140–153  ·  view source on GitHub ↗

get the topic of the intivation Args: self: RoomInvitation object Examples: >>> topic = await invitation.topic() Returns: str: topic of the invitation

(self)

Source from the content-addressed store, hash-verified

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 """

Callers 1

acceptMethod · 0.95

Calls 1

Tested by

no test coverage detected