mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-04 10:19:16 +02:00
parent
deefd24fc1
commit
fa150b4d6f
1 changed files with 7 additions and 0 deletions
|
@ -106,6 +106,13 @@ class Chat(object):
|
||||||
name = as_dc_charpointer(name)
|
name = as_dc_charpointer(name)
|
||||||
return lib.dc_set_chat_name(self._dc_context, self.id, name)
|
return lib.dc_set_chat_name(self._dc_context, self.id, name)
|
||||||
|
|
||||||
|
def get_type(self):
|
||||||
|
""" return type of this chat.
|
||||||
|
|
||||||
|
:returns: one of const.DC_CHAT_TYPE_*
|
||||||
|
"""
|
||||||
|
return lib.dc_chat_get_type(self._dc_chat)
|
||||||
|
|
||||||
# ------ chat messaging API ------------------------------
|
# ------ chat messaging API ------------------------------
|
||||||
|
|
||||||
def send_text(self, text):
|
def send_text(self, text):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue