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

Method type

src/wechaty/user/message.py:404–415  ·  view source on GitHub ↗

Get the type from the message. Args: None Examples: >>> msg.type() Returns: MessageType: the message type

(self)

Source from the content-addressed store, hash-verified

402 return cls(message_id)
403
404 def type(self) -> MessageType:
405 """
406 Get the type from the message.
407
408 Args:
409 None
410 Examples:
411 >>> msg.type()
412 Returns:
413 MessageType: the message type
414 """
415 return self.payload.type
416
417 def is_self(self) -> bool:
418 """

Callers 6

mention_listMethod · 0.95
to_file_boxMethod · 0.95
to_imageMethod · 0.95
to_contactMethod · 0.95
to_url_linkMethod · 0.95
to_mini_programMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected