return True if this chat is promoted, i.e. the member contacts are aware of their membership, have been sent messages. :returns: True if chat is promoted, False otherwise.
(self)
| 126 | return bool(lib.dc_chat_is_contact_request(self._dc_chat)) |
| 127 | |
| 128 | def is_promoted(self) -> bool: |
| 129 | """return True if this chat is promoted, i.e. |
| 130 | the member contacts are aware of their membership, |
| 131 | have been sent messages. |
| 132 | |
| 133 | :returns: True if chat is promoted, False otherwise. |
| 134 | """ |
| 135 | return not lib.dc_chat_is_unpromoted(self._dc_chat) |
| 136 | |
| 137 | def can_send(self) -> bool: |
| 138 | """Check if messages can be sent to a give chat. |
no outgoing calls