get user self Args: None Examples: >>> from wechaty import Wechaty >>> bot = Wechaty() >>> contact = bot.self() Returns: ContactSelf: user self
(self)
| 834 | return user |
| 835 | |
| 836 | def self(self) -> ContactSelf: |
| 837 | """ |
| 838 | get user self |
| 839 | Args: |
| 840 | None |
| 841 | Examples: |
| 842 | >>> from wechaty import Wechaty |
| 843 | >>> bot = Wechaty() |
| 844 | >>> contact = bot.self() |
| 845 | Returns: |
| 846 | ContactSelf: user self |
| 847 | """ |
| 848 | return self.user_self() |