File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
deltachat-rpc-client/src/deltachat_rpc_client Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -91,19 +91,17 @@ class ChatId(IntEnum):
9191 LAST_SPECIAL = 9
9292
9393
94- class ChatType (IntEnum ):
94+ class ChatType (str , Enum ):
9595 """Chat type."""
9696
97- UNDEFINED = 0
98-
99- SINGLE = 100
97+ SINGLE = "Single"
10098 """1:1 chat, i.e. a direct chat with a single contact"""
10199
102- GROUP = 120
100+ GROUP = "Group"
103101
104- MAILINGLIST = 140
102+ MAILINGLIST = "Mailinglist"
105103
106- OUT_BROADCAST = 160
104+ OUT_BROADCAST = "OutBroadcast"
107105 """Outgoing broadcast channel, called "Channel" in the UI.
108106
109107 The user can send into this channel,
@@ -115,7 +113,7 @@ class ChatType(IntEnum):
115113 which would make it hard to grep for it.
116114 """
117115
118- IN_BROADCAST = 165
116+ IN_BROADCAST = "InBroadcast"
119117 """Incoming broadcast channel, called "Channel" in the UI.
120118
121119 This channel is read-only,
You can’t perform that action at this time.
0 commit comments